id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
xa_insert_irq(9) | NAME xa_insert_irq - Store this entry in the XArray unless another entry is already present.
SYNOPSIS int xa_insert_irq (struct xarray *xa , unsigned long index , void *entry , gfp_t gfp );
ARGUMENTS xa XArray.
index Index into array.
entry New entry.
gfp Memory al... |
xa_is_advanced(9) | NAME xa_is_advanced - Is the entry only permitted for the advanced API?
SYNOPSIS bool xa_is_advanced (const void *entry );
ARGUMENTS entry Entry to be stored in the XArray.
RETURN true if the entry cannot be stored by the normal API.
SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9)... |
xa_is_err(9) | NAME xa_is_err - Report whether an XArray operation returned an error
SYNOPSIS bool xa_is_err (const void *entry );
ARGUMENTS entry Result from calling an XArray function
DESCRIPTION If an XArray operation cannot complete an operation, it will return a special value indicating an error. This function tells yo... |
xa_is_retry(9) | NAME xa_is_retry - Is the entry a retry entry?
SYNOPSIS bool xa_is_retry (const void *entry );
ARGUMENTS entry Entry retrieved from the XArray
RETURN true if the entry is a retry entry.
SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9), xa_is_value(9), xa_tag_pointer(9), xa_untag_po... |
xa_is_sibling(9) | NAME xa_is_sibling - Is the entry a sibling entry?
SYNOPSIS bool xa_is_sibling (const void *entry );
ARGUMENTS entry Entry retrieved from the XArray
RETURN true if the entry is a sibling entry.
SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9), xa_is_value(9), xa_tag_pointer(9), xa_... |
xa_is_value(9) | NAME xa_is_value - Determine if an entry is a value.
SYNOPSIS bool xa_is_value (const void *entry );
ARGUMENTS entry XArray entry.
CONTEXT Any context.
RETURN True if the entry is a value, false if it is a pointer.
SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9), xa_tag_point... |
xa_is_zero(9) | NAME xa_is_zero - Is the entry a zero entry?
SYNOPSIS bool xa_is_zero (const void *entry );
ARGUMENTS entry Entry retrieved from the XArray
DESCRIPTION The normal API will return NULL as the contents of a slot containing a zero entry. You can only see zero entries by using the advanced API.
RETURN true if th... |
xa_load(9) | NAME xa_load - Load an entry from an XArray.
SYNOPSIS void * xa_load (struct xarray *xa , unsigned long index );
ARGUMENTS xa XArray.
index index into array.
CONTEXT Any context. Takes and releases the RCU lock.
RETURN The entry at index in xa.
SEE ALSO Kernel file ./lib/xarray.c xas_loa... |
xa_marked(9) | NAME xa_marked - Inquire whether any entry in this array has a mark set
SYNOPSIS bool xa_marked (const struct xarray *xa , xa_mark_t mark );
ARGUMENTS xa Array
mark Mark value
CONTEXT Any context.
RETURN true if any entry has this mark set.
SEE ALSO Kernel file ./include/linux/xarray.h xa_m... |
xa_mk_value(9) | NAME xa_mk_value - Create an XArray entry from an integer.
SYNOPSIS void * xa_mk_value (unsigned long v );
ARGUMENTS v Value to store in XArray.
CONTEXT Any context.
RETURN An entry suitable for storing in the XArray.
SEE ALSO Kernel file ./include/linux/xarray.h xa_to_value(9), xa_is_value(9), xa_ta... |
xa_pointer_tag(9) | NAME xa_pointer_tag - Get the tag stored in an XArray entry.
SYNOPSIS unsigned int xa_pointer_tag (void *entry );
ARGUMENTS entry XArray entry.
DESCRIPTION If you have stored a tagged pointer in the XArray, call this function to get the tag of that pointer.
CONTEXT Any context.
RETURN A tag.
SEE ALSO Kernel... |
xa_release(9) | NAME xa_release - Release a reserved entry.
SYNOPSIS void xa_release (struct xarray *xa , unsigned long index );
ARGUMENTS xa XArray.
index Index of entry.
DESCRIPTION After calling xa_reserve, you can call this function to release the reservation. If the entry at index has been stored to, th... |
xa_reserve(9) | NAME xa_reserve - Reserve this index in the XArray.
SYNOPSIS int xa_reserve (struct xarray *xa , unsigned long index , gfp_t gfp );
ARGUMENTS xa XArray.
index Index into array.
gfp Memory allocation flags.
DESCRIPTION Ensures there is somewhere to store an entry at index in the... |
xa_reserve_bh(9) | NAME xa_reserve_bh - Reserve this index in the XArray.
SYNOPSIS int xa_reserve_bh (struct xarray *xa , unsigned long index , gfp_t gfp );
ARGUMENTS xa XArray.
index Index into array.
gfp Memory allocation flags.
DESCRIPTION A softirq-disabling version of xa_reserve.
CONTEXT An... |
xa_reserve_irq(9) | NAME xa_reserve_irq - Reserve this index in the XArray.
SYNOPSIS int xa_reserve_irq (struct xarray *xa , unsigned long index , gfp_t gfp );
ARGUMENTS xa XArray.
index Index into array.
gfp Memory allocation flags.
DESCRIPTION An interrupt-disabling version of xa_reserve.
CONTE... |
xa_set_mark(9) | NAME xa_set_mark - Set this mark on this entry.
SYNOPSIS void xa_set_mark (struct xarray *xa , unsigned long index , xa_mark_t mark );
ARGUMENTS xa XArray.
index Index of entry.
mark Mark number.
DESCRIPTION Attempting to set a mark on a NULL entry does not succeed.
CONTEXT Pro... |
xa_store(9) | NAME xa_store - Store this entry in the XArray.
SYNOPSIS void * xa_store (struct xarray *xa , unsigned long index , void *entry , gfp_t gfp );
ARGUMENTS xa XArray.
index Index into array.
entry New entry.
gfp Memory allocation flags.
DESCRIPTION After this functio... |
xa_store_bh(9) | NAME xa_store_bh - Store this entry in the XArray.
SYNOPSIS void * xa_store_bh (struct xarray *xa , unsigned long index , void *entry , gfp_t gfp );
ARGUMENTS xa XArray.
index Index into array.
entry New entry.
gfp Memory allocation flags.
DESCRIPTION This functio... |
xa_store_irq(9) | NAME xa_store_irq - Store this entry in the XArray.
SYNOPSIS void * xa_store_irq (struct xarray *xa , unsigned long index , void *entry , gfp_t gfp );
ARGUMENTS xa XArray.
index Index into array.
entry New entry.
gfp Memory allocation flags.
DESCRIPTION This funct... |
xa_store_range(9) | NAME xa_store_range - Store this entry at a range of indices in the XArray.
SYNOPSIS void * xa_store_range (struct xarray *xa , unsigned long first , unsigned long last , void *entry , gfp_t gfp );
ARGUMENTS xa XArray.
first First index to affect.
last Last index to affect.
... |
xa_tag_pointer(9) | NAME xa_tag_pointer - Create an XArray entry for a tagged pointer.
SYNOPSIS void * xa_tag_pointer (void *p , unsigned long tag );
ARGUMENTS p Plain pointer.
tag Tag value (0, 1 or 3).
DESCRIPTION If the user of the XArray prefers, they can tag their pointers instead of storing value entries... |
xa_to_value(9) | NAME xa_to_value - Get value stored in an XArray entry.
SYNOPSIS unsigned long xa_to_value (const void *entry );
ARGUMENTS entry XArray entry.
CONTEXT Any context.
RETURN The value stored in the XArray entry.
SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_is_value(9), xa_tag_pointer(9),... |
xa_untag_pointer(9) | NAME xa_untag_pointer - Turn an XArray entry into a plain pointer.
SYNOPSIS void * xa_untag_pointer (void *entry );
ARGUMENTS entry XArray entry.
DESCRIPTION If you have stored a tagged pointer in the XArray, call this function to get the untagged version of the pointer.
CONTEXT Any context.
RETURN A pointer... |
xa_update_node_t(9) | NAME xa_update_node_t - A callback function from the XArray.
SYNOPSIS void xa_update_node_t (struct xa_node *node );
ARGUMENTS node The node which is being processed
DESCRIPTION This function is called every time the XArray updates the count of present and value entries in a node. It allows advanced users to... |
xargs(1) | NAME xargs - build and execute command lines from standard input
SYNOPSIS xargs [options] [command [initial-arguments]]
DESCRIPTION This manual page documents the GNU version of xargs. xargs reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a back‐ slas... |
xargs(1p) | 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 xargs — construct argument lists and invoke utility
SYNOP... |
xas_advance(9) | NAME xas_advance - Skip over sibling entries.
SYNOPSIS void xas_advance (struct xa_state *xas , unsigned long index );
ARGUMENTS xas XArray operation state.
index Index of last sibling entry.
DESCRIPTION Move the operation state to refer to the last sibling entry. This is useful for loops th... |
xas_clear_mark(9) | NAME xas_clear_mark - Clears the mark on this entry and its parents.
SYNOPSIS void xas_clear_mark (const struct xa_state *xas , xa_mark_t mark );
ARGUMENTS xas XArray operation state.
mark Mark number.
DESCRIPTION Clears the specified mark on this entry, and walks back to the head attempting t... |
xas_create_range(9) | NAME xas_create_range - Ensure that stores to this range will succeed
SYNOPSIS void xas_create_range (struct xa_state *xas );
ARGUMENTS xas XArray operation state.
DESCRIPTION Creates all of the slots in the range covered by xas. Sets xas to create single-index entries and positions it at the beginning ... |
xas_error(9) | NAME xas_error - Return an errno stored in the xa_state.
SYNOPSIS int xas_error (const struct xa_state *xas );
ARGUMENTS xas XArray operation state.
RETURN 0 if no error has been noted. A negative errno if one has.
SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9), xa_is_value(9)... |
xas_find(9) | NAME xas_find - Find the next present entry in the XArray.
SYNOPSIS void * xas_find (struct xa_state *xas , unsigned long max );
ARGUMENTS xas XArray operation state.
max Highest index to return.
DESCRIPTION If the xas has not yet been walked to an entry, return the entry which has an index... |
xas_find_conflict(9) | NAME xas_find_conflict - Find the next present entry in a range.
SYNOPSIS void * xas_find_conflict (struct xa_state *xas );
ARGUMENTS xas XArray operation state.
DESCRIPTION The xas describes both a range and a position within that range.
CONTEXT Any context. Expects xa_lock to be held.
RETURN The next en... |
xas_find_marked(9) | NAME xas_find_marked - Find the next marked entry in the XArray.
SYNOPSIS void * xas_find_marked (struct xa_state *xas , unsigned long max , xa_mark_t mark );
ARGUMENTS xas XArray operation state.
max Highest index to return.
mark Mark number to search for.
DESCRIPTION If the x... |
xas_for_each(9) | NAME xas_for_each - Iterate over a range of an XArray.
SYNOPSIS xas_for_each (xas , entry , max );
ARGUMENTS xas XArray operation state.
entry Entry retrieved from the array.
max Maximum index to retrieve from array.
DESCRIPTION The loop body will be executed for each entry pre... |
xas_for_each_conflict(9) | NAME xas_for_each_conflict - Iterate over a range of an XArray.
SYNOPSIS xas_for_each_conflict (xas , entry );
ARGUMENTS xas XArray operation state.
entry Entry retrieved from the array.
DESCRIPTION The loop body will be executed for each entry in the XArray that lies within the range specif... |
xas_for_each_marked(9) | NAME xas_for_each_marked - Iterate over a range of an XArray.
SYNOPSIS xas_for_each_marked (xas , entry , max , mark );
ARGUMENTS xas XArray operation state.
entry Entry retrieved from the array.
max Maximum index to retrieve from array.
mark Mark to search for.
D... |
xas_free_nodes(9) | NAME xas_free_nodes - Free this node and all nodes that it references
SYNOPSIS void xas_free_nodes (struct xa_state *xas , struct xa_node *top );
ARGUMENTS xas Array operation state.
top Node to free
DESCRIPTION This node has been removed from the tree. We must now free it and all of its sub... |
xas_get_mark(9) | NAME xas_get_mark - Returns the state of this mark.
SYNOPSIS bool xas_get_mark (const struct xa_state *xas , xa_mark_t mark );
ARGUMENTS xas XArray operation state.
mark Mark number.
RETURN true if the mark is set, false if the mark is clear or xas is in an error state.
SEE ALSO Kernel file ... |
xas_get_order(9) | NAME xas_get_order - Get the order of an entry.
SYNOPSIS int xas_get_order (struct xa_state *xas );
ARGUMENTS xas XArray operation state.
DESCRIPTION Called after xas_load, the xas should not be in an error state. The xas should not be pointing to a sibling entry.
RETURN A number between 0 and 63 indicatin... |
xas_init_marks(9) | NAME xas_init_marks - Initialise all marks for the entry
SYNOPSIS void xas_init_marks (const struct xa_state *xas );
ARGUMENTS xas Array operations state.
DESCRIPTION Initialise all marks for the entry specified by xas. If we're tracking free entries with a mark, we need to set it on all entries. All other... |
xas_invalid(9) | NAME xas_invalid - Is the xas in a retry or error state?
SYNOPSIS bool xas_invalid (const struct xa_state *xas );
ARGUMENTS xas XArray operation state.
RETURN true if the xas cannot be used for operations.
SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9), xa_is_value(9), xa_tag_p... |
xas_is_node(9) | NAME xas_is_node - Does the xas point to a node?
SYNOPSIS bool xas_is_node (const struct xa_state *xas );
ARGUMENTS xas XArray operation state.
RETURN true if the xas currently references a node.
SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9), xa_is_value(9), xa_tag_pointer(... |
xas_load(9) | NAME xas_load - Load an entry from the XArray (advanced).
SYNOPSIS void * xas_load (struct xa_state *xas );
ARGUMENTS xas XArray operation state.
DESCRIPTION Usually walks the xas to the appropriate state to load the entry stored at xa_index. However, it will do nothing and return NULL if xas is in an erro... |
xas_next(9) | NAME xas_next - Move state to next index.
SYNOPSIS void * xas_next (struct xa_state *xas );
ARGUMENTS xas XArray operation state.
DESCRIPTION If the xas was in an error state, it will remain in an error state and this function will return NULL. If the xas has never been walked, it will have the effect of... |
xas_next_entry(9) | NAME xas_next_entry - Advance iterator to next present entry.
SYNOPSIS void * xas_next_entry (struct xa_state *xas , unsigned long max );
ARGUMENTS xas XArray operation state.
max Highest index to return.
DESCRIPTION xas_next_entry is an inline function to optimise xarray traversal for speed.... |
xas_next_marked(9) | NAME xas_next_marked - Advance iterator to next marked entry.
SYNOPSIS void * xas_next_marked (struct xa_state *xas , unsigned long max , xa_mark_t mark );
ARGUMENTS xas XArray operation state.
max Highest index to return.
mark Mark to search for.
DESCRIPTION xas_next_marked is... |
xas_nomem(9) | NAME xas_nomem - Allocate memory if needed.
SYNOPSIS bool xas_nomem (struct xa_state *xas , gfp_t gfp );
ARGUMENTS xas XArray operation state.
gfp Memory allocation flags.
DESCRIPTION If we need to add new nodes to the XArray, we try to allocate memory with GFP_NOWAIT while holding the lock,... |
xas_pause(9) | NAME xas_pause - Pause a walk to drop a lock.
SYNOPSIS void xas_pause (struct xa_state *xas );
ARGUMENTS xas XArray operation state.
DESCRIPTION Some users need to pause a walk and drop the lock they're holding in order to yield to a higher priority thread or carry out an operation on an entry. Those users... |
xas_prev(9) | NAME xas_prev - Move iterator to previous index.
SYNOPSIS void * xas_prev (struct xa_state *xas );
ARGUMENTS xas XArray operation state.
DESCRIPTION If the xas was in an error state, it will remain in an error state and this function will return NULL. If the xas has never been walked, it will have the effec... |
xas_reload(9) | NAME xas_reload - Refetch an entry from the xarray.
SYNOPSIS void * xas_reload (struct xa_state *xas );
ARGUMENTS xas XArray operation state.
DESCRIPTION Use this function to check that a previously loaded entry still has the same value. This is useful for the lockless pagecache lookup where we walk the arr... |
xas_reset(9) | NAME xas_reset - Reset an XArray operation state.
SYNOPSIS void xas_reset (struct xa_state *xas );
ARGUMENTS xas XArray operation state.
DESCRIPTION Resets the error or walk state of the xas so future walks of the array will start from the root. Use this if you have dropped the xarray lock and want to reuse... |
xas_retry(9) | NAME xas_retry - Retry the operation if appropriate.
SYNOPSIS bool xas_retry (struct xa_state *xas , const void *entry );
ARGUMENTS xas XArray operation state.
entry Entry from xarray.
DESCRIPTION The advanced functions may sometimes return an internal entry, such as a retry entry or a zero ent... |
xas_set(9) | NAME xas_set - Set up XArray operation state for a different index.
SYNOPSIS void xas_set (struct xa_state *xas , unsigned long index );
ARGUMENTS xas XArray operation state.
index New index into the XArray.
DESCRIPTION Move the operation state to refer to a different index. This will have the... |
xas_set_err(9) | NAME xas_set_err - Note an error in the xa_state.
SYNOPSIS void xas_set_err (struct xa_state *xas , long err );
ARGUMENTS xas XArray operation state.
err Negative error number.
DESCRIPTION Only call this function with a negative err; zero or positive errors will probably not behave the way yo... |
xas_set_mark(9) | NAME xas_set_mark - Sets the mark on this entry and its parents.
SYNOPSIS void xas_set_mark (const struct xa_state *xas , xa_mark_t mark );
ARGUMENTS xas XArray operation state.
mark Mark number.
DESCRIPTION Sets the specified mark on this entry, and walks up the tree setting it on all the anc... |
xas_set_order(9) | NAME xas_set_order - Set up XArray operation state for a multislot entry.
SYNOPSIS void xas_set_order (struct xa_state *xas , unsigned long index , unsigned int order );
ARGUMENTS xas XArray operation state.
index Target of the operation.
order Entry occupies 2^order indices.
SEE ... |
xas_set_update(9) | NAME xas_set_update - Set up XArray operation state for a callback.
SYNOPSIS void xas_set_update (struct xa_state *xas , xa_update_node_t update );
ARGUMENTS xas XArray operation state.
update Function to call when updating a node.
DESCRIPTION The XArray can notify a caller after it has updated ... |
xas_split(9) | NAME xas_split - Split a multi-index entry into smaller entries.
SYNOPSIS void xas_split (struct xa_state *xas , void *entry , unsigned int order );
ARGUMENTS xas XArray operation state.
entry New entry to store in the array.
order Current entry order.
DESCRIPTION The size of the ... |
xas_split_alloc(9) | NAME xas_split_alloc - Allocate memory for splitting an entry.
SYNOPSIS void xas_split_alloc (struct xa_state *xas , void *entry , unsigned int order , gfp_t gfp );
ARGUMENTS xas XArray operation state.
entry New entry which will be stored in the array.
order Current entry order.
... |
xas_store(9) | NAME xas_store - Store this entry in the XArray.
SYNOPSIS void * xas_store (struct xa_state *xas , void *entry );
ARGUMENTS xas XArray operation state.
entry New entry.
DESCRIPTION If xas is operating on a multi-index entry, the entry returned by this function is essentially meaningless (it ma... |
xas_try_split(9) | NAME xas_try_split - Try to split a multi-index entry.
SYNOPSIS void xas_try_split (struct xa_state *xas , void *entry , unsigned int order );
ARGUMENTS xas XArray operation state.
entry New entry to store in the array.
order Current entry order.
DESCRIPTION The size of the new ... |
xas_try_split_min_order(9) | NAME xas_try_split_min_order - Minimal split order xas_try_split() can accept
SYNOPSIS unsigned int xas_try_split_min_order (unsigned int order );
ARGUMENTS order Current entry order.
DESCRIPTION xas_try_split can split a multi-index entry to smaller than order - 1 if no new xa_node is needed. This function pr... |
xas_valid(9) | NAME xas_valid - Is the xas a valid cursor into the array?
SYNOPSIS bool xas_valid (const struct xa_state *xas );
ARGUMENTS xas XArray operation state.
RETURN true if the xas can be used for operations.
SEE ALSO Kernel file ./include/linux/xarray.h xa_mk_value(9), xa_to_value(9), xa_is_value(9), xa_tag_poin... |
xasy(1) | NAME asy - script-based vector graphics language
SYNOPSIS xasy [-x magnification] [filename]
DESCRIPTION Asymptote is a powerful descriptive vector graphics language for technical drawing, inspired by MetaPost but with an improved C++-like syntax. Asymptote provides for figures the same high-quality level of ty... |
xattr(7) | NAME xattr - Extended attributes
DESCRIPTION Extended attributes are name:value pairs associated permanently with files and directories, similar to the environment strings associated with a process. An attribute may be defined or undefined. If it is defined, its value may be empty or non-empty.
Extended at... |
xattr_full_name(9) | NAME xattr_full_name - Compute full attribute name from suffix
SYNOPSIS const char * xattr_full_name (const struct xattr_handler *handler , const char *name );
ARGUMENTS handler handler of the xattr_handler operation
name name passed to the xattr_handler operation
DESCRIPTION The get and set xat... |
xattr_handler_can_list(9) | NAME xattr_handler_can_list - check whether xattr can be listed
SYNOPSIS bool xattr_handler_can_list (const struct xattr_handler *handler , struct dentry *dentry );
ARGUMENTS handler handler for this type of xattr
dentry dentry whose inode xattr to list
DESCRIPTION Determine whether the xattr associ... |
xb_init_comms(9) | NAME xb_init_comms - Set up interrupt handler off store event channel.
SYNOPSIS int xb_init_comms (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/xen/xenbus/xenbus_comms.c xb_write(9)
April 2026 ... |
xb_write(9) | NAME xb_write - low level write
SYNOPSIS int xb_write (const void *data , unsigned int len );
ARGUMENTS data buffer to send
len length of buffer
DESCRIPTION Returns number of bytes written or -err.
SEE ALSO Kernel file ./drivers/xen/xenbus/xenbus_comms.c xb_init_comms(9)
April 2026 ... |
xbc_array_for_each_value(9) | NAME xbc_array_for_each_value - Iterate value nodes on an array
SYNOPSIS xbc_array_for_each_value (anode , value );
ARGUMENTS anode An XBC arraied value node
value A value
DESCRIPTION Iterate array value nodes and values starts from anode. This is expected to be used with xbc_find_value and xbc_n... |
xbc_calc_checksum(9) | NAME xbc_calc_checksum - Calculate checksum of bootconfig
SYNOPSIS uint32_t xbc_calc_checksum (void *data , uint32_t size );
ARGUMENTS data Bootconfig data.
size The size of the bootconfig data.
DESCRIPTION Calculate the checksum value of the bootconfig data. The checksum will be used with the... |
xbc_find_node(9) | NAME xbc_find_node - Find a node which matches the key
SYNOPSIS struct xbc_node * xbc_find_node (const char *key );
ARGUMENTS key Search key
DESCRIPTION Search a (key) node whose key matches key from whole of XBC tree and return the node if found. If not found, returns NULL.
SEE ALSO Kernel file ./include... |
xbc_find_value(9) | NAME xbc_find_value - Find a value which matches the key
SYNOPSIS const char * xbc_find_value (const char *key , struct xbc_node **vnode );
ARGUMENTS key Search key
vnode A container pointer of XBC value node.
DESCRIPTION Search a value whose key matches key from whole of XBC tree and return th... |
xbc_for_each_key_value(9) | NAME xbc_for_each_key_value - Iterate key-value pairs
SYNOPSIS xbc_for_each_key_value (knode , value );
ARGUMENTS knode Iterated key node
value Iterated value string
DESCRIPTION Iterate key-value pairs in whole XBC tree. Each key node and value string are stored in knode and value respectively.
... |
xbc_get_info(9) | NAME xbc_get_info - Get the information of loaded boot config
SYNOPSIS int xbc_get_info (int *node_size , size_t *data_size );
ARGUMENTS node_size A pointer to store the number of nodes.
data_size A pointer to store the size of bootconfig data.
DESCRIPTION Get the number of used nodes in node_size if it ... |
xbc_init(9) | NAME xbc_init - Parse given XBC file and build XBC internal tree
SYNOPSIS int xbc_init (const char *data , size_t size , const char **emsg , int *epos );
ARGUMENTS data The boot config text original data
size The size of data
emsg A pointer of const char * to store the error messa... |
xbc_node_compose_key(9) | NAME xbc_node_compose_key - Compose full key string of the XBC node
SYNOPSIS int xbc_node_compose_key (struct xbc_node *node , char *buf , size_t size );
ARGUMENTS node An XBC node.
buf A buffer to store the key.
size The size of the buf.
DESCRIPTION Compose the full-length key ... |
xbc_node_compose_key_after(9) | NAME xbc_node_compose_key_after - Compose partial key string of the XBC node
SYNOPSIS int xbc_node_compose_key_after (struct xbc_node *root , struct xbc_node *node , char *buf , size_t size );
ARGUMENTS root Root XBC node
node Target XBC node.
buf A buffer to store the key.
... |
xbc_node_find_next_key_value(9) | NAME xbc_node_find_next_key_value - Find the next key-value pair nodes
SYNOPSIS const char * xbc_node_find_next_key_value (struct xbc_node *root , struct xbc_node **leaf );
ARGUMENTS root An XBC root node
leaf A container pointer of XBC node which starts from.
DESCRIPTION Search the next lea... |
xbc_node_find_next_leaf(9) | NAME xbc_node_find_next_leaf - Find the next leaf node under given node
SYNOPSIS struct xbc_node * xbc_node_find_next_leaf (struct xbc_node *root , struct xbc_node *node );
ARGUMENTS root An XBC root node
node An XBC node which starts from.
DESCRIPTION Search the next leaf node (which means the... |
xbc_node_find_subkey(9) | NAME xbc_node_find_subkey - Find a subkey node which matches given key
SYNOPSIS struct xbc_node * xbc_node_find_subkey (struct xbc_node *parent , const char *key );
ARGUMENTS parent An XBC node.
key A key string.
DESCRIPTION Search a key node under parent which matches key. The key can contain s... |
xbc_node_find_value(9) | NAME xbc_node_find_value - Find a value node which matches given key
SYNOPSIS const char * xbc_node_find_value (struct xbc_node *parent , const char *key , struct xbc_node **vnode );
ARGUMENTS parent An XBC node.
key A key string.
vnode A container pointer of found XBC node.
DESCRI... |
xbc_node_for_each_array_value(9) | NAME xbc_node_for_each_array_value - Iterate array entries of geven key
SYNOPSIS xbc_node_for_each_array_value (node , key , anode , value );
ARGUMENTS node An XBC node.
key A key string searched under node
anode Iterated XBC node of array entry.
value Iterated value... |
xbc_node_for_each_child(9) | NAME xbc_node_for_each_child - Iterate child nodes
SYNOPSIS xbc_node_for_each_child (parent , child );
ARGUMENTS parent An XBC node.
child Iterated XBC node.
DESCRIPTION Iterate child nodes of parent. Each child nodes are stored to child. The child can be mixture of a value node and subkey nodes.... |
xbc_node_for_each_key_value(9) | NAME xbc_node_for_each_key_value - Iterate key-value pairs under a node
SYNOPSIS xbc_node_for_each_key_value (node , knode , value );
ARGUMENTS node An XBC node.
knode Iterated key node
value Iterated value string
DESCRIPTION Iterate key-value pairs under node. Each key node and va... |
xbc_node_for_each_subkey(9) | NAME xbc_node_for_each_subkey - Iterate child subkey nodes
SYNOPSIS xbc_node_for_each_subkey (parent , child );
ARGUMENTS parent An XBC node.
child Iterated XBC node.
DESCRIPTION Iterate subkey nodes of parent. Each child nodes are stored to child. The child is only the subkey node.
SEE ALSO Ker... |
xbc_node_get_child(9) | NAME xbc_node_get_child - Get the child XBC node
SYNOPSIS struct xbc_node * xbc_node_get_child (struct xbc_node *node );
ARGUMENTS node An XBC node.
DESCRIPTION Return the first child node of node. If the node has no child, return NULL.
SEE ALSO Kernel file ./lib/bootconfig.c xbc_get_info(9), xbc_root_no... |
xbc_node_get_data(9) | NAME xbc_node_get_data - Get the data of XBC node
SYNOPSIS const char * xbc_node_get_data (struct xbc_node *node );
ARGUMENTS node An XBC node.
DESCRIPTION Return the data (which is always a null terminated string) of node. If the node has invalid data, warn and return NULL.
SEE ALSO Kernel file ./lib/boo... |
xbc_node_get_next(9) | NAME xbc_node_get_next - Get the next sibling XBC node
SYNOPSIS struct xbc_node * xbc_node_get_next (struct xbc_node *node );
ARGUMENTS node An XBC node.
DESCRIPTION Return the NEXT sibling node of node. If the node has no next sibling, return NULL. Note that even if this returns NULL, it doesn't mean node ha... |
xbc_node_get_parent(9) | NAME xbc_node_get_parent - Get the parent XBC node
SYNOPSIS struct xbc_node * xbc_node_get_parent (struct xbc_node *node );
ARGUMENTS node An XBC node.
DESCRIPTION Return the parent node of node. If the node is top node of the tree, return NULL.
SEE ALSO Kernel file ./lib/bootconfig.c xbc_get_info(9), xb... |
xbc_node_get_subkey(9) | NAME xbc_node_get_subkey - Return the first subkey node if exists
SYNOPSIS struct xbc_node * xbc_node_get_subkey (struct xbc_node *node );
ARGUMENTS node Parent node
DESCRIPTION Return the first subkey node of the node. If the node has no child or only value node, this will return NULL.
SEE ALSO Kernel file... |
xbc_node_index(9) | NAME xbc_node_index - Get the index of XBC node
SYNOPSIS int xbc_node_index (struct xbc_node *node );
ARGUMENTS node A target node of getting index.
DESCRIPTION Return the index number of node in XBC node list.
SEE ALSO Kernel file ./lib/bootconfig.c xbc_get_info(9), xbc_root_node(9), xbc_node_get_parent(9... |
xbc_node_is_array(9) | NAME xbc_node_is_array - Test the node is an arraied value node
SYNOPSIS bool xbc_node_is_array (struct xbc_node *node );
ARGUMENTS node An XBC node.
DESCRIPTION Test the node is an arraied value node.
SEE ALSO Kernel file ./include/linux/bootconfig.h xbc_calc_checksum(9), xbc_node_is_value(9), xbc_node... |
xbc_node_is_key(9) | NAME xbc_node_is_key - Test the node is a key node
SYNOPSIS bool xbc_node_is_key (struct xbc_node *node );
ARGUMENTS node An XBC node.
DESCRIPTION Test the node is a key node and return true if a key node, false if not.
SEE ALSO Kernel file ./include/linux/bootconfig.h xbc_calc_checksum(9), xbc_node_is_v... |
xbc_node_is_leaf(9) | NAME xbc_node_is_leaf - Test the node is a leaf key node
SYNOPSIS bool xbc_node_is_leaf (struct xbc_node *node );
ARGUMENTS node An XBC node.
DESCRIPTION Test the node is a leaf key node which is a key node and has a value node or no child. Returns true if it is a leaf node, or false if not. Note that the le... |
xbc_node_is_value(9) | NAME xbc_node_is_value - Test the node is a value node
SYNOPSIS bool xbc_node_is_value (struct xbc_node *node );
ARGUMENTS node An XBC node.
DESCRIPTION Test the node is a value node and return true if a value node, false if not.
SEE ALSO Kernel file ./include/linux/bootconfig.h xbc_calc_checksum(9), ... |
xbc_root_node(9) | NAME xbc_root_node - Get the root node of extended boot config
SYNOPSIS struct xbc_node * xbc_root_node (void );
ARGUMENTS void no arguments
DESCRIPTION Return the address of root node of extended boot config. If the extended boot config is not initiized, return NULL.
SEE ALSO Kernel file ./lib/bootconfig.c... |
xcan_chip_start(9) | NAME xcan_chip_start - This the drivers start routine
SYNOPSIS int xcan_chip_start (struct net_device *ndev );
ARGUMENTS ndev Pointer to net_device structure
DESCRIPTION This is the drivers start routine. Based on the State of the CAN device it puts the CAN device into a proper mode.
RETURN 0 on success and... |
xcan_chip_stop(9) | NAME xcan_chip_stop - Driver stop routine
SYNOPSIS void xcan_chip_stop (struct net_device *ndev );
ARGUMENTS ndev Pointer to net_device structure
DESCRIPTION This is the drivers stop routine. It will disable the interrupts and put the device into configuration mode.
SEE ALSO Kernel file ./drivers/net/can/x... |
xcan_close(9) | NAME xcan_close - Driver close routine
SYNOPSIS int xcan_close (struct net_device *ndev );
ARGUMENTS ndev Pointer to net_device structure
RETURN 0 always
SEE ALSO Kernel file ./drivers/net/can/xilinx_can.c struct xcan_priv(9), xcan_write_reg_le(9), xcan_read_reg_le(9), xcan_write_reg_be(9), xcan_read... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.