id
stringlengths
4
63
text
stringlengths
153
8.81M
raw_atomic_try_cmpxchg_relaxed(9)
NAME raw_atomic_try_cmpxchg_relaxed - atomic compare and exchange with relaxed ordering SYNOPSIS bool raw_atomic_try_cmpxchg_relaxed (atomic_t *v , int *old , int new ); ARGUMENTS v pointer to atomic_t old pointer to int value to compare with new int value to assign DESCRIPT...
raw_atomic_try_cmpxchg_release(9)
NAME raw_atomic_try_cmpxchg_release - atomic compare and exchange with release ordering SYNOPSIS bool raw_atomic_try_cmpxchg_release (atomic_t *v , int *old , int new ); ARGUMENTS v pointer to atomic_t old pointer to int value to compare with new int value to assign DESCRIPT...
raw_atomic_xchg(9)
NAME raw_atomic_xchg - atomic exchange with full ordering SYNOPSIS int raw_atomic_xchg (atomic_t *v , int new ); ARGUMENTS v pointer to atomic_t new int value to assign DESCRIPTION Atomically updates v to new with full ordering. Safe to use in noinstr code; prefer atomic_xchg elsewhere. R...
raw_atomic_xchg_acquire(9)
NAME raw_atomic_xchg_acquire - atomic exchange with acquire ordering SYNOPSIS int raw_atomic_xchg_acquire (atomic_t *v , int new ); ARGUMENTS v pointer to atomic_t new int value to assign DESCRIPTION Atomically updates v to new with acquire ordering. Safe to use in noinstr code; prefer ato...
raw_atomic_xchg_relaxed(9)
NAME raw_atomic_xchg_relaxed - atomic exchange with relaxed ordering SYNOPSIS int raw_atomic_xchg_relaxed (atomic_t *v , int new ); ARGUMENTS v pointer to atomic_t new int value to assign DESCRIPTION Atomically updates v to new with relaxed ordering. Safe to use in noinstr code; prefer ato...
raw_atomic_xchg_release(9)
NAME raw_atomic_xchg_release - atomic exchange with release ordering SYNOPSIS int raw_atomic_xchg_release (atomic_t *v , int new ); ARGUMENTS v pointer to atomic_t new int value to assign DESCRIPTION Atomically updates v to new with release ordering. Safe to use in noinstr code; prefer ato...
raw_atomic_xor(9)
NAME raw_atomic_xor - atomic bitwise XOR with relaxed ordering SYNOPSIS void raw_atomic_xor (int i , atomic_t *v ); ARGUMENTS i int value v pointer to atomic_t DESCRIPTION Atomically updates v to (v ^ i) with relaxed ordering. Safe to use in noinstr code; prefer atomic_xor elsewhere. RE...
raw_notifier_call_chain(9)
NAME raw_notifier_call_chain - Call functions in a raw notifier chain SYNOPSIS int raw_notifier_call_chain (struct raw_notifier_head *nh , unsigned long val , void *v ); ARGUMENTS nh Pointer to head of the raw notifier chain val Value passed unmodified to notifier function v ...
raw_notifier_chain_register(9)
NAME raw_notifier_chain_register - Add notifier to a raw notifier chain SYNOPSIS int raw_notifier_chain_register (struct raw_notifier_head *nh , struct notifier_block *n ); ARGUMENTS nh Pointer to head of the raw notifier chain n New entry in notifier chain DESCRIPTION Adds a notifier to a...
raw_notifier_chain_unregister(9)
NAME raw_notifier_chain_unregister - Remove notifier from a raw notifier chain SYNOPSIS int raw_notifier_chain_unregister (struct raw_notifier_head *nh , struct notifier_block *n ); ARGUMENTS nh Pointer to head of the raw notifier chain n Entry to remove from notifier chain DESCRIPTION Rem...
raw_read_seqcount(9)
NAME raw_read_seqcount - read the raw seqcount_t counter value SYNOPSIS raw_read_seqcount (s ); ARGUMENTS s Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants DESCRIPTION raw_read_seqcount opens a read critical section of the given seqcount_t, without any lockdep checking, and without checkin...
raw_read_seqcount_begin(9)
NAME raw_read_seqcount_begin - begin a seqcount_t read section w/o lockdep SYNOPSIS raw_read_seqcount_begin (s ); ARGUMENTS s Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants RETURN count to be passed to read_seqcount_retry SEE ALSO Kernel file ./include/linux/seqlock.h seqcount_init(9),...
raw_read_seqcount_latch(9)
NAME raw_read_seqcount_latch - pick even/odd latch data copy SYNOPSIS unsigned raw_read_seqcount_latch (const seqcount_latch_t *s ); ARGUMENTS s Pointer to seqcount_latch_t DESCRIPTION See raw_write_seqcount_latch for details and a full reader/writer usage example. RETURN sequence counter raw value. Use t...
raw_read_seqcount_latch_retry(9)
NAME raw_read_seqcount_latch_retry - end a seqcount_latch_t read section SYNOPSIS int raw_read_seqcount_latch_retry (const seqcount_latch_t *s , unsigned start ); ARGUMENTS s Pointer to seqcount_latch_t start count, from raw_read_seqcount_latch RETURN true if a read section retry is required,...
raw_seqcount_begin(9)
NAME raw_seqcount_begin - begin a seqcount_t read critical section w/o lockdep and w/o counter stabilization SYNOPSIS raw_seqcount_begin (s ); ARGUMENTS s Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants DESCRIPTION raw_seqcount_begin opens a read critical section of the given seqcount_t. U...
raw_seqcount_try_begin(9)
NAME raw_seqcount_try_begin - begin a seqcount_t read critical section w/o lockdep and w/o counter stabilization SYNOPSIS raw_seqcount_try_begin (s , start ); ARGUMENTS s Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants start count to be passed to read_seqcount_retry DESCRIPTI...
raw_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
raw_to_mcelsius_v1(9)
NAME raw_to_mcelsius_v1 - convert a raw ADC value to mcelsius SYNOPSIS int raw_to_mcelsius_v1 (struct mtk_thermal *mt , int sensno , s32 raw ); ARGUMENTS mt The thermal controller sensno sensor number raw raw ADC value DESCRIPTION This converts the raw ADC value to mcelsius usin...
raw_write_seqcount_barrier(9)
NAME raw_write_seqcount_barrier - do a seqcount_t write barrier SYNOPSIS raw_write_seqcount_barrier (s ); ARGUMENTS s Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants DESCRIPTION This can be used to provide an ordering guarantee instead of the usual consistency guarantee. It is one wmb ch...
raw_write_seqcount_begin(9)
NAME raw_write_seqcount_begin - start a seqcount_t write section w/o lockdep SYNOPSIS raw_write_seqcount_begin (s ); ARGUMENTS s Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants CONTEXT check write_seqcount_begin SEE ALSO Kernel file ./include/linux/seqlock.h seqcount_init(9), SEQCNT_ZERO(...
raw_write_seqcount_end(9)
NAME raw_write_seqcount_end - end a seqcount_t write section w/o lockdep SYNOPSIS raw_write_seqcount_end (s ); ARGUMENTS s Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants CONTEXT check write_seqcount_end SEE ALSO Kernel file ./include/linux/seqlock.h seqcount_init(9), SEQCNT_ZERO(9), __re...
raw_write_seqcount_latch(9)
NAME raw_write_seqcount_latch - redirect latch readers to even/odd copy SYNOPSIS void raw_write_seqcount_latch (seqcount_latch_t *s ); ARGUMENTS s Pointer to seqcount_latch_t SEE ALSO Kernel file ./include/linux/seqlock.h seqcount_init(9), SEQCNT_ZERO(9), __read_seqcount_begin(9), raw_read_seqcount_begin(9...
rawmemchr(3)
NAME memchr, memrchr, rawmemchr - scan memory for a character LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> void *memchr(size_t n; const void s[n], int c, size_t n); void *memrchr(size_t n; const void s[n], int c, size_t n); [[deprec...
rawnand_dt_parse_gpio_cs(9)
NAME rawnand_dt_parse_gpio_cs - Parse the gpio-cs property of a controller SYNOPSIS int rawnand_dt_parse_gpio_cs (struct device *dev , struct gpio_desc ***cs_array , unsigned int *ncs_array ); ARGUMENTS dev Device that will be parsed. Also used for managed allocations. cs_array Array of GPIO desc p...
rawshark(1)
NAME rawshark - Dump and analyze raw pcap data SYNOPSIS rawshark [ -d <encap:linktype>|<proto:protoname> ] [ -F <field to display> ] [ -l ] [ -m <bytes> ] [ -o <preference setting> ] ... [ -p ] [ -r <pipe>|- ] [ -R <read (display) filter> ] [ -s ] [ -S <field format> ] [ options ] rawshark -h|--help ra...
rb_add(9)
NAME rb_add - insert @node into @tree SYNOPSIS void rb_add (struct rb_node *node , struct rb_root *tree , bool (*less)(struct rb_node *, const struct rb_node *) ); ARGUMENTS node node to insert tree tree to insert node into less operator defining the (partial) node order SEE ALSO...
rb_add_cached(9)
NAME rb_add_cached - insert @node into the leftmost cached tree @tree SYNOPSIS void rb_add_cached (struct rb_node *node , struct rb_root_cached *tree , bool (*less)(struct rb_node *, const struct rb_node *) ); ARGUMENTS node node to insert tree leftmost cached tree to insert node into le...
rb_check_pages(9)
NAME rb_check_pages - integrity check of buffer pages SYNOPSIS void rb_check_pages (struct ring_buffer_per_cpu *cpu_buffer ); ARGUMENTS cpu_buffer CPU buffer with pages to test DESCRIPTION As a safety measure we check to make sure the data pages have not been corrupted. SEE ALSO Kernel file ./kernel/trace/ring...
rb_find(9)
NAME rb_find - find @key in tree @tree SYNOPSIS struct rb_node * rb_find (const void *key , const struct rb_root *tree , int (*cmp)(const void *key, const struct rb_node *) ); ARGUMENTS key key to match tree tree to search cmp operator defining the node order DESCRIPTION Return...
rb_find_add(9)
NAME rb_find_add - find equivalent @node in @tree, or add @node SYNOPSIS struct rb_node * rb_find_add (struct rb_node *node , struct rb_root *tree , int (*cmp)(struct rb_node *, const struct rb_node *) ); ARGUMENTS node node to look-for / insert tree tree to search / modify cmp o...
rb_find_add_cached(9)
NAME rb_find_add_cached - find equivalent @node in @tree, or add @node SYNOPSIS struct rb_node * rb_find_add_cached (struct rb_node *node , struct rb_root_cached *tree , int (*cmp)(const struct rb_node *new, const struct rb_node *exist) ); ARGUMENTS node node to look-for / insert tree tree to se...
rb_find_add_rcu(9)
NAME rb_find_add_rcu - find equivalent @node in @tree, or add @node SYNOPSIS struct rb_node * rb_find_add_rcu (struct rb_node *node , struct rb_root *tree , int (*cmp)(struct rb_node *, const struct rb_node *) ); ARGUMENTS node node to look-for / insert tree tree to search / modify cmp ...
rb_find_first(9)
NAME rb_find_first - find the first @key in @tree SYNOPSIS struct rb_node * rb_find_first (const void *key , const struct rb_root *tree , int (*cmp)(const void *key, const struct rb_node *) ); ARGUMENTS key key to match tree tree to search cmp operator defining node order DESCR...
rb_find_rcu(9)
NAME rb_find_rcu - find @key in tree @tree SYNOPSIS struct rb_node * rb_find_rcu (const void *key , const struct rb_root *tree , int (*cmp)(const void *key, const struct rb_node *) ); ARGUMENTS key key to match tree tree to search cmp operator defining the node order DESCRIPTIO...
rb_for_each(9)
NAME rb_for_each - iterates a subtree matching @key SYNOPSIS rb_for_each (node , key , tree , cmp ); ARGUMENTS node iterator key key to match tree tree to search cmp operator defining node order SEE ALSO Kernel file ./tools/include/linux/rbtree.h rbtree_postorder...
rb_next_match(9)
NAME rb_next_match - find the next @key in @tree SYNOPSIS struct rb_node * rb_next_match (const void *key , struct rb_node *node , int (*cmp)(const void *key, const struct rb_node *) ); ARGUMENTS key key to match node -- undescribed -- cmp operator defining node order DESCRIPTI...
rb_update_event(9)
NAME rb_update_event - update event type and data SYNOPSIS void rb_update_event (struct ring_buffer_per_cpu *cpu_buffer , struct ring_buffer_event *event , struct rb_event_info *info ); ARGUMENTS cpu_buffer The per cpu buffer of the event event the event to update info The info to update...
rbtree_postorder_for_each_entry_safe(9)
NAME rbtree_postorder_for_each_entry_safe - iterate in post-order over rb_root of given type allowing the backing memory of @pos to be invalidated SYNOPSIS rbtree_postorder_for_each_entry_safe (pos , n , root , field ); ARGUMENTS pos the 'type *' to use as a loop cursor. n another 'type *' t...
rbtree_simple_xattr_cmp(9)
NAME rbtree_simple_xattr_cmp - compare xattr name with current rbtree xattr entry SYNOPSIS int rbtree_simple_xattr_cmp (const void *key , const struct rb_node *node ); ARGUMENTS key xattr name node current node DESCRIPTION Compare the xattr name with the xattr name attached to node in the rbtr...
rbtree_simple_xattr_less(9)
NAME rbtree_simple_xattr_less - compare two xattr rbtree nodes SYNOPSIS bool rbtree_simple_xattr_less (struct rb_node *new_node , const struct rb_node *node ); ARGUMENTS new_node new node node current node DESCRIPTION Compare the xattr attached to new_node with the xattr attached to node. Note tha...
rbtree_simple_xattr_node_cmp(9)
NAME rbtree_simple_xattr_node_cmp - compare two xattr rbtree nodes SYNOPSIS int rbtree_simple_xattr_node_cmp (struct rb_node *new_node , const struct rb_node *node ); ARGUMENTS new_node new node node current node DESCRIPTION Compare the xattr attached to new_node with the xattr attached to node. R...
rc_allocate_device(9)
NAME rc_allocate_device - Allocates a RC device SYNOPSIS struct rc_dev * rc_allocate_device (enum rc_driver_type ); ARGUMENTS rc_driver_type specifies the type of the RC output to be allocated returns a pointer to struct rc_dev. SEE ALSO Kernel file ./include/media/rc-core.h enum rc_driver_type(9), struct rc_s...
rc_close(9)
NAME rc_close - Closes a RC device SYNOPSIS void rc_close (struct rc_dev *rdev ); ARGUMENTS rdev pointer to struct rc_dev. SEE ALSO Kernel file ./drivers/media/rc/rc-core-priv.h rc_open(9), struct ir_raw_timings_manchester(9), ir_raw_gen_pulse_space(9), struct ir_raw_timings_pd(9), struct ir_raw_timings_pl(9)...
rc_free_device(9)
NAME rc_free_device - Frees a RC device SYNOPSIS void rc_free_device (struct rc_dev *dev ); ARGUMENTS dev pointer to struct rc_dev. SEE ALSO Kernel file ./include/media/rc-core.h enum rc_driver_type(9), struct rc_scancode_filter(9), enum rc_filter_type(9), struct lirc_fh(9), struct rc_dev(9), rc_allocate_d...
rc_g_keycode_from_table(9)
NAME rc_g_keycode_from_table - gets the keycode that corresponds to a scancode SYNOPSIS u32 rc_g_keycode_from_table (struct rc_dev *dev , u64 scancode ); ARGUMENTS dev the struct rc_dev descriptor of the device scancode the scancode to look for DESCRIPTION This routine is used by drivers which nee...
rc_keydown(9)
NAME rc_keydown - generates input event for a key press SYNOPSIS void rc_keydown (struct rc_dev *dev , enum rc_proto protocol , u64 scancode , u8 toggle ); ARGUMENTS dev the struct rc_dev descriptor of the device protocol the protocol for the keypress scancode the scancode for the keypre...
rc_keydown_notimeout(9)
NAME rc_keydown_notimeout - generates input event for a key press without an automatic keyup event at a later time SYNOPSIS void rc_keydown_notimeout (struct rc_dev *dev , enum rc_proto protocol , u64 scancode , u8 toggle ); ARGUMENTS dev the struct rc_dev descriptor of the device protocol the prot...
rc_keyup(9)
NAME rc_keyup - signals the release of a keypress SYNOPSIS void rc_keyup (struct rc_dev *dev ); ARGUMENTS dev the struct rc_dev descriptor of the device DESCRIPTION This routine is used to signal that a key has been released on the remote control. SEE ALSO Kernel file ./drivers/media/rc/rc-main.c scan...
rc_map_get(9)
NAME rc_map_get - gets an RC map from its name SYNOPSIS struct rc_map * rc_map_get (const char *name ); ARGUMENTS name name of the RC scancode map SEE ALSO Kernel file ./include/media/rc-map.h struct rc_map_table(9), struct rc_map(9), struct rc_map_list(9), rc_map_register(9), rc_map_unregister(9) April 2026...
rc_map_register(9)
NAME rc_map_register - Registers a Remote Controller scancode map SYNOPSIS int rc_map_register (struct rc_map_list *map ); ARGUMENTS map pointer to struct rc_map_list SEE ALSO Kernel file ./include/media/rc-map.h struct rc_map_table(9), struct rc_map(9), struct rc_map_list(9), rc_map_unregister(9), rc_map_ge...
rc_map_unregister(9)
NAME rc_map_unregister - Unregisters a Remote Controller scancode map SYNOPSIS void rc_map_unregister (struct rc_map_list *map ); ARGUMENTS map pointer to struct rc_map_list SEE ALSO Kernel file ./include/media/rc-map.h struct rc_map_table(9), struct rc_map(9), struct rc_map_list(9), rc_map_register(9), rc_m...
rc_open(9)
NAME rc_open - Opens a RC device SYNOPSIS int rc_open (struct rc_dev *rdev ); ARGUMENTS rdev pointer to struct rc_dev. SEE ALSO Kernel file ./drivers/media/rc/rc-core-priv.h rc_close(9), struct ir_raw_timings_manchester(9), ir_raw_gen_pulse_space(9), struct ir_raw_timings_pd(9), struct ir_raw_timings_pl(9) A...
rc_ramp_ctrl_enable(9)
NAME rc_ramp_ctrl_enable - Enable Ramp up/down Control SYNOPSIS int rc_ramp_ctrl_enable (struct qcom_ramp_controller *qrc ); ARGUMENTS qrc Main driver structure RETURN Zero for success or negative number for error SEE ALSO Kernel file ./drivers/soc/qcom/ramp_controller.c struct qcom_ramp_controller_desc(9),...
rc_rcv_error(9)
NAME rc_rcv_error - process an incoming duplicate or error RC packet SYNOPSIS int rc_rcv_error (struct ib_other_headers *ohdr , void *data , struct rvt_qp *qp , u32 opcode , u32 psn , int diff , struct hfi1_ctxtdata *rcd ); ARGUMENTS ohdr the other headers for this packet data the packet data ...
rc_rcv_resp(9)
NAME rc_rcv_resp - process an incoming RC response packet SYNOPSIS void rc_rcv_resp (struct hfi1_packet *packet ); ARGUMENTS packet data packet information DESCRIPTION This is called from hfi1_rc_rcv to process an incoming RC response packet for the given QP. Called at interrupt level. SEE ALSO Kernel file ./...
rc_register_device(9)
NAME rc_register_device - Registers a RC device SYNOPSIS int rc_register_device (struct rc_dev *dev ); ARGUMENTS dev pointer to struct rc_dev. SEE ALSO Kernel file ./include/media/rc-core.h enum rc_driver_type(9), struct rc_scancode_filter(9), enum rc_filter_type(9), struct lirc_fh(9), struct rc_dev(9)...
rc_repeat(9)
NAME rc_repeat - signals that a key is still pressed SYNOPSIS void rc_repeat (struct rc_dev *dev ); ARGUMENTS dev the struct rc_dev descriptor of the device DESCRIPTION This routine is used by IR decoders when a repeat message which does not include the necessary bits to reproduce the scancode has been recei...
rc_set_cfg_update(9)
NAME rc_set_cfg_update - Ramp Controller configuration update SYNOPSIS int rc_set_cfg_update (struct qcom_ramp_controller *qrc , u8 ce ); ARGUMENTS qrc Main driver structure ce Configuration entry to update RETURN Zero for success or negative number for failure SEE ALSO Kernel file ./driver...
rc_unregister_device(9)
NAME rc_unregister_device - Unregisters a RC device SYNOPSIS void rc_unregister_device (struct rc_dev *dev ); ARGUMENTS dev pointer to struct rc_dev. SEE ALSO Kernel file ./include/media/rc-core.h enum rc_driver_type(9), struct rc_scancode_filter(9), enum rc_filter_type(9), struct lirc_fh(9), struct rc...
rc_validate_filter(9)
NAME rc_validate_filter - checks that the scancode and mask are valid and provides sensible defaults SYNOPSIS int rc_validate_filter (struct rc_dev *dev , struct rc_scancode_filter *filter ); ARGUMENTS dev the struct rc_dev descriptor of the device filter the scancode and mask RETURN 0 or -EINVA...
rc_validate_scancode(9)
NAME rc_validate_scancode - checks that a scancode is valid for a protocol. For nec, it should do the opposite of ir_nec_bytes_to_scancode() SYNOPSIS bool rc_validate_scancode (enum rc_proto proto , u32 scancode ); ARGUMENTS proto protocol scancode scancode SEE ALSO Kernel file ./drivers/media/r...
rc_wait_for_update(9)
NAME rc_wait_for_update - Wait for Ramp Controller root update SYNOPSIS int rc_wait_for_update (struct qcom_ramp_controller *qrc ); ARGUMENTS qrc Main driver structure RETURN Zero for success or negative number for failure SEE ALSO Kernel file ./drivers/soc/qcom/ramp_controller.c struct qcom_ramp_controller...
rc_write_cfg(9)
NAME rc_write_cfg - Send configuration sequence SYNOPSIS int rc_write_cfg (struct qcom_ramp_controller *qrc , const struct reg_sequence *seq , u16 ce , u8 nsids ); ARGUMENTS qrc Main driver structure seq Register sequence to send before asking for update ce Configuration SID ...
rcar_fcp_disable(9)
NAME rcar_fcp_disable - Disable an FCP SYNOPSIS void rcar_fcp_disable (struct rcar_fcp_device *fcp ); ARGUMENTS fcp The FCP instance DESCRIPTION This function is the counterpart of rcar_fcp_enable. As enable calls are reference counted a disable call may not disable the FCP synchronously. SEE ALSO Kernel fi...
rcar_fcp_enable(9)
NAME rcar_fcp_enable - Enable an FCP SYNOPSIS int rcar_fcp_enable (struct rcar_fcp_device *fcp ); ARGUMENTS fcp The FCP instance DESCRIPTION Before any memory access through an FCP is performed by a module, the FCP must be enabled by a call to this function. The enable calls are reference counted, each suc...
rcar_fcp_get(9)
NAME rcar_fcp_get - Find and acquire a reference to an FCP instance SYNOPSIS struct rcar_fcp_device * rcar_fcp_get (const struct device_node *np ); ARGUMENTS np Device node of the FCP instance DESCRIPTION Search the list of registered FCP instances for the instance corresponding to the given device node. R...
rcar_fcp_put(9)
NAME rcar_fcp_put - Release a reference to an FCP instance SYNOPSIS void rcar_fcp_put (struct rcar_fcp_device *fcp ); ARGUMENTS fcp The FCP instance DESCRIPTION Release the FCP instance acquired by a call to rcar_fcp_get. SEE ALSO Kernel file ./drivers/media/platform/renesas/rcar-fcp.c rcar_fcp_get(9), rcar...
rcmd(3)
NAME rcmd, rresvport, iruserok, ruserok, rcmd_af, rresvport_af, iruserok_af, ruserok_af - routines for returning a stream to a remote command LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <netdb.h> /* Or <unistd.h> on some systems */ int rcmd(char **restrict ahost, unsigned short inport, ...
rcmd_af(3)
NAME rcmd, rresvport, iruserok, ruserok, rcmd_af, rresvport_af, iruserok_af, ruserok_af - routines for returning a stream to a remote command LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <netdb.h> /* Or <unistd.h> on some systems */ int rcmd(char **restrict ahost, unsigned short inport, ...
rcp(1)
NAME rcp - Remote copy SYNOPSIS rcp [OPTION...] SOURCE DEST rcp [OPTION...] SOURCE... DIRECTORY rcp [OPTION...] --target-directory=DIRECTORY SOURCE... DESCRIPTION Remote copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. -4, --ipv4 use only IPv4 -6, --ipv6 use only IP...
rcpm_pm_prepare(9)
NAME rcpm_pm_prepare - performs device-level tasks associated with power management, such as programming related to the wakeup source control. SYNOPSIS int rcpm_pm_prepare (struct device *dev ); ARGUMENTS dev Device to handle. SEE ALSO Kernel file ./drivers/soc/fsl/rcpm.c April 2026 ...
rctest(1)
NAME rctest - RFCOMM testing SYNOPSIS rctest <MODE> [OPTIONS] [bdaddr] DESCRIPTION rctest(1) is used to test RFCOMM communications on the BlueZ stack MODES -r listen and receive -w listen and send -d listen and dump incoming data -s connect and send -u connect and ...
rcu_access_pointer(9)
NAME rcu_access_pointer - fetch RCU pointer with no dereferencing SYNOPSIS rcu_access_pointer (p ); ARGUMENTS p The pointer to read DESCRIPTION Return the value of the specified RCU-protected pointer, but omit the lockdep checks for being in an RCU read-side critical section. This is useful when the...
rcu_assign_pointer(9)
NAME rcu_assign_pointer - assign to RCU-protected pointer SYNOPSIS rcu_assign_pointer (p , v ); ARGUMENTS p pointer to assign to v value to assign (publish) DESCRIPTION Assigns the specified value to the specified RCU-protected pointer, ensuring that any concurrent RCU readers will see an...
rcu_async_hurry(9)
NAME rcu_async_hurry - Make future async RCU callbacks not lazy. SYNOPSIS void rcu_async_hurry (void ); ARGUMENTS void no arguments DESCRIPTION After a call to this function, future calls to call_rcu will be processed in a timely fashion. SEE ALSO Kernel file ./kernel/rcu/update.c rcu_read_lock_held...
rcu_async_relax(9)
NAME rcu_async_relax - Make future async RCU callbacks lazy. SYNOPSIS void rcu_async_relax (void ); ARGUMENTS void no arguments DESCRIPTION After a call to this function, future calls to call_rcu will be processed in a lazy fashion. SEE ALSO Kernel file ./kernel/rcu/update.c rcu_read_lock_held_commo...
rcu_barrier(9)
NAME rcu_barrier - Wait until all in-flight call_rcu() callbacks complete. SYNOPSIS void rcu_barrier (void ); ARGUMENTS void no arguments DESCRIPTION Note that this primitive does not necessarily wait for an RCU grace period to complete. For example, if there are no RCU callbacks queued anywhere in the sy...
rcu_barrier_tasks(9)
NAME rcu_barrier_tasks - Wait for in-flight call_rcu_tasks() callbacks. SYNOPSIS void rcu_barrier_tasks (void ); ARGUMENTS void no arguments DESCRIPTION Although the current implementation is guaranteed to wait, it is not obligated to, for example, if there are no pending callbacks. SEE ALSO Kernel file ./ke...
rcu_barrier_tasks_trace(9)
NAME rcu_barrier_tasks_trace - Wait for in-flight call_rcu_tasks_trace() callbacks. SYNOPSIS void rcu_barrier_tasks_trace (void ); ARGUMENTS void no arguments DESCRIPTION Note that rcu_barrier_tasks_trace is not obligated to actually wait, for example, if there are no pending callbacks. SEE ALSO Kernel file...
rcu_barrier_throttled(9)
NAME rcu_barrier_throttled - Do rcu_barrier(), but limit to one per second SYNOPSIS void rcu_barrier_throttled (void ); ARGUMENTS void no arguments DESCRIPTION This can be thought of as guard rails around rcu_barrier that permits unrestricted userspace use, at least assuming the hardware's try_cmpxchg is ro...
rcu_cpu_stall_reset(9)
NAME rcu_cpu_stall_reset - restart stall-warning timeout for current grace period SYNOPSIS void rcu_cpu_stall_reset (void ); ARGUMENTS void no arguments DESCRIPTION To perform the reset request from the caller, disable stall detection until 3 fqs loops have passed. This is required to ensure a fresh jiffies ...
rcu_dereference(9)
NAME rcu_dereference - fetch RCU-protected pointer for dereferencing SYNOPSIS rcu_dereference (p ); ARGUMENTS p The pointer to read, prior to dereferencing DESCRIPTION This is a simple wrapper around rcu_dereference_check. SEE ALSO Kernel file ./include/linux/rcupdate.h same_state_synchronize_rcu(9), rc...
rcu_dereference_all(9)
NAME rcu_dereference_all - fetch RCU-all-protected pointer for dereferencing SYNOPSIS rcu_dereference_all (p ); ARGUMENTS p The pointer to read, prior to dereferencing DESCRIPTION Makes rcu_dereference_check do the dirty work. SEE ALSO Kernel file ./include/linux/rcupdate.h same_state_synchronize_rcu(9)...
rcu_dereference_all_check(9)
NAME rcu_dereference_all_check - rcu_dereference_all with debug checking SYNOPSIS rcu_dereference_all_check (p , c ); ARGUMENTS p The pointer to read, prior to dereferencing c The conditions under which the dereference will take place DESCRIPTION This is similar to rcu_dereference_chec...
rcu_dereference_bh(9)
NAME rcu_dereference_bh - fetch an RCU-bh-protected pointer for dereferencing SYNOPSIS rcu_dereference_bh (p ); ARGUMENTS p The pointer to read, prior to dereferencing DESCRIPTION Makes rcu_dereference_check do the dirty work. SEE ALSO Kernel file ./include/linux/rcupdate.h same_state_synchronize_rcu(9)...
rcu_dereference_bh_check(9)
NAME rcu_dereference_bh_check - rcu_dereference_bh with debug checking SYNOPSIS rcu_dereference_bh_check (p , c ); ARGUMENTS p The pointer to read, prior to dereferencing c The conditions under which the dereference will take place DESCRIPTION This is the RCU-bh counterpart to rcu_derefe...
rcu_dereference_check(9)
NAME rcu_dereference_check - rcu_dereference with debug checking SYNOPSIS rcu_dereference_check (p , c ); ARGUMENTS p The pointer to read, prior to dereferencing c The conditions under which the dereference will take place DESCRIPTION Do an rcu_dereference, but check that the conditions u...
rcu_dereference_protected(9)
NAME rcu_dereference_protected - fetch RCU pointer when updates prevented SYNOPSIS rcu_dereference_protected (p , c ); ARGUMENTS p The pointer to read, prior to dereferencing c The conditions under which the dereference will take place DESCRIPTION Return the value of the specified RCU-pro...
rcu_dereference_rtnl(9)
NAME rcu_dereference_rtnl - rcu_dereference with debug checking SYNOPSIS rcu_dereference_rtnl (p ); ARGUMENTS p The pointer to read, prior to dereferencing DESCRIPTION Do an rcu_dereference(p), but check caller either holds rcu_read_lock or RTNL. Note : Please prefer rtnl_dereference or rcu_dereference SE...
rcu_dereference_sched(9)
NAME rcu_dereference_sched - fetch RCU-sched-protected pointer for dereferencing SYNOPSIS rcu_dereference_sched (p ); ARGUMENTS p The pointer to read, prior to dereferencing DESCRIPTION Makes rcu_dereference_check do the dirty work. SEE ALSO Kernel file ./include/linux/rcupdate.h same_state_synchronize_...
rcu_dereference_sched_check(9)
NAME rcu_dereference_sched_check - rcu_dereference_sched with debug checking SYNOPSIS rcu_dereference_sched_check (p , c ); ARGUMENTS p The pointer to read, prior to dereferencing c The conditions under which the dereference will take place DESCRIPTION This is the RCU-sched counterpart ...
rcu_dereference_wiphy(9)
NAME rcu_dereference_wiphy - rcu_dereference with debug checking SYNOPSIS rcu_dereference_wiphy (wiphy , p ); ARGUMENTS wiphy the wiphy to check the locking on p The pointer to read, prior to dereferencing DESCRIPTION Do an rcu_dereference(p), but check caller either holds rcu_read_lock or RT...
rcu_expedite_gp(9)
NAME rcu_expedite_gp - Expedite future RCU grace periods SYNOPSIS void rcu_expedite_gp (void ); ARGUMENTS void no arguments DESCRIPTION After a call to this function, future calls to synchronize_rcu and friends act as the corresponding synchronize_rcu_expedited function had instead been called. SEE ALSO Kern...
rcu_head_after_call_rcu(9)
NAME rcu_head_after_call_rcu - Has this rcu_head been passed to call_rcu()? SYNOPSIS bool rcu_head_after_call_rcu (struct rcu_head *rhp , rcu_callback_t f ); ARGUMENTS rhp The rcu_head structure to test. f The function passed to call_rcu along with rhp. DESCRIPTION Returns true if the rhp...
rcu_head_init(9)
NAME rcu_head_init - Initialize rcu_head for rcu_head_after_call_rcu() SYNOPSIS void rcu_head_init (struct rcu_head *rhp ); ARGUMENTS rhp The rcu_head structure to initialize. DESCRIPTION If you intend to invoke rcu_head_after_call_rcu to test whether a given rcu_head structure has already been passed to cal...
rcu_irq_exit_check_preempt(9)
NAME rcu_irq_exit_check_preempt - Validate that scheduling is possible SYNOPSIS void rcu_irq_exit_check_preempt (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./kernel/rcu/tree.c rcu_softirq_qs(9), rcu_watching_snap_stopped_since(9), rcu_is_cpu_rrupt_from_idle(9), __rcu_irq_enter_check_tick...
rcu_is_cpu_rrupt_from_idle(9)
NAME rcu_is_cpu_rrupt_from_idle - see if 'interrupted' from idle SYNOPSIS int rcu_is_cpu_rrupt_from_idle (void ); ARGUMENTS void no arguments DESCRIPTION If the current CPU is idle and running at a first-level (not nested) interrupt, or directly, from idle, return true. The caller must have at least disabled...
rcu_is_watching(9)
NAME rcu_is_watching - RCU read-side critical sections permitted on current CPU? SYNOPSIS notrace bool rcu_is_watching (void ); ARGUMENTS void no arguments DESCRIPTION Return true if RCU is watching the running CPU and false otherwise. An true return means that this CPU can safely enter RCU read-side crit...
rcu_pointer_handoff(9)
NAME rcu_pointer_handoff - Hand off a pointer from RCU to other mechanism SYNOPSIS rcu_pointer_handoff (p ); ARGUMENTS p The pointer to hand off DESCRIPTION This is simply an identity function, but it documents where a pointer is handed off from RCU to some other synchronization mechanism, for example,...
rcu_read_lock(9)
NAME rcu_read_lock - mark the beginning of an RCU read-side critical section SYNOPSIS void rcu_read_lock (void ); ARGUMENTS void no arguments DESCRIPTION When synchronize_rcu is invoked on one CPU while other CPUs are within RCU read-side critical sections, then the synchronize_rcu is guaranteed to block unti...