• Home
  • Raw
  • Download

Lines Matching refs:list

50 static inline void INIT_LIST_HEAD(struct list_head *list)  in INIT_LIST_HEAD()  argument
52 list->next = list; in INIT_LIST_HEAD()
53 list->prev = list; in INIT_LIST_HEAD()
169 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
171 __list_del(list->prev, list->next); in list_move()
172 list_add(list, head); in list_move()
180 static inline void list_move_tail(struct list_head *list, in list_move_tail() argument
183 __list_del(list->prev, list->next); in list_move_tail()
184 list_add_tail(list, head); in list_move_tail()
192 static inline int list_is_last(const struct list_head *list, in list_is_last() argument
195 return list->next == head; in list_is_last()
235 static inline void __list_cut_position(struct list_head *list, in __list_cut_position() argument
240 list->next = head->next; in __list_cut_position()
241 list->next->prev = list; in __list_cut_position()
242 list->prev = entry; in __list_cut_position()
243 entry->next = list; in __list_cut_position()
262 static inline void list_cut_position(struct list_head *list, in list_cut_position() argument
271 INIT_LIST_HEAD(list); in list_cut_position()
273 __list_cut_position(list, head, entry); in list_cut_position()
276 static inline void __list_splice(const struct list_head *list, in __list_splice() argument
279 struct list_head *first = list->next; in __list_splice()
280 struct list_head *last = list->prev; in __list_splice()
294 static inline void list_splice(const struct list_head *list, in list_splice() argument
297 if (!list_empty(list)) in list_splice()
298 __list_splice(list, head, head->next); in list_splice()
306 static inline void list_splice_tail(struct list_head *list, in list_splice_tail() argument
309 if (!list_empty(list)) in list_splice_tail()
310 __list_splice(list, head->prev, head); in list_splice_tail()
320 static inline void list_splice_init(struct list_head *list, in list_splice_init() argument
323 if (!list_empty(list)) { in list_splice_init()
324 __list_splice(list, head, head->next); in list_splice_init()
325 INIT_LIST_HEAD(list); in list_splice_init()
337 static inline void list_splice_tail_init(struct list_head *list, in list_splice_tail_init() argument
340 if (!list_empty(list)) { in list_splice_tail_init()
341 __list_splice(list, head->prev, head); in list_splice_tail_init()
342 INIT_LIST_HEAD(list); in list_splice_tail_init()
539 struct list_head list; member
557 INIT_LIST_HEAD(&offset->list); in offset_new()
565 list_add_tail(&offset->list, &t->offsets); in table_offset_add()
611 list_for_each_entry(offset, &t->offsets, list) { in table_build()