Home
last modified time | relevance | path

Searched refs:list_object (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dlist.h56 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
130 return (list_object(list, head)); in list_remove_head()
141 return (list_object(list, tail)); in list_remove_tail()
150 return (list_object(list, list->list_head.next)); in list_head()
159 return (list_object(list, list->list_head.prev)); in list_tail()
168 return (list_object(list, node->next)); in list_next()
179 return (list_object(list, node->prev)); in list_prev()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dlist.c37 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
138 return (list_object(list, head)); in list_remove_head()
148 return (list_object(list, tail)); in list_remove_tail()
156 return (list_object(list, list->list_head.list_next)); in list_head()
164 return (list_object(list, list->list_head.list_prev)); in list_tail()
173 return (list_object(list, node->list_next)); in list_next()
184 return (list_object(list, node->list_prev)); in list_prev()
/freebsd/sys/contrib/openzfs/lib/libspl/
H A Dlist.c37 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
138 return (list_object(list, head)); in list_remove_head()
148 return (list_object(list, tail)); in list_remove_tail()
156 return (list_object(list, list->list_head.next)); in list_head()
164 return (list_object(list, list->list_head.prev)); in list_tail()
173 return (list_object(list, node->next)); in list_next()
184 return (list_object(list, node->prev)); in list_prev()
/freebsd/sys/dev/isci/scil/
H A Dsci_simple_list.h96 #define sci_simple_list_element_init(list_object, element) \ argument
99 (element)->object = (list_object); \
H A Dsci_fast_list.h98 #define sci_fast_list_element_init(list_object, element) \ argument
100 (element)->object = (list_object); \