id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
rhashtable_walk_exit(9) | NAME rhashtable_walk_exit - Free an iterator
SYNOPSIS void rhashtable_walk_exit (struct rhashtable_iter *iter );
ARGUMENTS iter Hash table Iterator
DESCRIPTION This function frees resources allocated by rhashtable_walk_enter.
SEE ALSO Kernel file ./lib/rhashtable.c rhashtable_shrink(9), rhashtable_walk_e... |
rhashtable_walk_next(9) | NAME rhashtable_walk_next - Return the next object and advance the iterator
SYNOPSIS void * rhashtable_walk_next (struct rhashtable_iter *iter );
ARGUMENTS iter Hash table iterator
DESCRIPTION Note that you must call rhashtable_walk_stop when you are finished with the walk. Returns the next object or NULL ... |
rhashtable_walk_peek(9) | NAME rhashtable_walk_peek - Return the next object but don't advance the iterator
SYNOPSIS void * rhashtable_walk_peek (struct rhashtable_iter *iter );
ARGUMENTS iter Hash table iterator
DESCRIPTION Returns the next object or NULL when the end of the table is reached. Returns -EAGAIN if resize event occurred... |
rhashtable_walk_start_check(9) | NAME rhashtable_walk_start_check - Start a hash table walk
SYNOPSIS int rhashtable_walk_start_check (struct rhashtable_iter *iter );
ARGUMENTS iter Hash table iterator
DESCRIPTION Start a hash table walk at the current iterator position. Note that we take the RCU lock in all cases including when we return... |
rhashtable_walk_stop(9) | NAME rhashtable_walk_stop - Finish a hash table walk
SYNOPSIS void rhashtable_walk_stop (struct rhashtable_iter *iter );
ARGUMENTS iter Hash table iterator
DESCRIPTION Finish a hash table walk. Does not reset the iterator to the start of the hash table.
SEE ALSO Kernel file ./lib/rhashtable.c rhashtable_... |
rhine_get_vlan_tci(9) | NAME rhine_get_vlan_tci - extract TCI from Rx data buffer
SYNOPSIS u16 rhine_get_vlan_tci (struct sk_buff *skb , int data_size );
ARGUMENTS skb pointer to sk_buff
data_size used data area of the buffer including CRC
DESCRIPTION If hardware VLAN tag extraction is enabled and the chip indicates a 802... |
rhine_init_cam_filter(9) | NAME rhine_init_cam_filter - initialize CAM filters
SYNOPSIS void rhine_init_cam_filter (struct net_device *dev );
ARGUMENTS dev network device
DESCRIPTION Initialize (disable) hardware VLAN and multicast support on this Rhine.
SEE ALSO Kernel file ./drivers/net/ethernet/via/via-rhine.c rhine_set_cam(9), rh... |
rhine_set_cam(9) | NAME rhine_set_cam - set CAM multicast filters
SYNOPSIS void rhine_set_cam (void __iomem *ioaddr , int idx , u8 *addr );
ARGUMENTS ioaddr register block of this Rhine
idx multicast CAM index [0..MCAM_SIZE-1]
addr multicast address (6 bytes)
DESCRIPTION Load addresses into multicas... |
rhine_set_cam_mask(9) | NAME rhine_set_cam_mask - set multicast CAM mask
SYNOPSIS void rhine_set_cam_mask (void __iomem *ioaddr , u32 mask );
ARGUMENTS ioaddr register block of this Rhine
mask multicast CAM mask
DESCRIPTION Mask sets multicast filters active/inactive.
SEE ALSO Kernel file ./drivers/net/ethernet/via/via... |
rhine_set_vlan_cam(9) | NAME rhine_set_vlan_cam - set CAM VLAN filters
SYNOPSIS void rhine_set_vlan_cam (void __iomem *ioaddr , int idx , u8 *addr );
ARGUMENTS ioaddr register block of this Rhine
idx VLAN CAM index [0..VCAM_SIZE-1]
addr VLAN ID (2 bytes)
DESCRIPTION Load addresses into VLAN filters.
SEE... |
rhine_set_vlan_cam_mask(9) | NAME rhine_set_vlan_cam_mask - set VLAN CAM mask
SYNOPSIS void rhine_set_vlan_cam_mask (void __iomem *ioaddr , u32 mask );
ARGUMENTS ioaddr register block of this Rhine
mask VLAN CAM mask
DESCRIPTION Mask sets VLAN filters active/inactive.
SEE ALSO Kernel file ./drivers/net/ethernet/via/via-rhin... |
rhine_update_vcam(9) | NAME rhine_update_vcam - update VLAN CAM filters
SYNOPSIS void rhine_update_vcam (struct net_device *dev );
ARGUMENTS dev rhine_private data of this Rhine
DESCRIPTION Update VLAN CAM filters to match configuration change.
SEE ALSO Kernel file ./drivers/net/ethernet/via/via-rhine.c rhine_set_cam(9), rhine_se... |
rhl_for_each_entry_rcu(9) | NAME rhl_for_each_entry_rcu - iterate over rcu hash table list of given type
SYNOPSIS rhl_for_each_entry_rcu (tpos , pos , list , member );
ARGUMENTS tpos the type * to use as a loop cursor.
pos the struct rlist_head to use as a loop cursor.
list the head of the list
memb... |
rhl_for_each_rcu(9) | NAME rhl_for_each_rcu - iterate over rcu hash table list
SYNOPSIS rhl_for_each_rcu (pos , list );
ARGUMENTS pos the struct rlist_head to use as a loop cursor.
list the head of the list
DESCRIPTION This hash chain list-traversal primitive should be used on the list returned by rhltable_lookup.
... |
rhltable_free_and_destroy(9) | NAME rhltable_free_and_destroy - free elements and destroy hash list table
SYNOPSIS void rhltable_free_and_destroy (struct rhltable *hlt , void (*free_fn)(void *ptr, void *arg) , void *arg );
ARGUMENTS hlt the hash list table to destroy
free_fn callback to release resources of element
arg ... |
rhltable_init(9) | NAME rhltable_init - initialize a new hash list table
SYNOPSIS int rhltable_init (struct rhltable *hlt , const struct rhashtable_params *params );
ARGUMENTS hlt hash list table to be initialized
params configuration parameters
DESCRIPTION Initializes a new hash list table. See documentation for... |
rhltable_insert(9) | NAME rhltable_insert - insert object into hash list table
SYNOPSIS int rhltable_insert (struct rhltable *hlt , struct rhlist_head *list , const struct rhashtable_params params );
ARGUMENTS hlt hash list table
list pointer to hash list head inside object
params hash table parameters... |
rhltable_insert_key(9) | NAME rhltable_insert_key - insert object into hash list table
SYNOPSIS int rhltable_insert_key (struct rhltable *hlt , const void *key , struct rhlist_head *list , const struct rhashtable_params params );
ARGUMENTS hlt hash list table
key the pointer to the key
list pointer to h... |
rhltable_lookup(9) | NAME rhltable_lookup - search hash list table
SYNOPSIS struct rhlist_head * rhltable_lookup (struct rhltable *hlt , const void *key , const struct rhashtable_params params );
ARGUMENTS hlt hash table
key the pointer to the key
params hash table parameters
DESCRIPTION Computes th... |
rhltable_remove(9) | NAME rhltable_remove - remove object from hash list table
SYNOPSIS int rhltable_remove (struct rhltable *hlt , struct rhlist_head *list , const struct rhashtable_params params );
ARGUMENTS hlt hash list table
list pointer to hash list head inside object
params hash table parameters... |
rhltable_walk_enter(9) | NAME rhltable_walk_enter - Initialise an iterator
SYNOPSIS void rhltable_walk_enter (struct rhltable *hlt , struct rhashtable_iter *iter );
ARGUMENTS hlt Table to walk over
iter Hash table Iterator
DESCRIPTION This function prepares a hash table walk. Note that if you restart a walk after ... |
rht_for_each(9) | NAME rht_for_each - iterate over hash chain
SYNOPSIS rht_for_each (pos , tbl , hash );
ARGUMENTS pos the struct rhash_head to use as a loop cursor.
tbl the struct bucket_table
hash the hash value / bucket index
SEE ALSO Kernel file ./include/linux/rhashtable.h struct bu... |
rht_for_each_entry(9) | NAME rht_for_each_entry - iterate over hash chain of given type
SYNOPSIS rht_for_each_entry (tpos , pos , tbl , hash , member );
ARGUMENTS tpos the type * to use as a loop cursor.
pos the struct rhash_head to use as a loop cursor.
tbl the struct bucket_table
hash ... |
rht_for_each_entry_from(9) | NAME rht_for_each_entry_from - iterate over hash chain from given head
SYNOPSIS rht_for_each_entry_from (tpos , pos , head , tbl , hash , member );
ARGUMENTS tpos the type * to use as a loop cursor.
pos the struct rhash_head to use as a loop cursor.
head the struct rhash_head to ... |
rht_for_each_entry_rcu(9) | NAME rht_for_each_entry_rcu - iterate over rcu hash chain of given type
SYNOPSIS rht_for_each_entry_rcu (tpos , pos , tbl , hash , member );
ARGUMENTS tpos the type * to use as a loop cursor.
pos the struct rhash_head to use as a loop cursor.
tbl the struct bucket_table
... |
rht_for_each_entry_rcu_from(9) | NAME rht_for_each_entry_rcu_from - iterated over rcu hash chain from given head
SYNOPSIS rht_for_each_entry_rcu_from (tpos , pos , head , tbl , hash , member );
ARGUMENTS tpos the type * to use as a loop cursor.
pos the struct rhash_head to use as a loop cursor.
head the struct r... |
rht_for_each_entry_safe(9) | NAME rht_for_each_entry_safe - safely iterate over hash chain of given type
SYNOPSIS rht_for_each_entry_safe (tpos , pos , next , tbl , hash , member );
ARGUMENTS tpos the type * to use as a loop cursor.
pos the struct rhash_head to use as a loop cursor.
next the struct rhash_hea... |
rht_for_each_from(9) | NAME rht_for_each_from - iterate over hash chain from given head
SYNOPSIS rht_for_each_from (pos , head , tbl , hash );
ARGUMENTS pos the struct rhash_head to use as a loop cursor.
head the struct rhash_head to start from
tbl the struct bucket_table
hash the hash ... |
rht_for_each_rcu(9) | NAME rht_for_each_rcu - iterate over rcu hash chain
SYNOPSIS rht_for_each_rcu (pos , tbl , hash );
ARGUMENTS pos the struct rhash_head to use as a loop cursor.
tbl the struct bucket_table
hash the hash value / bucket index
DESCRIPTION This hash chain list-traversal primitive ma... |
rht_for_each_rcu_from(9) | NAME rht_for_each_rcu_from - iterate over rcu hash chain from given head
SYNOPSIS rht_for_each_rcu_from (pos , head , tbl , hash );
ARGUMENTS pos the struct rhash_head to use as a loop cursor.
head the struct rhash_head to start from
tbl the struct bucket_table
hash ... |
rht_grow_above_100(9) | NAME rht_grow_above_100 - returns true if nelems > table-size
SYNOPSIS bool rht_grow_above_100 (const struct rhashtable *ht , const struct bucket_table *tbl );
ARGUMENTS ht hash table
tbl current table
SEE ALSO Kernel file ./include/linux/rhashtable.h struct bucket_table(9), rht_grow_... |
rht_grow_above_75(9) | NAME rht_grow_above_75 - returns true if nelems > 0.75 * table-size
SYNOPSIS bool rht_grow_above_75 (const struct rhashtable *ht , const struct bucket_table *tbl );
ARGUMENTS ht hash table
tbl current table
SEE ALSO Kernel file ./include/linux/rhashtable.h struct bucket_table(9), rht_shri... |
rht_grow_above_max(9) | NAME rht_grow_above_max - returns true if table is above maximum
SYNOPSIS bool rht_grow_above_max (const struct rhashtable *ht , const struct bucket_table *tbl );
ARGUMENTS ht hash table
tbl current table
SEE ALSO Kernel file ./include/linux/rhashtable.h struct bucket_table(9), rht_grow_... |
rht_shrink_below_30(9) | NAME rht_shrink_below_30 - returns true if nelems < 0.3 * table-size
SYNOPSIS bool rht_shrink_below_30 (const struct rhashtable *ht , const struct bucket_table *tbl );
ARGUMENTS ht hash table
tbl current table
SEE ALSO Kernel file ./include/linux/rhashtable.h struct bucket_table(9), rht... |
right_znode(9) | NAME right_znode - get the znode to the right.
SYNOPSIS struct ubifs_znode * right_znode (struct ubifs_info *c , struct ubifs_znode *znode );
ARGUMENTS c UBIFS file-system description object
znode znode
DESCRIPTION This function returns a pointer to the znode to the right of znode or NULL if ... |
rimt_get_fwnode(9) | NAME rimt_get_fwnode - Retrieve fwnode associated with an RIMT node
SYNOPSIS struct fwnode_handle * rimt_get_fwnode (struct acpi_rimt_node *node );
ARGUMENTS node RIMT table node to be looked-up
RETURN fwnode_handle pointer on success, NULL on failure
SEE ALSO Kernel file ./drivers/acpi/riscv/rimt.c rimt_set... |
rimt_iommu_configure_id(9) | NAME rimt_iommu_configure_id - Set-up IOMMU configuration for a device.
SYNOPSIS int rimt_iommu_configure_id (struct device *dev , const u32 *id_in );
ARGUMENTS dev device to configure
id_in optional input id const value pointer
RETURN 0 on success, <0 on failure
SEE ALSO Kernel file ./drivers... |
rimt_set_fwnode(9) | NAME rimt_set_fwnode - Create rimt_fwnode and use it to register iommu data in the rimt_fwnode_list
SYNOPSIS int rimt_set_fwnode (struct acpi_rimt_node *rimt_node , struct fwnode_handle *fwnode );
ARGUMENTS rimt_node RIMT table node associated with the IOMMU
fwnode fwnode associated with the RIMT node
... |
rindex(3) | NAME index, rindex - locate character in string
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <strings.h>
[[deprecated]] char *index(const char *s, int c);
[[deprecated]] char *rindex(const char *s, int c);
DESCRIPTION index() is identical to strchr(3).
rindex() is identical to strr... |
ring_buffer_alloc_read_page(9) | NAME ring_buffer_alloc_read_page - allocate a page to read from buffer
SYNOPSIS struct buffer_data_read_page * ring_buffer_alloc_read_page (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer the buffer to allocate for.
cpu the cpu buffer to allocate.
DESCRIPTION This function is used in ... |
ring_buffer_bytes_cpu(9) | NAME ring_buffer_bytes_cpu - get the number of bytes unconsumed in a cpu buffer
SYNOPSIS unsigned long ring_buffer_bytes_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer
cpu The per CPU buffer to read from.
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c rin... |
ring_buffer_commit_overrun_cpu(9) | NAME ring_buffer_commit_overrun_cpu - get the number of overruns caused by commits failing due to the buffer wrapping around while there are uncommitted events, such as during an interrupt storm.
SYNOPSIS unsigned long ring_buffer_commit_overrun_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ... |
ring_buffer_consume(9) | NAME ring_buffer_consume - return an event and consume it
SYNOPSIS struct ring_buffer_event * ring_buffer_consume (struct trace_buffer *buffer , int cpu , u64 *ts , unsigned long *lost_events );
ARGUMENTS buffer The ring buffer to get the next event from
cpu the cpu to read the buffer from
... |
ring_buffer_discard_commit(9) | NAME ring_buffer_discard_commit - discard an event that has not been committed
SYNOPSIS void ring_buffer_discard_commit (struct trace_buffer *buffer , struct ring_buffer_event *event );
ARGUMENTS buffer the ring buffer
event non committed event to discard
DESCRIPTION Sometimes an event that is in ... |
ring_buffer_dropped_events_cpu(9) | NAME ring_buffer_dropped_events_cpu - get the number of dropped events caused by the ring buffer filling up (only if RB_FL_OVERWRITE is off).
SYNOPSIS unsigned long ring_buffer_dropped_events_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer
cpu The per CPU buffer to ... |
ring_buffer_empty(9) | NAME ring_buffer_empty - is the ring buffer empty?
SYNOPSIS bool ring_buffer_empty (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to test
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_event_length(9), ring_buffer_event_data(9), ring_buffer_event_time_stamp(9), ring_buf... |
ring_buffer_empty_cpu(9) | NAME ring_buffer_empty_cpu - is a cpu buffer of a ring buffer empty?
SYNOPSIS bool ring_buffer_empty_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer
cpu The CPU buffer to test
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_event_length(9), rin... |
ring_buffer_entries(9) | NAME ring_buffer_entries - get the number of entries in a buffer
SYNOPSIS unsigned long ring_buffer_entries (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer
DESCRIPTION Returns the total number of entries in the ring buffer (all CPU entries)
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c... |
ring_buffer_entries_cpu(9) | NAME ring_buffer_entries_cpu - get the number of entries in a cpu buffer
SYNOPSIS unsigned long ring_buffer_entries_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer
cpu The per CPU buffer to get the entries from.
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c... |
ring_buffer_event_data(9) | NAME ring_buffer_event_data - return the data of the event
SYNOPSIS void * ring_buffer_event_data (struct ring_buffer_event *event );
ARGUMENTS event the event to get the data from
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_event_length(9), ring_buffer_event_time_stamp(9), ring_buff... |
ring_buffer_event_length(9) | NAME ring_buffer_event_length - return the length of the event
SYNOPSIS unsigned ring_buffer_event_length (struct ring_buffer_event *event );
ARGUMENTS event the event to get the length of
DESCRIPTION Returns the size of the data load of a data event. If the event is something other than a data event, it retu... |
ring_buffer_event_time_stamp(9) | NAME ring_buffer_event_time_stamp - return the event's current time stamp
SYNOPSIS u64 ring_buffer_event_time_stamp (struct trace_buffer *buffer , struct ring_buffer_event *event );
ARGUMENTS buffer The buffer that the event is on
event the event to get the time stamp of
DESCRIPTION Note, this mu... |
ring_buffer_free(9) | NAME ring_buffer_free - free a ring buffer.
SYNOPSIS void ring_buffer_free (struct trace_buffer *buffer );
ARGUMENTS buffer the buffer to free.
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_event_length(9), ring_buffer_event_data(9), ring_buffer_event_time_stamp(9), ring_buffer_nr_dirty... |
ring_buffer_free_read_page(9) | NAME ring_buffer_free_read_page - free an allocated read page
SYNOPSIS void ring_buffer_free_read_page (struct trace_buffer *buffer , int cpu , struct buffer_data_read_page *data_page );
ARGUMENTS buffer the buffer the page was allocate for
cpu the cpu buffer the page came from
data_page ... |
ring_buffer_iter_advance(9) | NAME ring_buffer_iter_advance - advance the iterator to the next location
SYNOPSIS void ring_buffer_iter_advance (struct ring_buffer_iter *iter );
ARGUMENTS iter The ring buffer iterator
DESCRIPTION Move the location of the iterator such that the next read will be the next location of the iterator.
SEE ALSO ... |
ring_buffer_iter_empty(9) | NAME ring_buffer_iter_empty - check if an iterator has no more to read
SYNOPSIS int ring_buffer_iter_empty (struct ring_buffer_iter *iter );
ARGUMENTS iter The iterator to check
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_event_length(9), ring_buffer_event_data(9), ring_buffer_event_... |
ring_buffer_iter_peek(9) | NAME ring_buffer_iter_peek - peek at the next event to be read
SYNOPSIS struct ring_buffer_event * ring_buffer_iter_peek (struct ring_buffer_iter *iter , u64 *ts );
ARGUMENTS iter The ring buffer iterator
ts The timestamp counter of this event.
DESCRIPTION This will return the event that will... |
ring_buffer_iter_reset(9) | NAME ring_buffer_iter_reset - reset an iterator
SYNOPSIS void ring_buffer_iter_reset (struct ring_buffer_iter *iter );
ARGUMENTS iter The iterator to reset
DESCRIPTION Resets the iterator, so that it will start from the beginning again.
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_even... |
ring_buffer_lock_reserve(9) | NAME ring_buffer_lock_reserve - reserve a part of the buffer
SYNOPSIS struct ring_buffer_event * ring_buffer_lock_reserve (struct trace_buffer *buffer , unsigned long length );
ARGUMENTS buffer the ring buffer to reserve from
length the length of the data to reserve (excluding event header)
DESCRIP... |
ring_buffer_max_event_size(9) | NAME ring_buffer_max_event_size - return the max data size of an event
SYNOPSIS unsigned long ring_buffer_max_event_size (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer.
DESCRIPTION Returns the maximum size an event can be.
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_ev... |
ring_buffer_nest_end(9) | NAME ring_buffer_nest_end - Allow to trace while nested
SYNOPSIS void ring_buffer_nest_end (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to modify
DESCRIPTION Must be called after ring_buffer_nest_start and after the ring_buffer_unlock_commit.
SEE ALSO Kernel file ./kernel/trace/ring_buf... |
ring_buffer_nest_start(9) | NAME ring_buffer_nest_start - Allow to trace while nested
SYNOPSIS void ring_buffer_nest_start (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to modify
DESCRIPTION The ring buffer has a safety mechanism to prevent recursion. But there may be a case where a trace needs to be done while t... |
ring_buffer_nr_dirty_pages(9) | NAME ring_buffer_nr_dirty_pages - get the number of used pages in the ring buffer
SYNOPSIS size_t ring_buffer_nr_dirty_pages (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring_buffer to get the number of pages from
cpu The cpu of the ring_buffer to get the number of pages from
D... |
ring_buffer_oldest_event_ts(9) | NAME ring_buffer_oldest_event_ts - get the oldest event timestamp from the buffer
SYNOPSIS u64 ring_buffer_oldest_event_ts (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer
cpu The per CPU buffer to read from.
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_... |
ring_buffer_overrun_cpu(9) | NAME ring_buffer_overrun_cpu - get the number of overruns caused by the ring buffer wrapping around (only if RB_FL_OVERWRITE is on).
SYNOPSIS unsigned long ring_buffer_overrun_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer
cpu The per CPU buffer to get the number o... |
ring_buffer_overruns(9) | NAME ring_buffer_overruns - get the number of overruns in buffer
SYNOPSIS unsigned long ring_buffer_overruns (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer
DESCRIPTION Returns the total number of overruns in the ring buffer (all CPU entries)
SEE ALSO Kernel file ./kernel/trace/ring_buffer... |
ring_buffer_peek(9) | NAME ring_buffer_peek - peek at the next event to be read
SYNOPSIS struct ring_buffer_event * ring_buffer_peek (struct trace_buffer *buffer , int cpu , u64 *ts , unsigned long *lost_events );
ARGUMENTS buffer The ring buffer to read
cpu The cpu to peak at
ts The timestamp counter... |
ring_buffer_poll_wait(9) | NAME ring_buffer_poll_wait - poll on buffer input
SYNOPSIS __poll_t ring_buffer_poll_wait (struct trace_buffer *buffer , int cpu , struct file *filp , poll_table *poll_table , int full );
ARGUMENTS buffer buffer to wait on
cpu the cpu buffer to wait on
filp the file descriptor
... |
ring_buffer_read_events_cpu(9) | NAME ring_buffer_read_events_cpu - get the number of events successfully read
SYNOPSIS unsigned long ring_buffer_read_events_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer
cpu The per CPU buffer to get the number of events read
SEE ALSO Kernel file ./kernel/tr... |
ring_buffer_read_finish(9) | NAME ring_buffer_read_finish - finish reading the iterator of the buffer
SYNOPSIS void ring_buffer_read_finish (struct ring_buffer_iter *iter );
ARGUMENTS iter The iterator retrieved by ring_buffer_start
DESCRIPTION This re-enables resizing of the buffer, and frees the iterator.
SEE ALSO Kernel file ./ke... |
ring_buffer_read_page(9) | NAME ring_buffer_read_page - extract a page from the ring buffer
SYNOPSIS int ring_buffer_read_page (struct trace_buffer *buffer , struct buffer_data_read_page *data_page , size_t len , int cpu , int full );
ARGUMENTS buffer buffer to extract from
data_page the page to use allocated from ring_buffer_al... |
ring_buffer_read_page_data(9) | NAME ring_buffer_read_page_data - get pointer to the data in the page.
SYNOPSIS void * ring_buffer_read_page_data (struct buffer_data_read_page *page );
ARGUMENTS page the page to get the data from
DESCRIPTION Returns pointer to the actual data in this page.
SEE ALSO Kernel file ./kernel/trace/ring_buffe... |
ring_buffer_read_start(9) | NAME ring_buffer_read_start - start a non consuming read of the buffer
SYNOPSIS struct ring_buffer_iter * ring_buffer_read_start (struct trace_buffer *buffer , int cpu , gfp_t flags );
ARGUMENTS buffer The ring buffer to read from
cpu The cpu buffer to iterate over
flags gfp flags t... |
ring_buffer_record_disable(9) | NAME ring_buffer_record_disable - stop all writes into the buffer
SYNOPSIS void ring_buffer_record_disable (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to stop writes to.
DESCRIPTION This prevents all writes to the buffer. Any attempt to write to the buffer after this will fail and return NU... |
ring_buffer_record_disable_cpu(9) | NAME ring_buffer_record_disable_cpu - stop all writes into the cpu_buffer
SYNOPSIS void ring_buffer_record_disable_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer to stop writes to.
cpu The CPU buffer to stop
DESCRIPTION This prevents all writes to the buffer. Any ... |
ring_buffer_record_enable(9) | NAME ring_buffer_record_enable - enable writes to the buffer
SYNOPSIS void ring_buffer_record_enable (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to enable writes
DESCRIPTION Note, multiple disables will need the same number of enables to truly enable the writing (much like preempt_disable).... |
ring_buffer_record_enable_cpu(9) | NAME ring_buffer_record_enable_cpu - enable writes to the buffer
SYNOPSIS void ring_buffer_record_enable_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer to enable writes
cpu The CPU to enable.
DESCRIPTION Note, multiple disables will need the same number of enables... |
ring_buffer_record_is_on(9) | NAME ring_buffer_record_is_on - return true if the ring buffer can write
SYNOPSIS bool ring_buffer_record_is_on (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to see if write is enabled
DESCRIPTION Returns true if the ring buffer is in a state that it accepts writes.
SEE ALSO Kernel file ... |
ring_buffer_record_is_on_cpu(9) | NAME ring_buffer_record_is_on_cpu - return true if the ring buffer can write
SYNOPSIS bool ring_buffer_record_is_on_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer to see if write is enabled
cpu The CPU to test if the ring buffer can write too
DESCRIPTION Returns t... |
ring_buffer_record_is_set_on(9) | NAME ring_buffer_record_is_set_on - return true if the ring buffer is set writable
SYNOPSIS bool ring_buffer_record_is_set_on (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to see if write is set enabled
DESCRIPTION Returns true if the ring buffer is set writable by ring_buffer_record_on. No... |
ring_buffer_record_off(9) | NAME ring_buffer_record_off - stop all writes into the buffer
SYNOPSIS void ring_buffer_record_off (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to stop writes to.
DESCRIPTION This prevents all writes to the buffer. Any attempt to write to the buffer after this will fail and return NULL. Th... |
ring_buffer_record_on(9) | NAME ring_buffer_record_on - restart writes into the buffer
SYNOPSIS void ring_buffer_record_on (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to start writes to.
DESCRIPTION This enables all writes to the buffer that was disabled by ring_buffer_record_off. This is different than ring_buf... |
ring_buffer_reset(9) | NAME ring_buffer_reset - reset a ring buffer
SYNOPSIS void ring_buffer_reset (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to reset all cpu buffers
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_event_length(9), ring_buffer_event_data(9), ring_buffer_event_time_stamp(9)... |
ring_buffer_reset_cpu(9) | NAME ring_buffer_reset_cpu - reset a ring buffer per CPU buffer
SYNOPSIS void ring_buffer_reset_cpu (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer to reset a per cpu buffer of
cpu The CPU buffer to be reset
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_... |
ring_buffer_reset_online_cpus(9) | NAME ring_buffer_reset_online_cpus - reset a ring buffer per CPU buffer
SYNOPSIS void ring_buffer_reset_online_cpus (struct trace_buffer *buffer );
ARGUMENTS buffer The ring buffer to reset a per cpu buffer of
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_event_length(9), ring_buffer_even... |
ring_buffer_resize(9) | NAME ring_buffer_resize - resize the ring buffer
SYNOPSIS int ring_buffer_resize (struct trace_buffer *buffer , unsigned long size , int cpu_id );
ARGUMENTS buffer the buffer to resize.
size the new size.
cpu_id the cpu buffer to resize
DESCRIPTION Minimum size is 2 * buffer->subbuf_... |
ring_buffer_size(9) | NAME ring_buffer_size - return the size of the ring buffer (in bytes)
SYNOPSIS unsigned long ring_buffer_size (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer.
cpu The CPU to get ring buffer size from.
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_buffer_event_... |
ring_buffer_subbuf_order_get(9) | NAME ring_buffer_subbuf_order_get - get order of system sub pages in one buffer page.
SYNOPSIS int ring_buffer_subbuf_order_get (struct trace_buffer *buffer );
ARGUMENTS buffer The ring_buffer to get the system sub page order from
DESCRIPTION By default, one ring buffer sub page equals to one system page. This ... |
ring_buffer_subbuf_order_set(9) | NAME ring_buffer_subbuf_order_set - set the size of ring buffer sub page.
SYNOPSIS int ring_buffer_subbuf_order_set (struct trace_buffer *buffer , int order );
ARGUMENTS buffer The ring_buffer to set the new page size.
order Order of the system pages in one sub buffer page
DESCRIPTION By default,... |
ring_buffer_subbuf_size_get(9) | NAME ring_buffer_subbuf_size_get - get size of the sub buffer.
SYNOPSIS int ring_buffer_subbuf_size_get (struct trace_buffer *buffer );
ARGUMENTS buffer the buffer to get the sub buffer size from
DESCRIPTION Returns size of the sub buffer, in bytes.
SEE ALSO Kernel file ./kernel/trace/ring_buffer.c ring_... |
ring_buffer_swap_cpu(9) | NAME ring_buffer_swap_cpu - swap a CPU buffer between two ring buffers
SYNOPSIS int ring_buffer_swap_cpu (struct trace_buffer *buffer_a , struct trace_buffer *buffer_b , int cpu );
ARGUMENTS buffer_a One buffer to swap with
buffer_b The other buffer to swap with
cpu the CPU of the buffer... |
ring_buffer_unlock_commit(9) | NAME ring_buffer_unlock_commit - commit a reserved
SYNOPSIS int ring_buffer_unlock_commit (struct trace_buffer *buffer );
ARGUMENTS buffer The buffer to commit to
DESCRIPTION This commits the data to the ring buffer, and releases any locks held. Must be paired with ring_buffer_lock_reserve.
SEE ALSO Kernel ... |
ring_buffer_wait(9) | NAME ring_buffer_wait - wait for input to the ring buffer
SYNOPSIS int ring_buffer_wait (struct trace_buffer *buffer , int cpu , int full , ring_buffer_cond_fn cond , void *data );
ARGUMENTS buffer buffer to wait on
cpu the cpu buffer to wait on
full wait until the percentage of pa... |
ring_buffer_wake_waiters(9) | NAME ring_buffer_wake_waiters - wake up any waiters on this ring buffer
SYNOPSIS void ring_buffer_wake_waiters (struct trace_buffer *buffer , int cpu );
ARGUMENTS buffer The ring buffer to wake waiters on
cpu The CPU buffer to wake waiters on
DESCRIPTION In the case of a file that represents a r... |
ring_buffer_write(9) | NAME ring_buffer_write - write data to the buffer without reserving
SYNOPSIS int ring_buffer_write (struct trace_buffer *buffer , unsigned long length , void *data );
ARGUMENTS buffer The ring buffer to write to.
length The length of the data being written (excluding the event header)
data ... |
ring_fl_db(9) | NAME ring_fl_db - righ doorbell on free list
SYNOPSIS void ring_fl_db (struct adapter *adapter , struct sge_fl *fl );
ARGUMENTS adapter the adapter
fl the Free List whose doorbell should be rung ...
DESCRIPTION Tell the Scatter Gather Engine that there are new free list entries available.
SEE A... |
ring_tx_db(9) | NAME ring_tx_db - check and potentially ring a TX queue's doorbell
SYNOPSIS void ring_tx_db (struct adapter *adapter , struct sge_txq *tq , int n );
ARGUMENTS adapter the adapter
tq the TX queue
n number of new descriptors to give to HW
DESCRIPTION Ring the doorbel for a TX que... |
rint(3) | NAME nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl - round to nearest integer
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double nearbyint(double x);
float nearbyintf(float x);
long double nearbyintl(long double x);
double rint(double x);
float rintf(float ... |
rint(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 rint, rintf, rintl — round-to-nearest integral value
SYNOPSIS ... |
rintf(3) | NAME nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl - round to nearest integer
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double nearbyint(double x);
float nearbyintf(float x);
long double nearbyintl(long double x);
double rint(double x);
float rintf(float ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.