id
stringlengths
4
63
text
stringlengths
153
8.81M
liquidio_fix_features(9)
NAME liquidio_fix_features - Net device fix features SYNOPSIS netdev_features_t liquidio_fix_features (struct net_device *netdev , netdev_features_t request ); ARGUMENTS netdev pointer to network device request features requested RETURN updated features list SEE ALSO Kernel file ./drivers/net/eth...
liquidio_init(9)
NAME liquidio_init - Entry point for the liquidio module SYNOPSIS int liquidio_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9), force_io_queues_off(9), pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_sta...
liquidio_init_nic_module(9)
NAME liquidio_init_nic_module - initialize the NIC SYNOPSIS int liquidio_init_nic_module (struct octeon_device *oct ); ARGUMENTS oct octeon device DESCRIPTION This initialization routine is called once the Octeon device application is up and running SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liqui...
liquidio_init_pci(9)
NAME liquidio_init_pci - register PCI driver SYNOPSIS int liquidio_init_pci (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9), force_io_queues_off(9), pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_status(9), ...
liquidio_legacy_intr_handler(9)
NAME liquidio_legacy_intr_handler - Interrupt handler for octeon SYNOPSIS irqreturn_t liquidio_legacy_intr_handler (int __maybe_unused irq , void *dev ); ARGUMENTS irq unused dev octeon device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_core.c lio_delete_glists(9), lio...
liquidio_napi_drv_callback(9)
NAME liquidio_napi_drv_callback - callback when receive interrupt occurs and we are in NAPI mode SYNOPSIS void liquidio_napi_drv_callback (void *arg ); ARGUMENTS arg pointer to octeon output queue SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_core.c lio_delete_glists(9), lio_setup_g...
liquidio_napi_poll(9)
NAME liquidio_napi_poll - Entry point for NAPI polling SYNOPSIS int liquidio_napi_poll (struct napi_struct *napi , int budget ); ARGUMENTS napi NAPI structure budget maximum number of items to process SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_core.c lio_delete_glists(9), ...
liquidio_open(9)
NAME liquidio_open - Net device open for LiquidIO SYNOPSIS int liquidio_open (struct net_device *netdev ); ARGUMENTS netdev network device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_status(9), stop_pci_io(9), liquidio_pci...
liquidio_pcie_error_detected(9)
NAME liquidio_pcie_error_detected - called when PCI error is detected SYNOPSIS pci_ers_result_t liquidio_pcie_error_detected (struct pci_dev *pdev , pci_channel_state_t state ); ARGUMENTS pdev Pointer to PCI device state The current pci connection state DESCRIPTION This function is called after ...
liquidio_pcie_mmio_enabled(9)
NAME liquidio_pcie_mmio_enabled - mmio handler SYNOPSIS pci_ers_result_t liquidio_pcie_mmio_enabled (struct pci_dev __maybe_unused *pdev ); ARGUMENTS pdev Pointer to PCI device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9), force_io_queues_off(9), pci...
liquidio_pcie_resume(9)
NAME liquidio_pcie_resume - called when traffic can start flowing again. SYNOPSIS void liquidio_pcie_resume (struct pci_dev __maybe_unused *pdev ); ARGUMENTS pdev Pointer to PCI device DESCRIPTION This callback is called when the error recovery driver tells us that its OK to resume normal operation. Implement...
liquidio_pcie_slot_reset(9)
NAME liquidio_pcie_slot_reset - called after the pci bus has been reset. SYNOPSIS pci_ers_result_t liquidio_pcie_slot_reset (struct pci_dev __maybe_unused *pdev ); ARGUMENTS pdev Pointer to PCI device DESCRIPTION Restart the card from scratch, as if from a cold-boot. Implementation resembles the first-half of...
liquidio_probe(9)
NAME liquidio_probe - PCI probe handler SYNOPSIS int liquidio_probe (struct pci_dev *pdev , const struct pci_device_id __maybe_unused *ent ); ARGUMENTS pdev PCI device structure ent unused SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9),...
liquidio_ptp_adjfine(9)
NAME liquidio_ptp_adjfine - Adjust ptp frequency SYNOPSIS int liquidio_ptp_adjfine (struct ptp_clock_info *ptp , long scaled_ppm ); ARGUMENTS ptp PTP clock info scaled_ppm how much to adjust by, in scaled parts-per-million DESCRIPTION Scaled parts per million is ppm with a 16-bit binary fractional f...
liquidio_ptp_adjtime(9)
NAME liquidio_ptp_adjtime - Adjust ptp time SYNOPSIS int liquidio_ptp_adjtime (struct ptp_clock_info *ptp , s64 delta ); ARGUMENTS ptp PTP clock info delta how much to adjust by, in nanosecs SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9)...
liquidio_ptp_enable(9)
NAME liquidio_ptp_enable - Check if PTP is enabled SYNOPSIS int liquidio_ptp_enable (struct ptp_clock_info __maybe_unused *ptp , struct ptp_clock_request __maybe_unused *rq , int __maybe_unused on ); ARGUMENTS ptp PTP clock info rq request on is it on SEE ALSO Kernel file ...
liquidio_ptp_gettime(9)
NAME liquidio_ptp_gettime - Get hardware clock time, including any adjustment SYNOPSIS int liquidio_ptp_gettime (struct ptp_clock_info *ptp , struct timespec64 *ts ); ARGUMENTS ptp PTP clock info ts timespec SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_cons...
liquidio_ptp_init(9)
NAME liquidio_ptp_init - Init PTP clock SYNOPSIS void liquidio_ptp_init (struct octeon_device *oct ); ARGUMENTS oct octeon device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9), force_io_queues_off(9), pcierror_quiesce_device(9), cleanup_aer_uncorrect...
liquidio_ptp_settime(9)
NAME liquidio_ptp_settime - Set hardware clock time. Reset adjustment SYNOPSIS int liquidio_ptp_settime (struct ptp_clock_info *ptp , const struct timespec64 *ts ); ARGUMENTS ptp PTP clock info ts timespec SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_consol...
liquidio_push_packet(9)
NAME liquidio_push_packet - Routine to push packets arriving on Octeon interface upto network layer. SYNOPSIS void liquidio_push_packet (u32 __maybe_unused octeon_id , void *skbuff , u32 len , union octeon_rh *rh , void *param , void *arg ); ARGUMENTS octeon_id octeon device id. skbuff skbuff struct to...
liquidio_remove(9)
NAME liquidio_remove - Cleans up resources at unload time SYNOPSIS void liquidio_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device structure SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9), force_io_queues_off(9), pcierror_quiesce_device(9), cle...
liquidio_schedule_droq_pkt_handlers(9)
NAME liquidio_schedule_droq_pkt_handlers - Droq packet processor sceduler SYNOPSIS void liquidio_schedule_droq_pkt_handlers (struct octeon_device *oct ); ARGUMENTS oct octeon device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_core.c lio_delete_glists(9), lio_setup_glists(9), octeon_s...
liquidio_set_features(9)
NAME liquidio_set_features - Net device set features SYNOPSIS int liquidio_set_features (struct net_device *netdev , netdev_features_t features ); ARGUMENTS netdev pointer to network device features features to enable/disable SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c oc...
liquidio_set_mac(9)
NAME liquidio_set_mac - Net device set_mac_address SYNOPSIS int liquidio_set_mac (struct net_device *netdev , void *p ); ARGUMENTS netdev network device p opaque pointer to sockaddr SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanu...
liquidio_set_mcast_list(9)
NAME liquidio_set_mcast_list - Net device set_multicast_list SYNOPSIS void liquidio_set_mcast_list (struct net_device *netdev ); ARGUMENTS netdev network device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_status(9), stop_p...
liquidio_set_rxcsum_command(9)
NAME liquidio_set_rxcsum_command - Sending command to enable/disable RX checksum offload SYNOPSIS int liquidio_set_rxcsum_command (struct net_device *netdev , int command , u8 rx_cmd ); ARGUMENTS netdev pointer to network device command OCTNET_CMD_TNL_RX_CSUM_CTL rx_cmd OCTNET_CMD_RXCSUM...
liquidio_setup_io_queues(9)
NAME liquidio_setup_io_queues - Setup input and output queues SYNOPSIS int liquidio_setup_io_queues (struct octeon_device *octeon_dev , int ifidx , u32 num_iqs , u32 num_oqs ); ARGUMENTS octeon_dev octeon device ifidx Interface index num_iqs input io queue count num_oqs output i...
liquidio_stop(9)
NAME liquidio_stop - jNet device stop for LiquidIO SYNOPSIS int liquidio_stop (struct net_device *netdev ); ARGUMENTS netdev network device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_status(9), stop_pci_io(9), liquidio_pc...
liquidio_stop_nic_module(9)
NAME liquidio_stop_nic_module - Stop complete NIC functionality SYNOPSIS int liquidio_stop_nic_module (struct octeon_device *oct ); ARGUMENTS oct octeon device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_status(9), stop...
liquidio_tx_timeout(9)
NAME liquidio_tx_timeout - Network device Tx timeout SYNOPSIS void liquidio_tx_timeout (struct net_device *netdev , unsigned int txqueue ); ARGUMENTS netdev pointer to network device txqueue index of the hung transmit queue SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c ...
liquidio_vf_probe(9)
NAME liquidio_vf_probe - PCI probe handler SYNOPSIS int liquidio_vf_probe (struct pci_dev *pdev , const struct pci_device_id __maybe_unused *ent ); ARGUMENTS pdev PCI device structure ent unused SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_devic...
liquidio_vf_remove(9)
NAME liquidio_vf_remove - Cleans up resources at unload time SYNOPSIS void liquidio_vf_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device structure SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_status(9), stop_pci_i...
liquidio_vxlan_port_command(9)
NAME liquidio_vxlan_port_command - Sending command to add/delete VxLAN UDP port to firmware SYNOPSIS int liquidio_vxlan_port_command (struct net_device *netdev , int command , u16 vxlan_port , u8 vxlan_cmd_bit ); ARGUMENTS netdev pointer to network device command OCTNET_CMD_VXLAN_PORT_CONFIG ...
liquidio_xmit(9)
NAME liquidio_xmit - Transmit networks packets to the Octeon interface SYNOPSIS netdev_tx_t liquidio_xmit (struct sk_buff *skb , struct net_device *netdev ); ARGUMENTS skb skbuff struct to be passed to network layer. netdev pointer to network device returns whether the packet was transmitted to t...
lirc(4)
NAME lirc - lirc devices DESCRIPTION The /dev/lirc* character devices provide a low-level bidirectional interface to infra-red (IR) remotes. Most of these devices can receive, and some can send. When receiving or sending data, the driver works in two dif‐ ferent modes depending on the underlying hardware. S...
lirc_raw_event(9)
NAME lirc_raw_event - Send raw IR data to lirc to be relayed to userspace SYNOPSIS void lirc_raw_event (struct rc_dev *dev , struct ir_raw_event ev ); ARGUMENTS dev the struct rc_dev descriptor of the device ev the struct ir_raw_event descriptor of the pulse/space SEE ALSO Kernel file ./driv...
lirc_scancode_event(9)
NAME lirc_scancode_event - Send scancode data to lirc to be relayed to userspace. This can be called in atomic context. SYNOPSIS void lirc_scancode_event (struct rc_dev *dev , struct lirc_scancode *lsc ); ARGUMENTS dev the struct rc_dev descriptor of the device lsc the struct lirc_scancode des...
lis3lv02d_acpi_init(9)
NAME lis3lv02d_acpi_init - initialize the device for ACPI SYNOPSIS int lis3lv02d_acpi_init (struct lis3lv02d *lis3 ); ARGUMENTS lis3 pointer to the device struct DESCRIPTION Returns 0 on success. SEE ALSO Kernel file ./drivers/platform/x86/hp/hp_accel.c lis3lv02d_acpi_read(9), lis3lv02d_acpi_write(9) April ...
lis3lv02d_acpi_read(9)
NAME lis3lv02d_acpi_read - ACPI ALRD method: read a register SYNOPSIS int lis3lv02d_acpi_read (struct lis3lv02d *lis3 , int reg , u8 *ret ); ARGUMENTS lis3 pointer to the device struct reg the register to read ret result of the operation DESCRIPTION Returns 0 on success. SEE A...
lis3lv02d_acpi_write(9)
NAME lis3lv02d_acpi_write - ACPI ALWR method: write to a register SYNOPSIS int lis3lv02d_acpi_write (struct lis3lv02d *lis3 , int reg , u8 val ); ARGUMENTS lis3 pointer to the device struct reg the register to write to val the value to write DESCRIPTION Returns 0 on success. S...
lis3lv02d_get_axis(9)
NAME lis3lv02d_get_axis - For the given axis, give the value converted SYNOPSIS int lis3lv02d_get_axis (s8 axis , int hw_values[3] ); ARGUMENTS axis 1,2,3 - can also be negative hw_values raw values returned by the hardware DESCRIPTION Returns the converted value. SEE ALSO Kernel file ./drivers/mis...
lis3lv02d_get_xyz(9)
NAME lis3lv02d_get_xyz - Get X, Y and Z axis values from the accelerometer SYNOPSIS void lis3lv02d_get_xyz (struct lis3lv02d *lis3 , int *x , int *y , int *z ); ARGUMENTS lis3 pointer to the device struct x where to store the X axis value y where to store the Y axis value ...
list(3)
NAME LIST_EMPTY, LIST_ENTRY, LIST_FIRST, LIST_FOREACH, LIST_HEAD, LIST_HEAD_INITIALIZER, LIST_INIT, LIST_INSERT_AFTER, LIST_INSERT_BEFORE, LIST_INSERT_HEAD, LIST_NEXT, LIST_REMOVE - implementation of a doubly linked list LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/queue.h> LIST_ENTRY(TYPE); ...
list_add(9)
NAME list_add - add a new entry SYNOPSIS void list_add (struct list_head *new , struct list_head *head ); ARGUMENTS new new entry to be added head list head to add it after DESCRIPTION Insert a new entry after the specified head. This is good for implementing stacks. SEE ALSO Kernel file ./t...
list_add_rcu(9)
NAME list_add_rcu - add a new entry to rcu-protected list SYNOPSIS void list_add_rcu (struct list_head *new , struct list_head *head ); ARGUMENTS new new entry to be added head list head to add it after DESCRIPTION Insert a new entry after the specified head. This is good for implementing s...
list_add_tail(9)
NAME list_add_tail - add a new entry SYNOPSIS void list_add_tail (struct list_head *new , struct list_head *head ); ARGUMENTS new new entry to be added head list head to add it before DESCRIPTION Insert a new entry before the specified head. This is useful for implementing queues. SEE ALSO K...
list_add_tail_rcu(9)
NAME list_add_tail_rcu - add a new entry to rcu-protected list SYNOPSIS void list_add_tail_rcu (struct list_head *new , struct list_head *head ); ARGUMENTS new new entry to be added head list head to add it before DESCRIPTION Insert a new entry before the specified head. This is useful for ...
list_bidir_del_rcu(9)
NAME list_bidir_del_rcu - deletes entry from list without re-initialization SYNOPSIS void list_bidir_del_rcu (struct list_head *entry ); ARGUMENTS entry the element to delete from the list. DESCRIPTION In contrast to list_del_rcu doesn't poison the prev pointer thus allowing backwards traversal via list_bidir_...
list_bulk_move_tail(9)
NAME list_bulk_move_tail - move a subsection of a list to its tail SYNOPSIS void list_bulk_move_tail (struct list_head *head , struct list_head *first , struct list_head *last ); ARGUMENTS head the head that will follow our entry first first entry to move last last entry to move, c...
list_count_nodes(9)
NAME list_count_nodes - count nodes in the list SYNOPSIS size_t list_count_nodes (struct list_head *head ); ARGUMENTS head the head for your list. SEE ALSO Kernel file ./include/linux/list.h LIST_HEAD_INIT(9), LIST_HEAD(9), INIT_LIST_HEAD(9), list_add(9), list_add_tail(9), list_del(9), list_replace(9), ...
list_cut_before(9)
NAME list_cut_before - cut a list into two, before given entry SYNOPSIS void list_cut_before (struct list_head *list , struct list_head *head , struct list_head *entry ); ARGUMENTS list a new list to add all removed entries head a list with entries entry an entry within head, could...
list_cut_position(9)
NAME list_cut_position - cut a list into two SYNOPSIS void list_cut_position (struct list_head *list , struct list_head *head , struct list_head *entry ); ARGUMENTS list a new list to add all removed entries head a list with entries entry an entry within head, could be the head its...
list_del(9)
NAME list_del - deletes entry from list. SYNOPSIS void list_del (struct list_head *entry ); ARGUMENTS entry the element to delete from the list. NOTE list_empty on entry does not return true after this, the entry is in an undefined state. SEE ALSO Kernel file ./tools/usb/usbip/libsrc/list.h list_add(9), list_...
list_del_init(9)
NAME list_del_init - deletes entry from list and reinitialize it. SYNOPSIS void list_del_init (struct list_head *entry ); ARGUMENTS entry the element to delete from the list. SEE ALSO Kernel file ./tools/include/linux/list.h list_add(9), list_add_tail(9), list_replace(9), list_move(9), list_move_tail(9),...
list_del_init_careful(9)
NAME list_del_init_careful - deletes entry from list and reinitialize it. SYNOPSIS void list_del_init_careful (struct list_head *entry ); ARGUMENTS entry the element to delete from the list. DESCRIPTION This is the same as list_del_init, except designed to be used together with list_empty_careful in a way...
list_del_range(9)
NAME list_del_range - deletes range of entries from list. SYNOPSIS void list_del_range (struct list_head *begin , struct list_head *end ); ARGUMENTS begin first element in the range to delete from the list. end last element in the range to delete from the list. NOTE list_empty on the range of e...
list_del_rcu(9)
NAME list_del_rcu - deletes entry from list without re-initialization SYNOPSIS void list_del_rcu (struct list_head *entry ); ARGUMENTS entry the element to delete from the list. NOTE list_empty on entry does not return true after this, the entry is in an undefined state. It is useful for RCU based lockfree t...
list_empty(9)
NAME list_empty - tests whether a list is empty SYNOPSIS int list_empty (const struct list_head *head ); ARGUMENTS head the list to test. SEE ALSO Kernel file ./tools/include/linux/list.h list_add(9), list_add_tail(9), list_replace(9), list_del_init(9), list_move(9), list_move_tail(9), list_is_first(9), li...
list_empty_careful(9)
NAME list_empty_careful - tests whether a list is empty and not being modified SYNOPSIS int list_empty_careful (const struct list_head *head ); ARGUMENTS head the list to test DESCRIPTION tests whether a list is empty _and_ checks that no other CPU might be in the process of modifying either member (next or p...
list_entry(9)
NAME list_entry - get the struct for this entry SYNOPSIS list_entry (ptr , type , member ); ARGUMENTS ptr the struct list_head pointer. type the type of the struct this is embedded in. member the name of the list_head within the struct. SEE ALSO Kernel file ./tools/usb/usbip/libsr...
list_entry_is_head(9)
NAME list_entry_is_head - test if the entry points to the head of the list SYNOPSIS list_entry_is_head (pos , head , member ); ARGUMENTS pos the type * to cursor head the head for your list. member the name of the list_head within the struct. SEE ALSO Kernel file ./scripts/inc...
list_entry_lockless(9)
NAME list_entry_lockless - get the struct for this entry SYNOPSIS list_entry_lockless (ptr , type , member ); ARGUMENTS ptr the struct list_head pointer. type the type of the struct this is embedded in. member the name of the list_head within the struct. DESCRIPTION This primitiv...
list_entry_rcu(9)
NAME list_entry_rcu - get the struct for this entry SYNOPSIS list_entry_rcu (ptr , type , member ); ARGUMENTS ptr the struct list_head pointer. type the type of the struct this is embedded in. member the name of the list_head within the struct. DESCRIPTION This primitive may safel...
list_find_cmd(9)
NAME list_find_cmd - test for presence of a command in a linked list SYNOPSIS bool list_find_cmd (struct list_head *haystack , struct scsi_cmnd *needle ); ARGUMENTS haystack list of commands needle command to search for SEE ALSO Kernel file ./drivers/scsi/NCR5380.c initialize_SCp(9), NCR5380_poll_po...
list_first_entry(9)
NAME list_first_entry - get the first element from a list SYNOPSIS list_first_entry (ptr , type , member ); ARGUMENTS ptr the list head to take the element from. type the type of the struct this is embedded in. member the name of the list_head within the struct. DESCRIPTION Note, ...
list_first_entry_or_null(9)
NAME list_first_entry_or_null - get the first element from a list SYNOPSIS list_first_entry_or_null (ptr , type , member ); ARGUMENTS ptr the list head to take the element from. type the type of the struct this is embedded in. member the name of the list_head within the struct. DE...
list_first_or_null_rcu(9)
NAME list_first_or_null_rcu - get the first element from a list SYNOPSIS list_first_or_null_rcu (ptr , type , member ); ARGUMENTS ptr the list head to take the element from. type the type of the struct this is embedded in. member the name of the list_head within the struct. DESCRI...
list_for_each(9)
NAME list_for_each - iterate over a list SYNOPSIS list_for_each (pos , head ); ARGUMENTS pos the struct list_head to use as a loop cursor. head the head for your list. SEE ALSO Kernel file ./tools/usb/usbip/libsrc/list.h list_add(9), list_del(9), list_entry(9), list_for_each_safe(9), container...
list_for_each_continue(9)
NAME list_for_each_continue - continue iteration over a list SYNOPSIS list_for_each_continue (pos , head ); ARGUMENTS pos the struct list_head to use as a loop cursor. head the head for your list. DESCRIPTION Continue to iterate over a list, continuing after the current position. SEE ALSO Ker...
list_for_each_cookie(9)
NAME list_for_each_cookie - iterate over a list with cookie. SYNOPSIS list_for_each_cookie (pos , head ); ARGUMENTS pos the struct list_head to use as a loop cursor. head the head for your list. SEE ALSO Kernel file ./security/tomoyo/common.h tomoyo_read_lock(9), tomoyo_read_unlock(9), to...
list_for_each_entry(9)
NAME list_for_each_entry - iterate over list of given type SYNOPSIS list_for_each_entry (pos , head , member ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_head within the struct. SEE ALSO Kernel file ./tools/include/l...
list_for_each_entry_continue(9)
NAME list_for_each_entry_continue - continue iteration over list of given type SYNOPSIS list_for_each_entry_continue (pos , head , member ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_head within the struct. DESCRIPTI...
list_for_each_entry_continue_rcu(9)
NAME list_for_each_entry_continue_rcu - continue iteration over list of given type SYNOPSIS list_for_each_entry_continue_rcu (pos , head , member ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_head within the struct. D...
list_for_each_entry_continue_reverse(9)
NAME list_for_each_entry_continue_reverse - iterate backwards from the given point SYNOPSIS list_for_each_entry_continue_reverse (pos , head , member ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_head within the struct...
list_for_each_entry_from(9)
NAME list_for_each_entry_from - iterate over list of given type from the current point SYNOPSIS list_for_each_entry_from (pos , head , member ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_head within the struct. DESCR...
list_for_each_entry_from_rcu(9)
NAME list_for_each_entry_from_rcu - iterate over a list from current point SYNOPSIS list_for_each_entry_from_rcu (pos , head , member ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_node within the struct. DESCRIPTION I...
list_for_each_entry_from_reverse(9)
NAME list_for_each_entry_from_reverse - iterate backwards over list of given type from the current point SYNOPSIS list_for_each_entry_from_reverse (pos , head , member ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_head...
list_for_each_entry_lockless(9)
NAME list_for_each_entry_lockless - iterate over rcu list of given type SYNOPSIS list_for_each_entry_lockless (pos , head , member ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_struct within the struct. DESCRIPTION Th...
list_for_each_entry_rcu(9)
NAME list_for_each_entry_rcu - iterate over rcu list of given type SYNOPSIS list_for_each_entry_rcu (pos , head , member , cond... ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_head within the struct. cond ...
list_for_each_entry_reverse(9)
NAME list_for_each_entry_reverse - iterate backwards over list of given type. SYNOPSIS list_for_each_entry_reverse (pos , head , member ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_head within the struct. SEE ALSO Ke...
list_for_each_entry_safe(9)
NAME list_for_each_entry_safe - iterate over list of given type safe against removal of list entry SYNOPSIS list_for_each_entry_safe (pos , n , head , member ); ARGUMENTS pos the type * to use as a loop cursor. n another type * to use as temporary storage head the head for you...
list_for_each_entry_safe_continue(9)
NAME list_for_each_entry_safe_continue - continue list iteration safe against removal SYNOPSIS list_for_each_entry_safe_continue (pos , n , head , member ); ARGUMENTS pos the type * to use as a loop cursor. n another type * to use as temporary storage head the head for your li...
list_for_each_entry_safe_from(9)
NAME list_for_each_entry_safe_from - iterate over list from current point safe against removal SYNOPSIS list_for_each_entry_safe_from (pos , n , head , member ); ARGUMENTS pos the type * to use as a loop cursor. n another type * to use as temporary storage head the head for yo...
list_for_each_entry_safe_reverse(9)
NAME list_for_each_entry_safe_reverse - iterate backwards over list safe against removal SYNOPSIS list_for_each_entry_safe_reverse (pos , n , head , member ); ARGUMENTS pos the type * to use as a loop cursor. n another type * to use as temporary storage head the head for your ...
list_for_each_entry_srcu(9)
NAME list_for_each_entry_srcu - iterate over rcu list of given type SYNOPSIS list_for_each_entry_srcu (pos , head , member , cond ); ARGUMENTS pos the type * to use as a loop cursor. head the head for your list. member the name of the list_head within the struct. cond ...
list_for_each_from(9)
NAME list_for_each_from - iterate over a list from one of its nodes SYNOPSIS list_for_each_from (pos , head ); ARGUMENTS pos the struct list_head to use as a loop cursor, from where to start head the head for your list. SEE ALSO Kernel file ./tools/include/linux/list.h list_add(9), list_add_ta...
list_for_each_prev(9)
NAME list_for_each_prev - iterate over a list backwards SYNOPSIS list_for_each_prev (pos , head ); ARGUMENTS pos the struct list_head to use as a loop cursor. head the head for your list. SEE ALSO Kernel file ./tools/include/linux/list.h list_add(9), list_add_tail(9), list_replace(9), list_del...
list_for_each_prev_safe(9)
NAME list_for_each_prev_safe - iterate over a list backwards safe against removal of list entry SYNOPSIS list_for_each_prev_safe (pos , n , head ); ARGUMENTS pos the struct list_head to use as a loop cursor. n another struct list_head to use as temporary storage head the head ...
list_for_each_rcu(9)
NAME list_for_each_rcu - Iterate over a list in an RCU-safe fashion SYNOPSIS list_for_each_rcu (pos , head ); ARGUMENTS pos the struct list_head to use as a loop cursor. head the head for your list. SEE ALSO Kernel file ./include/linux/rculist.h list_tail_rcu(9), list_add_rcu(9), lis...
list_for_each_safe(9)
NAME list_for_each_safe - iterate over a list safe against removal of list entry SYNOPSIS list_for_each_safe (pos , n , head ); ARGUMENTS pos the struct list_head to use as a loop cursor. n another struct list_head to use as temporary storage head the head for your list. SEE ...
list_is_first(9)
NAME list_is_first - - tests whether @list is the first entry in list @head SYNOPSIS int list_is_first (const struct list_head *list , const struct list_head *head ); ARGUMENTS list the entry to test head the head of the list SEE ALSO Kernel file ./tools/include/linux/list.h list_add(9), li...
list_is_head(9)
NAME list_is_head - tests whether @list is the list @head SYNOPSIS int list_is_head (const struct list_head *list , const struct list_head *head ); ARGUMENTS list the entry to test head the head of the list SEE ALSO Kernel file ./scripts/include/list.h container_of(9), INIT_LIST_HEAD(9),...
list_is_last(9)
NAME list_is_last - tests whether @list is the last entry in list @head SYNOPSIS int list_is_last (const struct list_head *list , const struct list_head *head ); ARGUMENTS list the entry to test head the head of the list SEE ALSO Kernel file ./tools/include/linux/list.h list_add(9), list_ad...
list_is_singular(9)
NAME list_is_singular - tests whether a list has just one entry. SYNOPSIS int list_is_singular (const struct list_head *head ); ARGUMENTS head the list to test. SEE ALSO Kernel file ./tools/include/linux/list.h list_add(9), list_add_tail(9), list_replace(9), list_del_init(9), list_move(9), list_move_tail(9), ...
list_last_entry(9)
NAME list_last_entry - get the last element from a list SYNOPSIS list_last_entry (ptr , type , member ); ARGUMENTS ptr the list head to take the element from. type the type of the struct this is embedded in. member the name of the list_head within the struct. DESCRIPTION Note, tha...
list_last_entry_or_null(9)
NAME list_last_entry_or_null - get the last element from a list SYNOPSIS list_last_entry_or_null (ptr , type , member ); ARGUMENTS ptr the list head to take the element from. type the type of the struct this is embedded in. member the name of the list_head within the struct. DESCR...
list_lru_add(9)
NAME list_lru_add - add an element to the lru list's tail SYNOPSIS bool list_lru_add (struct list_lru *lru , struct list_head *item , int nid , struct mem_cgroup *memcg ); ARGUMENTS lru the lru pointer item the item to be added. nid the node id of the sublist to add the item to....
list_lru_add_obj(9)
NAME list_lru_add_obj - add an element to the lru list's tail SYNOPSIS bool list_lru_add_obj (struct list_lru *lru , struct list_head *item ); ARGUMENTS lru the lru pointer item the item to be added. DESCRIPTION This function is similar to list_lru_add, but the NUMA node and the memcg of the s...
list_lru_count_one(9)
NAME list_lru_count_one - return the number of objects currently held by @lru SYNOPSIS unsigned long list_lru_count_one (struct list_lru *lru , int nid , struct mem_cgroup *memcg ); ARGUMENTS lru the lru pointer. nid the node id to count from. memcg the cgroup to count from. DES...
list_lru_del(9)
NAME list_lru_del - delete an element from the lru list SYNOPSIS bool list_lru_del (struct list_lru *lru , struct list_head *item , int nid , struct mem_cgroup *memcg ); ARGUMENTS lru the lru pointer item the item to be deleted. nid the node id of the sublist to delete the item ...