| /freebsd-14.2/sys/contrib/vchiq/interface/compat/ |
| H A D | list.h | 59 struct list_head { struct 60 struct list_head *prev; argument 115 __list_add_between(struct list_head *prev, struct list_head *node, in __list_add_between() 125 list_add(struct list_head *node, struct list_head *head) in list_add() 131 list_add_tail(struct list_head *node, struct list_head *head) in list_add_tail() 144 __list_splice_between(struct list_head *prev, const struct list_head *list, in __list_splice_between() 158 list_splice(const struct list_head *list, struct list_head *head) in list_splice() 165 list_splice_tail(const struct list_head *list, struct list_head *head) in list_splice_tail() 172 list_move(struct list_head *node, struct list_head *head) in list_move() 179 list_move_tail(struct list_head *node, struct list_head *head) in list_move_tail() [all …]
|
| /freebsd-14.2/sys/dev/hptnr/ |
| H A D | list.h | 39 struct list_head { struct 40 struct list_head *next, *prev; argument 45 static HPT_INLINE void __list_add(struct list_head * _new, struct list_head * prev, struct list_hea… in __list_add() 53 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add() 58 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() 63 static HPT_INLINE void __list_del(struct list_head * prev, struct list_head * next) in __list_del() 87 struct list_head *head) in __list_splice() 90 struct list_head *last = list->prev; in __list_splice() 91 struct list_head *at = head->next; in __list_splice() 100 static HPT_INLINE void list_splice(struct list_head *list, struct list_head *head) in list_splice() [all …]
|
| /freebsd-14.2/sys/dev/hptrr/ |
| H A D | list.h | 42 struct list_head { struct 43 struct list_head *next, *prev; argument 48 static HPT_INLINE void __list_add(struct list_head * _new, struct list_head * prev, struct list_hea… in __list_add() 56 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add() 61 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() 66 static HPT_INLINE void __list_del(struct list_head * prev, struct list_head * next) in __list_del() 90 struct list_head *head) in __list_splice() 93 struct list_head *last = list->prev; in __list_splice() 94 struct list_head *at = head->next; in __list_splice() 103 static HPT_INLINE void list_splice(struct list_head *list, struct list_head *head) in list_splice() [all …]
|
| /freebsd-14.2/sys/dev/hpt27xx/ |
| H A D | list.h | 40 struct list_head { struct 41 struct list_head *next, *prev; argument 46 static HPT_INLINE void __list_add(struct list_head * _new, struct list_head * prev, struct list_hea… in __list_add() 54 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add() 59 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() 64 static HPT_INLINE void __list_del(struct list_head * prev, struct list_head * next) in __list_del() 88 struct list_head *head) in __list_splice() 91 struct list_head *last = list->prev; in __list_splice() 92 struct list_head *at = head->next; in __list_splice() 101 static HPT_INLINE void list_splice(struct list_head *list, struct list_head *head) in list_splice() [all …]
|
| /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/ |
| H A D | list.h | 110 __list_del(struct list_head *prev, struct list_head *next) in __list_del() 131 list_replace(struct list_head *old, struct list_head *new) in list_replace() 140 list_replace_init(struct list_head *old, struct list_head *new) in list_replace_init() 147 __list_add(struct list_head *new, struct list_head *prev, in __list_add() 238 list_add(struct list_head *new, struct list_head *head) in list_add() 245 list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() 252 list_move(struct list_head *list, struct list_head *head) in list_move() 434 struct list_head *head, struct list_head *entry) in __list_cut_position() 446 struct list_head *head, struct list_head *entry) in list_cut_position() 518 const struct list_head *a, const struct list_head *b)); [all …]
|
| H A D | rculist.h | 37 #define list_next_rcu(head) (*((struct list_head **)(&(head)->next))) 38 #define list_prev_rcu(head) (*((struct list_head **)(&(head)->prev))) 54 linux_list_add_rcu(struct list_head *new, struct list_head *prev, in linux_list_add_rcu() 55 struct list_head *next) in linux_list_add_rcu() 64 list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu() 70 list_add_tail_rcu(struct list_head *new, struct list_head *head) in list_add_tail_rcu() 76 __list_del_rcu(struct list_head *prev, struct list_head *next) in __list_del_rcu() 83 __list_del_entry_rcu(struct list_head *entry) in __list_del_entry_rcu() 89 list_del_rcu(struct list_head *entry) in list_del_rcu()
|
| /freebsd-14.2/lib/libpmc/pmu-events/ |
| H A D | list.h | 45 struct list_head { struct 94 __list_del(struct list_head *prev, struct list_head *next) in __list_del() 115 list_replace(struct list_head *old, struct list_head *new) in list_replace() 124 list_replace_init(struct list_head *old, struct list_head *new) in list_replace_init() 131 linux_list_add(struct list_head *new, struct list_head *prev, in linux_list_add() 213 list_add(struct list_head *new, struct list_head *head) in list_add() 220 list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() 227 list_move(struct list_head *list, struct list_head *head) in list_move() 391 struct list_head *head, struct list_head *entry) in __list_cut_position() 403 struct list_head *head, struct list_head *entry) in list_cut_position() [all …]
|
| /freebsd-14.2/tools/tools/drm/radeon/mkregtable/ |
| H A D | mkregtable.c | 42 struct list_head { struct 43 struct list_head *next, *prev; argument 65 struct list_head *prev, struct list_head *next) in __list_add() 74 struct list_head *prev, struct list_head *next); 85 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() 98 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() 110 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() 140 static inline void list_replace(struct list_head *old, struct list_head *new) in list_replace() 170 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() 278 struct list_head *prev, struct list_head *next) in __list_splice() [all …]
|
| /freebsd-14.2/sys/dev/isci/scil/ |
| H A D | sci_simple_list.h | 87 (anchor)->list_head = NULL; \ 111 #define sci_simple_list_get_head(anchor) ((anchor)->list_head) 149 struct SCI_SIMPLE_LIST_ELEMENT *list_head; member 183 element->next = anchor->list_head; in sci_simple_list_insert_head() 184 anchor->list_head = element; in sci_simple_list_insert_head() 207 anchor->list_head = element; in sci_simple_list_insert_tail() 234 if (anchor->list_head != NULL) in sci_simple_list_remove_head() 236 object = anchor->list_head->object; in sci_simple_list_remove_head() 238 anchor->list_head = anchor->list_head->next; in sci_simple_list_remove_head() 240 if (anchor->list_head == NULL) in sci_simple_list_remove_head() [all …]
|
| H A D | sci_fast_list.h | 121 ((anchor)->list_head == NULL ? NULL: (anchor)->list_head->object) 226 if ( anchor->list_head == NULL ) in sci_fast_list_insert_head() 229 anchor->list_head->prev = element; in sci_fast_list_insert_head() 230 element->next = anchor->list_head; in sci_fast_list_insert_head() 231 anchor->list_head = element; in sci_fast_list_insert_head() 254 anchor->list_head = element; in sci_fast_list_insert_tail() 279 if ( anchor->list_head != NULL ) in sci_fast_list_remove_head() 281 element = anchor->list_head; in sci_fast_list_remove_head() 283 anchor->list_head = anchor->list_head->next; in sci_fast_list_remove_head() 284 if ( anchor->list_head == NULL ) in sci_fast_list_remove_head() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | list.h | 48 typedef struct list_head list_node_t; 53 list_node_t list_head; member 62 return (list_empty(&list->list_head)); in list_is_empty() 77 INIT_LIST_HEAD(&list->list_head); in list_create() 83 list_del(&list->list_head); in list_destroy() 126 if (head == &list->list_head) in list_remove_head() 137 if (tail == &list->list_head) in list_remove_tail() 145 list_head(list_t *list) in list_head() function 167 if (node->next != &list->list_head) in list_next() 178 if (node->prev != &list->list_head) in list_prev() [all …]
|
| H A D | taskq.h | 81 struct list_head tq_thread_list; /* list of all threads */ 82 struct list_head tq_active_list; /* list of active threads */ 96 struct list_head tq_free_list; /* free taskq_ent_t's */ 97 struct list_head tq_pend_list; /* pending taskq_ent_t's */ 98 struct list_head tq_prio_list; /* priority taskq_ent_t's */ 99 struct list_head tq_delay_list; /* delayed taskq_ent_t's */ 100 struct list_head tq_taskqs; /* all taskq_t's */ 114 struct list_head tqent_list; 127 struct list_head tqt_thread_list; 128 struct list_head tqt_active_list; [all …]
|
| /freebsd-14.2/sys/dev/drm2/ |
| H A D | drm_linux_list_sort.c | 33 int (*cmp)(void *, struct list_head *, struct list_head *); 40 struct list_head *le1, *le2; in drm_le_cmp() 44 le1 = *(__DECONST(struct list_head **, d1)); in drm_le_cmp() 45 le2 = *(__DECONST(struct list_head **, d2)); in drm_le_cmp() 53 drm_list_sort(void *priv, struct list_head *head, int (*cmp)(void *priv, in drm_list_sort() 54 struct list_head *a, struct list_head *b)) in drm_list_sort() 57 struct list_head **ar, *le; in drm_list_sort() 63 ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK); in drm_list_sort() 69 qsort_r(ar, count, sizeof(struct list_head *), drm_le_cmp, &thunk); in drm_list_sort()
|
| H A D | drm_linux_list.h | 36 struct list_head { struct 37 struct list_head *next, *prev; argument 59 list_add(struct list_head *new, struct list_head *head) { in list_add() 67 list_add_tail(struct list_head *entry, struct list_head *head) { in list_add_tail() 81 struct list_head *new) in list_replace() 89 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() 96 struct list_head *head) in list_move_tail() 154 __list_splice(const struct list_head *list, struct list_head *prev, in __list_splice() 155 struct list_head *next) in __list_splice() 168 list_splice(const struct list_head *list, struct list_head *head) in list_splice() [all …]
|
| H A D | drm_crtc.h | 124 struct list_head head; 252 struct list_head head; 264 struct list_head filp_head; 271 struct list_head head; 278 struct list_head head; 283 struct list_head head; 386 struct list_head head; 492 struct list_head head; 566 struct list_head head; 651 struct list_head head; [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | list.c | 38 #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head) 69 list->list_head.list_next = list->list_head.list_prev = in list_create() 70 &list->list_head; in list_create() 76 list_node_t *node = &list->list_head; in list_destroy() 110 list_node_t *lold = &list->list_head; in list_insert_head() 117 list_node_t *lold = &list->list_head; in list_insert_tail() 134 if (head == &list->list_head) in list_remove_head() 144 if (tail == &list->list_head) in list_remove_tail() 151 list_head(list_t *list) in list_head() function 194 list_node_t *dstnode = &dst->list_head; in list_move_tail() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libspl/ |
| H A D | list.c | 38 #define list_empty(a) ((a)->list_head.next == &(a)->list_head) 70 list->list_head.next = list->list_head.prev = &list->list_head; in list_create() 76 list_node_t *node = &list->list_head; in list_destroy() 79 ASSERT(list->list_head.next == node); in list_destroy() 80 ASSERT(list->list_head.prev == node); in list_destroy() 110 list_node_t *lold = &list->list_head; in list_insert_head() 134 if (head == &list->list_head) in list_remove_head() 144 if (tail == &list->list_head) in list_remove_tail() 151 list_head(list_t *list) in list_head() function 171 if (node->next != &list->list_head) in list_next() [all …]
|
| /freebsd-14.2/sys/ofed/drivers/infiniband/core/ |
| H A D | mad_priv.h | 68 struct list_head list; 88 struct list_head list; 94 struct list_head agent_list; 100 struct list_head send_list; 101 struct list_head wait_list; 102 struct list_head done_list; 105 struct list_head local_list; 107 struct list_head rmpp_list; 140 struct list_head rmpp_list; 181 struct list_head list; [all …]
|
| H A D | uverbs.h | 117 struct list_head uverbs_file_list; 126 struct list_head event_list; 150 struct list_head list; 160 struct list_head uobjects; 163 struct list_head umaps; 173 struct list_head list; 174 struct list_head obj_list; 179 struct list_head list; 187 struct list_head event_list; 205 struct list_head mcast_list; [all …]
|
| /freebsd-14.2/sys/netpfil/ipfw/test/ |
| H A D | mylist.h | 9 struct list_head { struct 10 struct list_head *prev, *next; argument 16 __list_add(struct list_head *o, struct list_head *prev, in __list_add() 17 struct list_head *next) in __list_add() 26 list_add_tail(struct list_head *o, struct list_head *head) in list_add_tail() 35 __list_del(struct list_head *prev, struct list_head *next) in __list_del() 42 list_del(struct list_head *entry) in list_del()
|
| /freebsd-14.2/sys/dev/qat/include/common/ |
| H A D | adf_cfg.h | 17 struct list_head list; 24 struct list_head list; 25 struct list_head param_head; 30 struct list_head sec_list; 39 struct list_head sec_list; 48 void adf_cfg_depot_del_all(struct list_head *head); 82 void adf_cfg_keyval_del_all(struct list_head *head);
|
| /freebsd-14.2/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib.h | 187 struct list_head list; 264 struct list_head list; 274 struct list_head list; 299 struct list_head start_list; 300 struct list_head reap_list; 334 struct list_head path_list; 381 struct list_head dead_ahs; 387 struct list_head list; 394 struct list_head fs_list; 406 struct list_head list; [all …]
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-dbg-tlv.h | 21 struct list_head list; 41 struct list_head trig_list; 42 struct list_head active_trig_list; 43 struct list_head hcmd_list; 44 struct list_head config_list;
|
| /freebsd-14.2/sys/dev/irdma/ |
| H A D | irdma_verbs.h | 52 struct list_head cq_reg_mem_list; 54 struct list_head qp_reg_mem_list; 57 struct list_head vma_list; 67 struct list_head udqp_list; 117 struct list_head list; 122 struct list_head list; 172 struct list_head resize_list; 174 struct list_head cmpl_generated; 178 struct list_head list; 226 struct list_head teardown_entry; [all …]
|
| /freebsd-14.2/sys/dev/drm2/ttm/ |
| H A D | ttm_execbuf_util.h | 48 struct list_head head; 65 extern void ttm_eu_backoff_reservation(struct list_head *list); 92 extern int ttm_eu_reserve_buffers(struct list_head *list); 106 extern void ttm_eu_fence_buffer_objects(struct list_head *list, void *sync_obj);
|