id
stringlengths
4
63
text
stringlengths
153
8.81M
root_device_unregister(9)
NAME root_device_unregister - unregister and free a root device SYNOPSIS void root_device_unregister (struct device *dev ); ARGUMENTS dev device going away DESCRIPTION This function unregisters and cleans up a device that was created by root_device_register. SEE ALSO Kernel file ./drivers/base/core.c __f...
rootid_from_xattr(9)
NAME rootid_from_xattr - translate root uid of vfs caps SYNOPSIS vfsuid_t rootid_from_xattr (const void *value , size_t size , struct user_namespace *task_ns ); ARGUMENTS value vfs caps value which may be modified by this function size size of ivalue task_ns user namespace of the call...
ror16(9)
NAME ror16 - rotate a 16-bit value right SYNOPSIS __u16 ror16 (__u16 word , unsigned int shift ); ARGUMENTS word value to rotate shift bits to roll SEE ALSO Kernel file ./include/linux/bitops.h rol64(9), ror64(9), rol32(9), ror32(9), rol16(9), rol8(9), ror8(9), sign_extend32(9), sign_ex...
ror32(9)
NAME ror32 - rotate a 32-bit value right SYNOPSIS __u32 ror32 (__u32 word , unsigned int shift ); ARGUMENTS word value to rotate shift bits to roll SEE ALSO Kernel file ./include/linux/bitops.h rol64(9), ror64(9), rol32(9), rol16(9), ror16(9), rol8(9), ror8(9), sign_extend32(9), sign_ex...
ror64(9)
NAME ror64 - rotate a 64-bit value right SYNOPSIS __u64 ror64 (__u64 word , unsigned int shift ); ARGUMENTS word value to rotate shift bits to roll SEE ALSO Kernel file ./include/linux/bitops.h rol64(9), rol32(9), ror32(9), rol16(9), ror16(9), rol8(9), ror8(9), sign_extend32(9), sign_ex...
ror8(9)
NAME ror8 - rotate an 8-bit value right SYNOPSIS __u8 ror8 (__u8 word , unsigned int shift ); ARGUMENTS word value to rotate shift bits to roll SEE ALSO Kernel file ./include/linux/bitops.h rol64(9), ror64(9), rol32(9), ror32(9), rol16(9), ror16(9), rol8(9), sign_extend32(9), sign_extend...
rotatelogs(8)
NAME rotatelogs - Piped logging program to rotate Apache logs SYNOPSIS rotatelogs [ -l ] [ -L linkname ] [ -p program ] [ -f ] [ -D ] [ -t ] [ -v ] [ -e ] [ -c ] [ -n number-of-files ] logfile rotationtime|filesize(B|K|M|G) [ offset ] SUMMARY rotatelogs is a simple program for use in conjunction with Apache's piped l...
round(3)
NAME round, roundf, roundl - round to nearest integer, away from zero LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double round(double x); float roundf(float x); long double roundl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): ...
round(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME round, roundf, roundl — round to the nearest integer value in a...
round_down(9)
NAME round_down - round down to next specified power of 2 SYNOPSIS round_down (x , y ); ARGUMENTS x the value to round y multiple to round down to (must be a power of 2) DESCRIPTION Rounds x down to next multiple of y (which must be a power of 2). To perform arbitrary rounding down, use ...
round_jiffies(9)
NAME round_jiffies - function to round jiffies to a full second SYNOPSIS unsigned long round_jiffies (unsigned long j ); ARGUMENTS j the time in (absolute) jiffies that should be rounded DESCRIPTION round_jiffies rounds an absolute time in the future (in jiffies) up or down to (approximately) full seconds...
round_jiffies_relative(9)
NAME round_jiffies_relative - function to round jiffies to a full second SYNOPSIS unsigned long round_jiffies_relative (unsigned long j ); ARGUMENTS j the time in (relative) jiffies that should be rounded DESCRIPTION round_jiffies_relative rounds a time delta in the future (in jiffies) up or down to (...
round_jiffies_up(9)
NAME round_jiffies_up - function to round jiffies up to a full second SYNOPSIS unsigned long round_jiffies_up (unsigned long j ); ARGUMENTS j the time in (absolute) jiffies that should be rounded DESCRIPTION This is the same as round_jiffies except that it will never round down. This is useful for timeout...
round_jiffies_up_relative(9)
NAME round_jiffies_up_relative - function to round jiffies up to a full second SYNOPSIS unsigned long round_jiffies_up_relative (unsigned long j ); ARGUMENTS j the time in (relative) jiffies that should be rounded DESCRIPTION This is the same as round_jiffies_relative except that it will never round down. ...
round_up(9)
NAME round_up - round up to next specified power of 2 SYNOPSIS round_up (x , y ); ARGUMENTS x the value to round y multiple to round up to (must be a power of 2) DESCRIPTION Rounds x up to next multiple of y (which must be a power of 2). To perform arbitrary rounding up, use roundup belo...
rounddown(9)
NAME rounddown - round down to next specified multiple SYNOPSIS rounddown (x , y ); ARGUMENTS x the value to round y multiple to round down to DESCRIPTION Rounds x down to next multiple of y. If y will always be a power of 2, consider using the faster round_down. SEE ALSO Kernel file ./i...
rounddown_pow_of_two(9)
NAME rounddown_pow_of_two - round the given value down to nearest power of two @n - parameter SYNOPSIS rounddown_pow_of_two (n ); ARGUMENTS n -- undescribed -- DESCRIPTION round the given value down to the nearest power of two - the result is undefined when n == 0 - this can be used to initialise global va...
roundf(3)
NAME round, roundf, roundl - round to nearest integer, away from zero LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double round(double x); float roundf(float x); long double roundl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): ...
roundl(3)
NAME round, roundf, roundl - round to nearest integer, away from zero LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double round(double x); float roundf(float x); long double roundl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): ...
roundup(3)
NAME roundup - round up in steps LIBRARY Standard C library (libc) SYNOPSIS #include <sys/param.h> roundup(x, step); DESCRIPTION This macro rounds x to the nearest multiple of step that is not less than x. It is typically used for rounding up a pointer to align it or increasing a buffer to be allocat...
roundup(9)
NAME roundup - round up to the next specified multiple SYNOPSIS roundup (x , y ); ARGUMENTS x the value to up y multiple to round up to DESCRIPTION Rounds x up to next multiple of y. If y will always be a power of 2, consider using the faster round_up. SEE ALSO Kernel file ./include/linu...
roundup_pow_of_two(9)
NAME roundup_pow_of_two - round the given value up to nearest power of two @n - parameter SYNOPSIS roundup_pow_of_two (n ); ARGUMENTS n -- undescribed -- DESCRIPTION round the given value up to the nearest power of two - the result is undefined when n == 0 - this can be used to initialise global variables ...
roundup_u64(9)
NAME roundup_u64 - Round up a 64bit value to the next specified 32bit multiple SYNOPSIS u64 roundup_u64 (u64 x , u32 y ); ARGUMENTS x the value to up y 32bit multiple to round up to DESCRIPTION Rounds x to the next multiple of y. For 32bit x values, see roundup and the faster round_up for...
route_is_valid(9)
NAME route_is_valid - Determines whether the specified signal route (src-->dest) is valid for the given NI comedi_device. SYNOPSIS bool route_is_valid (const int src , const int dest , const struct ni_route_tables *tables ); ARGUMENTS src global-identifier for route source dest global-identifie...
route_register_is_valid(9)
NAME route_register_is_valid - Determines whether the register value for the specified route destination on the specified device is valid. SYNOPSIS bool route_register_is_valid (const u8 src_sel_reg_value , const int dest , const struct ni_route_tables *tables ); ARGUMENTS src_sel_reg_value -- undescribed -- ...
routel(8)
NAME routel - list routes with pretty output format SYNOPSIS routel [ OPTIONS ] [ tablenr [ ip route options... ] ] OPTIONS := { -h | --help | [{-f | --family } {inet | inet6 } | -4 | -6 } DESCRIPTION The routel script will list routes in a format that some might consider easier to interpret then the ip rout...
rpaphp_add_slot(9)
NAME rpaphp_add_slot - - declare a hotplug slot to the hotplug subsystem. SYNOPSIS int rpaphp_add_slot (struct device_node *dn ); ARGUMENTS dn device node of slot DESCRIPTION This subroutine will register a hotpluggable slot with the PCI hotplug infrastructure. This routine is typically called during boot t...
rpaphp_enable_slot(9)
NAME rpaphp_enable_slot - record slot state, config pci device SYNOPSIS int rpaphp_enable_slot (struct slot *slot ); ARGUMENTS slot target slot DESCRIPTION Initialize values in the slot structure to indicate if there is a pci card plugged into the slot. If the slot is not empty, run the pcibios routine to get...
rpc(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
rpc(5)
NAME rpc - RPC program number data base SYNOPSIS /etc/rpc DESCRIPTION The rpc file contains user readable names that can be used in place of RPC program numbers. Each line has the following information: • name of server for the RPC program • RPC program number • aliases Items are sep...
rpc_add_pipe_dir_object(9)
NAME rpc_add_pipe_dir_object - associate a rpc_pipe_dir_object to a directory SYNOPSIS int rpc_add_pipe_dir_object (struct net *net , struct rpc_pipe_dir_head *pdh , struct rpc_pipe_dir_object *pdo ); ARGUMENTS net pointer to struct net pdh pointer to struct rpc_pipe_dir_head pdo ...
rpc_alloc_iostats(9)
NAME rpc_alloc_iostats - allocate an rpc_iostats structure SYNOPSIS struct rpc_iostats * rpc_alloc_iostats (struct rpc_clnt *clnt ); ARGUMENTS clnt RPC program, version, and xprt SEE ALSO Kernel file ./net/sunrpc/stats.c rpc_free_iostats(9), rpc_count_iostats_metrics(9), rpc_count_iostats(9) April 2026 ...
rpc_bind_new_program(9)
NAME rpc_bind_new_program - bind a new RPC program to an existing client SYNOPSIS struct rpc_clnt * rpc_bind_new_program (struct rpc_clnt *old , const struct rpc_program *program , u32 vers ); ARGUMENTS old old rpc_client program rpc program to set vers rpc program version DESCRIPT...
rpc_calc_rto(9)
NAME rpc_calc_rto - Provide an estimated timeout value SYNOPSIS unsigned long rpc_calc_rto (struct rpc_rtt *rt , unsigned int timer ); ARGUMENTS rt context to use for calculation timer timer array index (request type) DESCRIPTION Estimate RTO for an NFS RPC sent via an unreliable datagram. ...
rpc_call_async(9)
NAME rpc_call_async - Perform an asynchronous RPC call SYNOPSIS int rpc_call_async (struct rpc_clnt *clnt , const struct rpc_message *msg , int flags , const struct rpc_call_ops *tk_ops , void *data ); ARGUMENTS clnt pointer to RPC client msg RPC call parameters flags RPC call fla...
rpc_call_sync(9)
NAME rpc_call_sync - Perform a synchronous RPC call SYNOPSIS int rpc_call_sync (struct rpc_clnt *clnt , const struct rpc_message *msg , int flags ); ARGUMENTS clnt pointer to RPC client msg RPC call parameters flags RPC call flags SEE ALSO Kernel file ./net/sunrpc/clnt.c rpc...
rpc_cancel_tasks(9)
NAME rpc_cancel_tasks - try to cancel a set of RPC tasks SYNOPSIS unsigned long rpc_cancel_tasks (struct rpc_clnt *clnt , int error , bool (*fnmatch)(const struct rpc_task *, const void *) , const void *data ); ARGUMENTS clnt Pointer to RPC client error RPC task error value to set fnmatch...
rpc_clnt_add_xprt(9)
NAME rpc_clnt_add_xprt - Add a new transport to a rpc_clnt SYNOPSIS int rpc_clnt_add_xprt (struct rpc_clnt *clnt , struct xprt_create *xprtargs , int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *) , void *data ); ARGUMENTS clnt pointer to struct rpc_clnt xprtargs po...
rpc_clnt_iterate_for_each_xprt(9)
NAME rpc_clnt_iterate_for_each_xprt - Apply a function to all transports SYNOPSIS int rpc_clnt_iterate_for_each_xprt (struct rpc_clnt *clnt , int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *) , void *data ); ARGUMENTS clnt pointer to client fn function to apply data void p...
rpc_clnt_setup_test_and_add_xprt(9)
NAME rpc_clnt_setup_test_and_add_xprt - SYNOPSIS int rpc_clnt_setup_test_and_add_xprt (struct rpc_clnt *clnt , struct rpc_xprt_switch *xps , struct rpc_xprt *xprt , void *data ); ARGUMENTS clnt struct rpc_clnt to get the new transport xps the rpc_xprt_switch to hold the new transport xp...
rpc_clnt_test_and_add_xprt(9)
NAME rpc_clnt_test_and_add_xprt - Test and add a new transport to a rpc_clnt SYNOPSIS int rpc_clnt_test_and_add_xprt (struct rpc_clnt *clnt , struct rpc_xprt_switch *xps , struct rpc_xprt *xprt , void *in_max_connect ); ARGUMENTS clnt pointer to struct rpc_clnt xps pointer to struct rpc_xprt_sw...
rpc_clone_client(9)
NAME rpc_clone_client - Clone an RPC client structure SYNOPSIS struct rpc_clnt * rpc_clone_client (struct rpc_clnt *clnt ); ARGUMENTS clnt RPC client whose parameters are copied DESCRIPTION Returns a fresh RPC client or an ERR_PTR. SEE ALSO Kernel file ./net/sunrpc/clnt.c rpc_create(9), rpc_clone_cli...
rpc_clone_client_set_auth(9)
NAME rpc_clone_client_set_auth - Clone an RPC client structure and set its auth SYNOPSIS struct rpc_clnt * rpc_clone_client_set_auth (struct rpc_clnt *clnt , rpc_authflavor_t flavor ); ARGUMENTS clnt RPC client whose parameters are copied flavor security flavor for new client DESCRIPTION Returns ...
rpc_cmp_addr(9)
NAME rpc_cmp_addr - compare the address portion of two sockaddrs. SYNOPSIS bool rpc_cmp_addr (const struct sockaddr *sap1 , const struct sockaddr *sap2 ); ARGUMENTS sap1 first sockaddr sap2 second sockaddr DESCRIPTION Just compares the family and address portion. Ignores port, but compares the ...
rpc_cmp_addr_port(9)
NAME rpc_cmp_addr_port - compare the address and port number of two sockaddrs. SYNOPSIS bool rpc_cmp_addr_port (const struct sockaddr *sap1 , const struct sockaddr *sap2 ); ARGUMENTS sap1 first sockaddr sap2 second sockaddr SEE ALSO Kernel file ./include/linux/sunrpc/addr.h rpc_cmp_addr(9), rpc...
rpc_copy_addr(9)
NAME rpc_copy_addr - copy the address portion of one sockaddr to another SYNOPSIS bool rpc_copy_addr (struct sockaddr *dst , const struct sockaddr *src ); ARGUMENTS dst destination sockaddr src source sockaddr DESCRIPTION Just copies the address portion and family. Ignores port, scope, et...
rpc_count_iostats(9)
NAME rpc_count_iostats - tally up per-task stats SYNOPSIS void rpc_count_iostats (const struct rpc_task *task , struct rpc_iostats *stats ); ARGUMENTS task completed rpc_task stats array of stat structures DESCRIPTION Uses the statidx from task SEE ALSO Kernel file ./net/sunrpc/stats.c rpc_allo...
rpc_count_iostats_metrics(9)
NAME rpc_count_iostats_metrics - tally up per-task stats SYNOPSIS void rpc_count_iostats_metrics (const struct rpc_task *task , struct rpc_iostats *op_metrics ); ARGUMENTS task completed rpc_task op_metrics stat structure for OP that will accumulate stats from task SEE ALSO Kernel file ./net/sunrpc/s...
rpc_create(9)
NAME rpc_create - create an RPC client and transport with one call SYNOPSIS struct rpc_clnt * rpc_create (struct rpc_create_args *args ); ARGUMENTS args rpc_clnt create argument structure DESCRIPTION Creates and initializes an RPC transport and an RPC client. It can ping the server in order to determine if ...
rpc_create_client_dir(9)
NAME rpc_create_client_dir - Create a new rpc_client directory in rpc_pipefs SYNOPSIS int rpc_create_client_dir (struct dentry *dentry , const char *name , struct rpc_clnt *rpc_client ); ARGUMENTS dentry the parent of new directory name the name of new directory rpc_client rpc client to a...
rpc_find_or_alloc_pipe_dir_object(9)
NAME rpc_find_or_alloc_pipe_dir_object - SYNOPSIS struct rpc_pipe_dir_object * rpc_find_or_alloc_pipe_dir_object (struct net *net , struct rpc_pipe_dir_head *pdh , int (*match)(struct rpc_pipe_dir_object *, void *) , struct rpc_pipe_dir_object *(*alloc)(void *) , void *data ); ARGUMENTS net pointer to stru...
rpc_force_rebind(9)
NAME rpc_force_rebind - force transport to check that remote port is unchanged SYNOPSIS void rpc_force_rebind (struct rpc_clnt *clnt ); ARGUMENTS clnt client to rebind SEE ALSO Kernel file ./net/sunrpc/clnt.c rpc_create(9), rpc_clone_client(9), rpc_clone_client_set_auth(9), rpc_switch_client_transport...
rpc_free(9)
NAME rpc_free - free RPC buffer resources allocated via rpc_malloc SYNOPSIS void rpc_free (struct rpc_task *task ); ARGUMENTS task RPC task SEE ALSO Kernel file ./net/sunrpc/sched.c __rpc_do_wake_up_task_on_wq(9), rpc_wake_up_queued_task_set_status(9), rpc_wake_up_locked(9), rpc_wake_up(9), rpc_wake_up_status...
rpc_free_iostats(9)
NAME rpc_free_iostats - release an rpc_iostats structure SYNOPSIS void rpc_free_iostats (struct rpc_iostats *stats ); ARGUMENTS stats doomed rpc_iostats structure SEE ALSO Kernel file ./net/sunrpc/stats.c rpc_alloc_iostats(9), rpc_count_iostats_metrics(9), rpc_count_iostats(9) April 2026 ...
rpc_get_scope_id(9)
NAME rpc_get_scope_id - return scopeid for a given sockaddr SYNOPSIS u32 rpc_get_scope_id (const struct sockaddr *sa ); ARGUMENTS sa sockaddr to get scopeid from DESCRIPTION Returns the value of the sin6_scope_id for AF_INET6 addrs, or 0 if not an AF_INET6 address. SEE ALSO Kernel file ./include/linux/sunr...
rpc_gssd_dummy_populate(9)
NAME rpc_gssd_dummy_populate - create a dummy gssd pipe SYNOPSIS int rpc_gssd_dummy_populate (struct dentry *root , struct rpc_pipe *pipe_data ); ARGUMENTS root root of the rpc_pipefs filesystem pipe_data pipe data created when netns is initialized DESCRIPTION Create a dummy set of directories and a...
rpc_init_pipe_dir_head(9)
NAME rpc_init_pipe_dir_head - initialise a struct rpc_pipe_dir_head SYNOPSIS void rpc_init_pipe_dir_head (struct rpc_pipe_dir_head *pdh ); ARGUMENTS pdh pointer to struct rpc_pipe_dir_head SEE ALSO Kernel file ./net/sunrpc/rpc_pipe.c rpc_queue_upcall(9), rpc_mkpipe_dentry(9), rpc_unlink(9), rpc_init_pipe_d...
rpc_init_pipe_dir_object(9)
NAME rpc_init_pipe_dir_object - initialise a struct rpc_pipe_dir_object SYNOPSIS void rpc_init_pipe_dir_object (struct rpc_pipe_dir_object *pdo , const struct rpc_pipe_dir_object_ops *pdo_ops , void *pdo_data ); ARGUMENTS pdo pointer to struct rpc_pipe_dir_object pdo_ops pointer to const struct rp...
rpc_init_rtt(9)
NAME rpc_init_rtt - Initialize an RPC RTT estimator context SYNOPSIS void rpc_init_rtt (struct rpc_rtt *rt , unsigned long timeo ); ARGUMENTS rt context to initialize timeo initial timeout value, in jiffies SEE ALSO Kernel file ./net/sunrpc/timer.c rpc_update_rtt(9), rpc_calc_rto(9) April 202...
rpc_localaddr(9)
NAME rpc_localaddr - discover local endpoint address for an RPC client SYNOPSIS int rpc_localaddr (struct rpc_clnt *clnt , struct sockaddr *buf , size_t buflen ); ARGUMENTS clnt RPC client structure buf target buffer buflen size of target buffer, in bytes DESCRIPTION Returns zero ...
rpc_malloc(9)
NAME rpc_malloc - allocate RPC buffer resources SYNOPSIS int rpc_malloc (struct rpc_task *task ); ARGUMENTS task RPC task DESCRIPTION A single memory region is allocated, which is split between the RPC call and RPC reply that this task is being used for. When this RPC is retired, the memory is released by ca...
rpc_max_bc_payload(9)
NAME rpc_max_bc_payload - Get maximum backchannel payload size, in bytes SYNOPSIS size_t rpc_max_bc_payload (struct rpc_clnt *clnt ); ARGUMENTS clnt RPC client to query SEE ALSO Kernel file ./net/sunrpc/clnt.c rpc_create(9), rpc_clone_client(9), rpc_clone_client_set_auth(9), rpc_switch_client_transpor...
rpc_max_payload(9)
NAME rpc_max_payload - Get maximum payload size for a transport, in bytes SYNOPSIS size_t rpc_max_payload (struct rpc_clnt *clnt ); ARGUMENTS clnt RPC client to query DESCRIPTION For stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram...
rpc_mkpipe_dentry(9)
NAME rpc_mkpipe_dentry - make an rpc_pipefs file for kernel<->userspace communication SYNOPSIS int rpc_mkpipe_dentry (struct dentry *parent , const char *name , void *private , struct rpc_pipe *pipe ); ARGUMENTS parent dentry of directory to create new "pipe" in name name of pipe private ...
rpc_net_ns(9)
NAME rpc_net_ns - Get the network namespace for this RPC client SYNOPSIS struct net * rpc_net_ns (struct rpc_clnt *clnt ); ARGUMENTS clnt RPC client to query SEE ALSO Kernel file ./net/sunrpc/clnt.c rpc_create(9), rpc_clone_client(9), rpc_clone_client_set_auth(9), rpc_switch_client_transport(9), rpc_...
rpc_ntop(9)
NAME rpc_ntop - construct a presentation address in @buf SYNOPSIS size_t rpc_ntop (const struct sockaddr *sap , char *buf , const size_t buflen ); ARGUMENTS sap socket address buf construction area buflen size of buf, in bytes DESCRIPTION Plants a NUL-terminated string in buf and...
rpc_peeraddr(9)
NAME rpc_peeraddr - extract remote peer address from clnt's xprt SYNOPSIS size_t rpc_peeraddr (struct rpc_clnt *clnt , struct sockaddr *buf , size_t bufsize ); ARGUMENTS clnt RPC client structure buf target buffer bufsize length of target buffer DESCRIPTION Returns the number of by...
rpc_peeraddr2str(9)
NAME rpc_peeraddr2str - return remote peer address in printable format SYNOPSIS const char * rpc_peeraddr2str (struct rpc_clnt *clnt , enum rpc_display_format_t format ); ARGUMENTS clnt RPC client structure format address format DESCRIPTION NB: the lifetime of the memory referenced by the returne...
rpc_prepare_reply_pages(9)
NAME rpc_prepare_reply_pages - Prepare to receive a reply data payload into pages SYNOPSIS void rpc_prepare_reply_pages (struct rpc_rqst *req , struct page **pages , unsigned int base , unsigned int len , unsigned int hdrsize ); ARGUMENTS req RPC request to prepare pages vector of struct page po...
rpc_pton(9)
NAME rpc_pton - Construct a sockaddr in @sap SYNOPSIS size_t rpc_pton (struct net *net , const char *buf , const size_t buflen , struct sockaddr *sap , const size_t salen ); ARGUMENTS net applicable network namespace buf C string containing presentation format IP address buflen le...
rpc_queue_upcall(9)
NAME rpc_queue_upcall - queue an upcall message to userspace SYNOPSIS int rpc_queue_upcall (struct rpc_pipe *pipe , struct rpc_pipe_msg *msg ); ARGUMENTS pipe upcall pipe on which to queue given message msg message to queue DESCRIPTION Call with an inode created by rpc_mkpipe to queue an upcal...
rpc_remove_client_dir(9)
NAME rpc_remove_client_dir - Remove a directory created with rpc_create_client_dir() SYNOPSIS int rpc_remove_client_dir (struct rpc_clnt *rpc_client ); ARGUMENTS rpc_client rpc_client for the pipe SEE ALSO Kernel file ./net/sunrpc/rpc_pipe.c rpc_queue_upcall(9), rpc_mkpipe_dentry(9), rpc_unlink(9), rpc_init...
rpc_remove_pipe_dir_object(9)
NAME rpc_remove_pipe_dir_object - remove a rpc_pipe_dir_object from a directory SYNOPSIS void rpc_remove_pipe_dir_object (struct net *net , struct rpc_pipe_dir_head *pdh , struct rpc_pipe_dir_object *pdo ); ARGUMENTS net pointer to struct net pdh pointer to struct rpc_pipe_dir_head pdo...
rpc_run_bc_task(9)
NAME rpc_run_bc_task - Allocate a new RPC task for backchannel use, then run rpc_execute against it SYNOPSIS struct rpc_task * rpc_run_bc_task (struct rpc_rqst *req , struct rpc_timeout *timeout ); ARGUMENTS req RPC request timeout timeout values to use for this task SEE ALSO Kernel file ./ne...
rpc_run_task(9)
NAME rpc_run_task - Allocate a new RPC task, then run rpc_execute against it SYNOPSIS struct rpc_task * rpc_run_task (const struct rpc_task_setup *task_setup_data ); ARGUMENTS task_setup_data pointer to task initialisation data SEE ALSO Kernel file ./net/sunrpc/clnt.c rpc_create(9), rpc_clone_client(9), rpc_c...
rpc_sockaddr2uaddr(9)
NAME rpc_sockaddr2uaddr - Construct a universal address string from @sap. SYNOPSIS char * rpc_sockaddr2uaddr (const struct sockaddr *sap , gfp_t gfp_flags ); ARGUMENTS sap socket address gfp_flags allocation mode DESCRIPTION Returns a NUL-terminated string in dynamically allocated memory; otherwise...
rpc_switch_client_transport(9)
NAME rpc_switch_client_transport - switch the RPC transport on the fly SYNOPSIS int rpc_switch_client_transport (struct rpc_clnt *clnt , struct xprt_create *args , const struct rpc_timeout *timeout ); ARGUMENTS clnt pointer to a struct rpc_clnt args pointer to the new transport arguments ...
rpc_uaddr2sockaddr(9)
NAME rpc_uaddr2sockaddr - convert a universal address to a socket address. SYNOPSIS size_t rpc_uaddr2sockaddr (struct net *net , const char *uaddr , const size_t uaddr_len , struct sockaddr *sap , const size_t salen ); ARGUMENTS net applicable network namespace uaddr C string containing universa...
rpc_unlink(9)
NAME rpc_unlink - remove a pipe SYNOPSIS void rpc_unlink (struct rpc_pipe *pipe ); ARGUMENTS pipe the pipe to be removed DESCRIPTION After this call, lookups will no longer find the pipe, and any attempts to read or write using preexisting opens of the pipe will return -EPIPE. SEE ALSO Kernel file ./net/...
rpc_update_rtt(9)
NAME rpc_update_rtt - Update an RPC RTT estimator context SYNOPSIS void rpc_update_rtt (struct rpc_rtt *rt , unsigned int timer , long m ); ARGUMENTS rt context to update timer timer array index (request type) m recent actual RTT, in jiffies DESCRIPTION NB: When computing the...
rpc_wake_up(9)
NAME rpc_wake_up - wake up all rpc_tasks SYNOPSIS void rpc_wake_up (struct rpc_wait_queue *queue ); ARGUMENTS queue rpc_wait_queue on which the tasks are sleeping DESCRIPTION Grabs queue->lock SEE ALSO Kernel file ./net/sunrpc/sched.c __rpc_do_wake_up_task_on_wq(9), rpc_wake_up_queued_task_set_status(9), rpc_...
rpc_wake_up_locked(9)
NAME rpc_wake_up_locked - wake up all rpc_tasks SYNOPSIS void rpc_wake_up_locked (struct rpc_wait_queue *queue ); ARGUMENTS queue rpc_wait_queue on which the tasks are sleeping SEE ALSO Kernel file ./net/sunrpc/sched.c __rpc_do_wake_up_task_on_wq(9), rpc_wake_up_queued_task_set_status(9), rpc_wake_up(9), rpc_w...
rpc_wake_up_queued_task_set_status(9)
NAME rpc_wake_up_queued_task_set_status - wake up a task and set task->tk_status SYNOPSIS void rpc_wake_up_queued_task_set_status (struct rpc_wait_queue *queue , struct rpc_task *task , int status ); ARGUMENTS queue pointer to rpc_wait_queue task pointer to rpc_task status integer er...
rpc_wake_up_status(9)
NAME rpc_wake_up_status - wake up all rpc_tasks and set their status value. SYNOPSIS void rpc_wake_up_status (struct rpc_wait_queue *queue , int status ); ARGUMENTS queue rpc_wait_queue on which the tasks are sleeping status status value to set DESCRIPTION Grabs queue->lock SEE ALSO Kernel file ....
rpc_wake_up_status_locked(9)
NAME rpc_wake_up_status_locked - wake up all rpc_tasks and set their status value. SYNOPSIS void rpc_wake_up_status_locked (struct rpc_wait_queue *queue , int status ); ARGUMENTS queue rpc_wait_queue on which the tasks are sleeping status status value to set SEE ALSO Kernel file ./net/sunrpc/sched...
rpc_xprt_switch_add_xprt(9)
NAME rpc_xprt_switch_add_xprt - Add a new rpc_xprt to an rpc_xprt_switch SYNOPSIS void rpc_xprt_switch_add_xprt (struct rpc_xprt_switch *xps , struct rpc_xprt *xprt ); ARGUMENTS xps pointer to struct rpc_xprt_switch xprt pointer to struct rpc_xprt DESCRIPTION Adds xprt to the end of the list o...
rpc_xprt_switch_get_main_xprt(9)
NAME rpc_xprt_switch_get_main_xprt - Get the 'main' xprt for an xprt switch. SYNOPSIS struct rpc_xprt * rpc_xprt_switch_get_main_xprt (struct rpc_xprt_switch *xps ); ARGUMENTS xps pointer to struct rpc_xprt_switch. SEE ALSO Kernel file ./net/sunrpc/xprtmultipath.c rpc_xprt_switch_add_xprt(9), rpc_xprt_sw...
rpc_xprt_switch_remove_xprt(9)
NAME rpc_xprt_switch_remove_xprt - Removes an rpc_xprt from a rpc_xprt_switch SYNOPSIS void rpc_xprt_switch_remove_xprt (struct rpc_xprt_switch *xps , struct rpc_xprt *xprt , bool offline ); ARGUMENTS xps pointer to struct rpc_xprt_switch xprt pointer to struct rpc_xprt offline indi...
rpc_xprt_switch_set_roundrobin(9)
NAME rpc_xprt_switch_set_roundrobin - Set a round-robin policy on rpc_xprt_switch SYNOPSIS void rpc_xprt_switch_set_roundrobin (struct rpc_xprt_switch *xps ); ARGUMENTS xps pointer to struct rpc_xprt_switch DESCRIPTION Sets a round-robin default policy for iterators acting on xps. SEE ALSO Kernel file ./n...
rpcauth_checkverf(9)
NAME rpcauth_checkverf - Validate verifier in RPC Reply header SYNOPSIS int rpcauth_checkverf (struct rpc_task *task , struct xdr_stream *xdr ); ARGUMENTS task controlling RPC task xdr xdr_stream containing RPC Reply header DESCRIPTION Return values: 0: Verifier is valid. xdr now points pas...
rpcauth_get_gssinfo(9)
NAME rpcauth_get_gssinfo - find GSS tuple matching a GSS pseudoflavor SYNOPSIS int rpcauth_get_gssinfo (rpc_authflavor_t pseudoflavor , struct rpcsec_gss_info *info ); ARGUMENTS pseudoflavor GSS pseudoflavor to match info rpcsec_gss_info structure to fill in DESCRIPTION Returns zero and fills in "info...
rpcauth_get_pseudoflavor(9)
NAME rpcauth_get_pseudoflavor - check if security flavor is supported SYNOPSIS rpc_authflavor_t rpcauth_get_pseudoflavor (rpc_authflavor_t flavor , struct rpcsec_gss_info *info ); ARGUMENTS flavor a security flavor info a GSS mech OID, quality of protection, and service value DESCRIPTION Verifies...
rpcauth_marshcred(9)
NAME rpcauth_marshcred - Append RPC credential to end of @xdr SYNOPSIS int rpcauth_marshcred (struct rpc_task *task , struct xdr_stream *xdr ); ARGUMENTS task controlling RPC task xdr xdr_stream containing initial portion of RPC Call header DESCRIPTION On success, an appropriate verifier is ad...
rpcauth_unwrap_resp(9)
NAME rpcauth_unwrap_resp - Invoke unwrap and decode function for the cred SYNOPSIS int rpcauth_unwrap_resp (struct rpc_task *task , struct xdr_stream *xdr ); ARGUMENTS task controlling RPC task xdr stream where the Reply message resides DESCRIPTION Returns zero on success; otherwise a negative...
rpcauth_unwrap_resp_decode(9)
NAME rpcauth_unwrap_resp_decode - Invoke XDR decode function SYNOPSIS int rpcauth_unwrap_resp_decode (struct rpc_task *task , struct xdr_stream *xdr ); ARGUMENTS task controlling RPC task xdr stream where the Reply message resides DESCRIPTION Returns zero on success; otherwise a negative errno...
rpcauth_wrap_req(9)
NAME rpcauth_wrap_req - XDR encode and wrap the RPC procedure SYNOPSIS int rpcauth_wrap_req (struct rpc_task *task , struct xdr_stream *xdr ); ARGUMENTS task controlling RPC task xdr stream where on-the-wire bytes are to be marshalled DESCRIPTION On success, xdr contains the encoded and wrappe...
rpcauth_wrap_req_encode(9)
NAME rpcauth_wrap_req_encode - XDR encode the RPC procedure SYNOPSIS int rpcauth_wrap_req_encode (struct rpc_task *task , struct xdr_stream *xdr ); ARGUMENTS task controlling RPC task xdr stream where on-the-wire bytes are to be marshalled DESCRIPTION On success, xdr contains the encoded and w...
rpcb_getport_async(9)
NAME rpcb_getport_async - obtain the port for a given RPC service on a given host SYNOPSIS void rpcb_getport_async (struct rpc_task *task ); ARGUMENTS task task that is waiting for portmapper request DESCRIPTION This one can be called for an ongoing RPC request, and can be used in an async (rpciod) context. ...
rpcb_register(9)
NAME rpcb_register - set or unset a port registration with the local rpcbind svc SYNOPSIS int rpcb_register (struct net *net , u32 prog , u32 vers , int prot , unsigned short port ); ARGUMENTS net target network namespace prog RPC program number to bind vers RPC version number to...
rpcb_v4_register(9)
NAME rpcb_v4_register - set or unset a port registration with the local rpcbind SYNOPSIS int rpcb_v4_register (struct net *net , const u32 program , const u32 version , const struct sockaddr *address , const char *netid ); ARGUMENTS net target network namespace program RPC program number of servic...