Home
last modified time | relevance | path

Searched refs:list_hdr (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_utils.c94 oce_list_create(OCE_LIST_T *list_hdr, void *arg) in oce_list_create() argument
96 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() argument
104 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() argument
113 OCE_LIST_NODE_T *head = &list_hdr->head; in oce_list_insert_tail()
[all …]
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_utils.h124 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);