Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dlist.h57 #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-13.1/sys/contrib/openzfs/lib/libspl/
H A Dlist.c37 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
137 return (list_object(list, head)); in list_remove_head()
147 return (list_object(list, tail)); in list_remove_tail()
155 return (list_object(list, list->list_head.next)); in list_head()
163 return (list_object(list, list->list_head.prev)); in list_tail()
172 return (list_object(list, node->next)); in list_next()
183 return (list_object(list, node->prev)); in list_prev()
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dlist.c37 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
137 return (list_object(list, head)); in list_remove_head()
147 return (list_object(list, tail)); in list_remove_tail()
155 return (list_object(list, list->list_head.list_next)); in list_head()
163 return (list_object(list, list->list_head.list_prev)); in list_tail()
172 return (list_object(list, node->list_next)); in list_next()
183 return (list_object(list, node->list_prev)); in list_prev()
/freebsd-13.1/sys/dev/isci/scil/
H A Dsci_simple_list.h98 #define sci_simple_list_element_init(list_object, element) \ argument
101 (element)->object = (list_object); \
H A Dsci_fast_list.h100 #define sci_fast_list_element_init(list_object, element) \ argument
102 (element)->object = (list_object); \