list_move (9) Linux Manual Page
list_move – delete from one list and add as another’s head Synopsis void list_move(struct list_head *list, struct list_head *head); Arguments list the entry to move head the head that will precede our entry Copyright
list_move – delete from one list and add as another’s head Synopsis void list_move(struct list_head *list, struct list_head *head); Arguments list the entry to move head the head that will precede our entry Copyright
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, that list is expected to be not empty. Copyright
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. Copyright
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 Copyright
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. Copyright
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 for your list. Copyright
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. Copyright
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. member the name of the list_head within the struct. Description Iterate backwards over list of…
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 your list. member the name of the list_head within the struct. Description Iterate over list…
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 list. member the name of the list_head within the struct. Description Iterate over list of given type,…
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 your list. member the name of the list_head within the struct. Copyright
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. Copyright
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. Description Iterate over list of given type, continuing from current position. Copyright
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. Description Start to iterate over list of given type backwards, continuing after the current position. Copyright
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. Description Continue to iterate over list of given type, continuing after the current position. Copyright
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. Copyright
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. Copyright
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. Description Note that if the list is empty, it returns NULL. Copyright
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, that list is expected to be not empty. Copyright
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. Copyright