Searched refs:list_hdr (Results 1 – 2 of 2) sorted by relevance
94 oce_list_create(OCE_LIST_T *list_hdr, void *arg) in oce_list_create() argument96 list_hdr->head.next = list_hdr->head.prev = &list_hdr->head; in oce_list_create()97 mutex_init(&list_hdr->list_lock, NULL, MUTEX_DRIVER, arg); in oce_list_create()98 list_hdr->nitems = 0; in oce_list_create()102 oce_list_destroy(OCE_LIST_T *list_hdr) in oce_list_destroy() argument104 ASSERT(list_hdr->nitems == 0); in oce_list_destroy()105 list_hdr->head.next = list_hdr->head.prev = NULL; in oce_list_destroy()106 mutex_destroy(&list_hdr->list_lock); in oce_list_destroy()111 oce_list_insert_tail(OCE_LIST_T *list_hdr, OCE_LIST_NODE_T *list_node) in oce_list_insert_tail() argument113 OCE_LIST_NODE_T *head = &list_hdr->head; in oce_list_insert_tail()[all …]
124 void oce_list_create(OCE_LIST_T *list_hdr, void *arg);125 void oce_list_destroy(OCE_LIST_T *list_hdr);126 void oce_list_insert_tail(OCE_LIST_T *list_hdr, OCE_LIST_NODE_T *list_node);127 void *oce_list_remove_head(OCE_LIST_T *list_hdr);128 void oce_list_remove_node(OCE_LIST_T *list_hdr, OCE_LIST_NODE_T *list_node);129 boolean_t oce_list_is_empty(OCE_LIST_T *list_hdr);130 int32_t oce_list_items_avail(OCE_LIST_T *list_hdr);