Searched refs:list_object (Results 1 – 3 of 3) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | list.h | 57 #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()
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/ |
| H A D | list.c | 37 #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()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | list.c | 37 #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()
|