/freebsd/sys/contrib/vchiq/interface/compat/ |
H A D | list.h | 59 struct list_head { struct 60 struct list_head *prev; argument 61 struct list_head *next; argument 67 INIT_LIST_HEAD(struct list_head *head) in INIT_LIST_HEAD() 73 static inline struct list_head * 74 list_first(const struct list_head *head) in list_first() 79 static inline struct list_head * 80 list_last(const struct list_head *head) in list_last() 85 static inline struct list_head * 86 list_next(const struct list_head *node) in list_next() [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | list.h | 85 struct list_head name = LINUX_LIST_HEAD_INIT(name) 88 INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() 95 list_empty(const struct list_head *head) in list_empty() 102 list_empty_careful(const struct list_head *head) in list_empty_careful() 104 struct list_head *next = head->next; in list_empty_careful() 110 __list_del(struct list_head *prev, struct list_head *next) in __list_del() 117 __list_del_entry(struct list_head *entry) in __list_del_entry() 124 list_del(struct list_head *entry) 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() [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/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() 70 static HPT_INLINE void list_del(struct list_head *entry) in list_del() 75 static HPT_INLINE void list_del_init(struct list_head *entry) in list_del_init() 81 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() 87 static HPT_INLINE void __list_splice(struct list_head *list, in __list_splice() [all …]
|
/freebsd/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() 69 static HPT_INLINE void list_del(struct list_head *entry) in list_del() 74 static HPT_INLINE void list_del_init(struct list_head *entry) in list_del_init() 80 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() 86 static HPT_INLINE void __list_splice(struct list_head *list, in __list_splice() [all …]
|
/freebsd/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() 72 static HPT_INLINE void list_del(struct list_head *entry) in list_del() 77 static HPT_INLINE void list_del_init(struct list_head *entry) in list_del_init() 83 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() 89 static HPT_INLINE void __list_splice(struct list_head *list, in __list_splice() [all …]
|
/freebsd/lib/libpmc/pmu-events/ |
H A D | list.h | 41 struct list_head name = LINUX_LIST_HEAD_INIT(name) 45 struct list_head { struct 46 struct list_head *next; argument 47 struct list_head *prev; argument 72 INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() 79 list_empty(const struct list_head *head) in list_empty() 86 list_empty_careful(const struct list_head *head) in list_empty_careful() 88 struct list_head *next = head->next; in list_empty_careful() 94 __list_del(struct list_head *prev, struct list_head *next) in __list_del() 101 __list_del_entry(struct list_head *entry) in __list_del_entry() [all …]
|
/freebsd/tools/tools/drm/radeon/mkregtable/ |
H A D | mkregtable.c | 41 struct list_head { struct 42 struct list_head *next, *prev; argument 48 struct list_head name = LIST_HEAD_INIT(name) 50 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() 63 static inline void __list_add(struct list_head *new, in __list_add() 64 struct list_head *prev, struct list_head *next) in __list_add() 72 extern void __list_add(struct list_head *new, 73 struct list_head *prev, struct list_head *next); 84 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() 97 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() [all …]
|
/freebsd/sys/dev/isci/scil/ |
H A D | sci_fast_list.h | 90 (anchor)->list_head = NULL; \ 108 #define sci_fast_list_is_empty(anchor) ((anchor)->list_head == NULL) 121 ((anchor)->list_head == NULL ? NULL: (anchor)->list_head->object) 134 ((anchor)->list_tail == NULL ? NULL: (anchor)->list_head->object) 190 struct SCI_FAST_LIST_ELEMENT *list_head; member 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() [all …]
|
H A D | sci_simple_list.h | 87 (anchor)->list_head = NULL; \ 105 #define sci_simple_list_is_empty(anchor) ((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() [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | list.h | 48 typedef struct list_head list_node_t; 52 list_node_t list_head; member 61 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() 89 list_add(list_d2l(list, object), &list->list_head); in list_insert_head() 95 list_add_tail(list_d2l(list, object), &list->list_head); in list_insert_tail() 125 list_node_t *head = list->list_head.next; in list_remove_head() 126 if (head == &list->list_head) in list_remove_head() 136 list_node_t *tail = list->list_head.prev; in list_remove_tail() [all …]
|
H A D | taskq.h | 113 struct list_head tq_thread_list; /* list of all threads */ 114 struct list_head tq_active_list; /* list of active threads */ 128 struct list_head tq_free_list; /* free taskq_ent_t's */ 129 struct list_head tq_pend_list; /* pending taskq_ent_t's */ 130 struct list_head tq_prio_list; /* priority taskq_ent_t's */ 131 struct list_head tq_delay_list; /* delayed taskq_ent_t's */ 132 struct list_head tq_taskqs; /* all taskq_t's */ 148 struct list_head tqent_list; 168 struct list_head tqt_thread_list; 169 struct list_head tqt_active_list; [all …]
|
/freebsd/sys/dev/drm2/ |
H A D | drm_linux_list.h | 36 struct list_head { struct 37 struct list_head *next, *prev; argument 43 INIT_LIST_HEAD(struct list_head *head) { in INIT_LIST_HEAD() 51 struct list_head name = LIST_HEAD_INIT(name) 54 list_empty(const struct list_head *head) { in list_empty() 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() 75 list_del(struct list_head *entry) { in list_del() 80 static inline void list_replace(struct list_head *old, in list_replace() 81 struct list_head *new) in list_replace() [all …]
|
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_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; 290 struct list_head enum_blob_list; 386 struct list_head head; 492 struct list_head head; 566 struct list_head head; [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/ |
H A D | list.c | 38 #define list_empty(a) ((a)->list_head.next == &(a)->list_head) 71 list->list_head.next = list->list_head.prev = &list->list_head; in list_create() 77 list_node_t *node = &list->list_head; in list_destroy() 80 ASSERT(list->list_head.next == node); in list_destroy() 81 ASSERT(list->list_head.prev == node); in list_destroy() 111 list_node_t *lold = &list->list_head; in list_insert_head() 118 list_node_t *lold = &list->list_head; in list_insert_tail() 134 list_node_t *head = list->list_head.next; in list_remove_head() 135 if (head == &list->list_head) in list_remove_head() 144 list_node_t *tail = list->list_head.prev; in list_remove_tail() [all …]
|
/freebsd/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) 70 list->list_head.list_next = list->list_head.list_prev = in list_create() 71 &list->list_head; in list_create() 77 list_node_t *node = &list->list_head; in list_destroy() 80 ASSERT3P(list->list_head.list_next, ==, node); in list_destroy() 81 ASSERT3P(list->list_head.list_prev, ==, node); in list_destroy() 111 list_node_t *lold = &list->list_head; in list_insert_head() 118 list_node_t *lold = &list->list_head; in list_insert_tail() 134 list_node_t *head = list->list_head.list_next; in list_remove_head() 135 if (head == &list->list_head) in list_remove_head() [all …]
|
/freebsd/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; 124 struct list_head agent_list; 140 struct list_head rmpp_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/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/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/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; 288 struct list_head passive_ids; /* state: LIVE */ 289 struct list_head rx_error_list; /* state: ERROR */ 290 struct list_head rx_flush_list; /* state: FLUSH, drain not started */ 291 struct list_head rx_drain_list; /* state: FLUSH, drain started */ 292 struct list_head rx_reap_list; /* state: FLUSH, drain done */ 299 struct list_head start_list; 300 struct list_head reap_list; [all …]
|
/freebsd/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/sys/contrib/dev/iwlwifi/ |
H A D | iwl-dbg-tlv.h | 22 struct list_head list; 42 struct list_head trig_list; 43 struct list_head active_trig_list; 44 struct list_head hcmd_list; 45 struct list_head config_list;
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | fs_core.h | 139 struct list_head list; 140 struct list_head children; 160 struct list_head next_ft; 188 struct list_head fwd_rules; 196 struct list_head list; 266 struct list_head underlay_qpns;
|