| /NextBSD/sys/contrib/vchiq/interface/compat/ |
| HD | 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 …]
|
| /NextBSD/sys/dev/hpt27xx/ |
| HD | 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 …]
|
| /NextBSD/sys/dev/hptrr/ |
| HD | 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 …]
|
| /NextBSD/sys/dev/hptnr/ |
| HD | 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 …]
|
| /NextBSD/sys/compat/linuxkpi/common/include/linux/ |
| HD | list.h | 75 struct list_head { struct 76 struct list_head *next; argument 77 struct list_head *prev; argument 81 INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() 88 list_empty(const struct list_head *head) in list_empty() 95 list_del(struct list_head *entry) in list_del() 103 list_replace(struct list_head *old, struct list_head *new) in list_replace() 112 _list_add(struct list_head *new, struct list_head *prev, in _list_add() 113 struct list_head *next) in _list_add() 123 list_del_init(struct list_head *entry) in list_del_init() [all …]
|
| /NextBSD/tools/tools/drm/radeon/mkregtable/ |
| HD | mkregtable.c | 44 struct list_head { struct 45 struct list_head *next, *prev; argument 51 struct list_head name = LIST_HEAD_INIT(name) 53 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() 66 static inline void __list_add(struct list_head *new, in __list_add() 67 struct list_head *prev, struct list_head *next) in __list_add() 75 extern void __list_add(struct list_head *new, 76 struct list_head *prev, struct list_head *next); 87 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() 100 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() [all …]
|
| /NextBSD/sys/dev/drm2/ |
| HD | drm_linux_list.h | 38 struct list_head { struct 39 struct list_head *next, *prev; argument 46 INIT_LIST_HEAD(struct list_head *head) { in INIT_LIST_HEAD() 54 struct list_head name = LIST_HEAD_INIT(name) 57 list_empty(const struct list_head *head) { in list_empty() 62 list_add(struct list_head *new, struct list_head *head) { in list_add() 70 list_add_tail(struct list_head *entry, struct list_head *head) { in list_add_tail() 78 list_del(struct list_head *entry) { in list_del() 83 static inline void list_replace(struct list_head *old, in list_replace() 84 struct list_head *new) in list_replace() [all …]
|
| HD | drm_linux_list_sort.c | 34 int (*cmp)(void *, struct list_head *, struct list_head *); 41 struct list_head *le1, *le2; in drm_le_cmp() 45 le1 = *(__DECONST(struct list_head **, d1)); in drm_le_cmp() 46 le2 = *(__DECONST(struct list_head **, d2)); in drm_le_cmp() 54 drm_list_sort(void *priv, struct list_head *head, int (*cmp)(void *priv, in drm_list_sort() 55 struct list_head *a, struct list_head *b)) in drm_list_sort() 58 struct list_head **ar, *le; in drm_list_sort() 64 ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK); in drm_list_sort() 70 qsort_r(ar, count, sizeof(struct list_head *), &thunk, drm_le_cmp); in drm_list_sort()
|
| HD | drm_crtc.h | 126 struct list_head head; 254 struct list_head head; 266 struct list_head filp_head; 273 struct list_head head; 280 struct list_head head; 285 struct list_head head; 292 struct list_head enum_blob_list; 388 struct list_head head; 494 struct list_head head; 568 struct list_head head; [all …]
|
| /NextBSD/sys/ofed/drivers/infiniband/core/ |
| HD | mad_priv.h | 68 struct list_head list; 90 struct list_head list; 96 struct list_head agent_list; 102 struct list_head send_list; 103 struct list_head wait_list; 104 struct list_head done_list; 107 struct list_head local_list; 109 struct list_head rmpp_list; 127 struct list_head fifo_list; /* to keep entries in fifo order */ 128 struct list_head to_list; /* to keep entries in timeout order */ [all …]
|
| HD | uverbs.h | 95 struct list_head event_list; 112 struct list_head list; 113 struct list_head obj_list; 118 struct list_head list; 125 struct list_head event_list; 141 struct list_head mcast_list; 148 struct list_head comp_list; 149 struct list_head async_list;
|
| /NextBSD/sys/dev/isci/scil/ |
| HD | 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 …]
|
| HD | 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 …]
|
| /NextBSD/sys/cddl/contrib/opensolaris/uts/common/os/ |
| HD | list.c | 40 #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head) 72 list->list_head.list_next = list->list_head.list_prev = in list_create() 73 &list->list_head; in list_create() 79 list_node_t *node = &list->list_head; in list_destroy() 82 ASSERT(list->list_head.list_next == node); in list_destroy() 83 ASSERT(list->list_head.list_prev == node); in list_destroy() 113 list_node_t *lold = &list->list_head; in list_insert_head() 120 list_node_t *lold = &list->list_head; in list_insert_tail() 136 list_node_t *head = list->list_head.list_next; in list_remove_head() 137 if (head == &list->list_head) in list_remove_head() [all …]
|
| /NextBSD/sys/netpfil/ipfw/test/ |
| HD | 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()
|
| /NextBSD/sys/dev/drm/ |
| HD | drm_linux_list.h | 38 struct list_head { struct 39 struct list_head *next, *prev; argument 46 INIT_LIST_HEAD(struct list_head *head) { in INIT_LIST_HEAD() 52 list_empty(struct list_head *head) { in list_empty() 57 list_add(struct list_head *new, struct list_head *head) { in list_add() 65 list_add_tail(struct list_head *entry, struct list_head *head) { in list_add_tail() 73 list_del(struct list_head *entry) { in list_del() 79 list_del_init(struct list_head *entry) { in list_del_init()
|
| HD | drm_mm.h | 43 struct list_head fl_entry; 44 struct list_head ml_entry; 53 struct list_head fl_entry; 54 struct list_head ml_entry; 55 struct list_head unused_nodes;
|
| HD | drm_mm.c | 54 struct list_head *tail_node; in drm_mm_tail_space() 67 struct list_head *tail_node; in drm_mm_remove_space_from_tail() 152 struct list_head *tail_node; in drm_mm_add_space_to_tail() 232 struct list_head *cur_head = &cur->ml_entry; in drm_mm_put_block() 233 struct list_head *root_head = &mm->ml_entry; in drm_mm_put_block() 285 struct list_head *list; in drm_mm_search_free() 286 const struct list_head *free_stack = &mm->fl_entry; in drm_mm_search_free() 323 struct list_head *head = &mm->ml_entry; in drm_mm_clean() 342 struct list_head *bnode = mm->fl_entry.next; in drm_mm_takedown()
|
| /NextBSD/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| HD | ipoib.h | 184 struct list_head list; 261 struct list_head list; 271 struct list_head list; 285 struct list_head passive_ids; /* state: LIVE */ 286 struct list_head rx_error_list; /* state: ERROR */ 287 struct list_head rx_flush_list; /* state: FLUSH, drain not started */ 288 struct list_head rx_drain_list; /* state: FLUSH, drain started */ 289 struct list_head rx_reap_list; /* state: FLUSH, drain done */ 296 struct list_head start_list; 297 struct list_head reap_list; [all …]
|
| /NextBSD/sys/dev/nxge/xgehal/ |
| HD | xge-queue.c | 57 if (xge_list_is_empty(&queue->list_head)) in __queue_consume() 60 elem = (xge_queue_item_t *)queue->list_head.next; in __queue_consume() 114 if (xge_list_is_empty(&queue->list_head)) { in __queue_consume() 232 xge_list_insert_before(&elem->item, &queue->list_head); in xge_queue_produce() 286 xge_list_init(&queue->list_head); in xge_queue_create() 303 if (!xge_list_is_empty(&queue->list_head)) { in xge_queue_destroy() 353 xge_assert(!xge_list_is_empty(&queue->list_head)); in __io_queue_grow() 354 queue->list_head.next = (xge_list_t *) (void *)((char *)newbuf + in __io_queue_grow() 355 ((char *)queue->list_head.next - (char *)oldbuf)); in __io_queue_grow() 356 queue->list_head.prev = (xge_list_t *) (void *)((char *)newbuf + in __io_queue_grow() [all …]
|
| /NextBSD/sys/dev/drm2/ttm/ |
| HD | ttm_execbuf_util.h | 49 struct list_head head; 66 extern void ttm_eu_backoff_reservation(struct list_head *list); 93 extern int ttm_eu_reserve_buffers(struct list_head *list); 107 extern void ttm_eu_fence_buffer_objects(struct list_head *list, void *sync_obj);
|
| HD | ttm_execbuf_util.c | 36 static void ttm_eu_backoff_reservation_locked(struct list_head *list) in ttm_eu_backoff_reservation_locked() 56 static void ttm_eu_del_from_lru_locked(struct list_head *list) in ttm_eu_del_from_lru_locked() 72 static void ttm_eu_list_ref_sub(struct list_head *list) in ttm_eu_list_ref_sub() 86 void ttm_eu_backoff_reservation(struct list_head *list) in ttm_eu_backoff_reservation() 113 int ttm_eu_reserve_buffers(struct list_head *list) in ttm_eu_reserve_buffers() 205 void ttm_eu_fence_buffer_objects(struct list_head *list, void *sync_obj) in ttm_eu_fence_buffer_objects()
|
| /NextBSD/sys/dev/vxge/vxgehal/ |
| HD | vxge-queue.c | 78 if (vxge_list_is_empty(&queue->list_head)) { in __queue_consume() 84 elem = (vxge_queue_item_t *) queue->list_head.next; in __queue_consume() 129 if (vxge_list_is_empty(&queue->list_head)) { in __queue_consume() 266 vxge_list_insert_before(&elem->item, &queue->list_head); in vxge_queue_produce() 344 vxge_list_init(&queue->list_head); in vxge_queue_create() 377 if (!vxge_list_is_empty(&queue->list_head)) { in vxge_queue_destroy() 446 vxge_assert(!vxge_list_is_empty(&queue->list_head)); in vxge_io_queue_grow() 447 queue->list_head.next = (vxge_list_t *) (void *)((char *) newbuf + in vxge_io_queue_grow() 449 ((char *) queue->list_head.next - (char *) oldbuf)); in vxge_io_queue_grow() 450 queue->list_head.prev = (vxge_list_t *) (void *)((char *) newbuf + in vxge_io_queue_grow() [all …]
|
| /NextBSD/sys/dev/hptmv/ |
| HD | raid5n.h | 94 struct list_head { struct 95 struct list_head *next, *prev; argument 105 struct list_head inactive_list; 106 struct list_head dirty_list; 107 struct list_head active_list;
|
| /NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | zio_inject.c | 110 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_panic_injection() 148 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_fault_injection() 190 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_label_injection() 238 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_device_injection() 301 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_ignored_writes() 339 for (handler = list_head(&inject_handlers); handler != NULL; in spa_handle_ignored_writes() 375 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_io_delay() 464 for (handler = list_head(&inject_handlers); handler != NULL; in zio_inject_list_next() 495 for (handler = list_head(&inject_handlers); handler != NULL; in zio_clear_fault()
|