Home
last modified time | relevance | path

Searched refs:_LH (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_utils.h133 #define OCE_LIST_CREATE(_LH, _LCK_PRI) oce_list_create((_LH), (_LCK_PRI)) argument
134 #define OCE_LIST_DESTROY(_LH) oce_list_destroy((_LH)) argument
135 #define OCE_LIST_INSERT_TAIL(_LH, _N) \ argument
136 oce_list_insert_tail((_LH), (void *)(_N))
137 #define OCE_LIST_REM_HEAD(_LH) oce_list_remove_head((_LH)) argument
138 #define OCE_LIST_EMPTY(_LH) oce_list_is_empty((_LH)) argument
139 #define OCE_LIST_REMOVE(_LH, _N) \ argument
140 oce_list_remove_node((_LH), (void *)(_N))
141 #define OCE_LIST_SIZE(_LH) oce_list_items_avail((_LH)) argument
/titanic_44/usr/src/uts/common/io/e1000g/
H A De1000g_sw.h323 #define QUEUE_INIT_LIST(_LH) \ argument
324 (_LH)->Flink = (_LH)->Blink = (PSINGLE_LIST_LINK)0
329 #define IS_QUEUE_EMPTY(_LH) \ argument
330 ((_LH)->Flink == (PSINGLE_LIST_LINK)0)
336 #define QUEUE_GET_HEAD(_LH) ((PSINGLE_LIST_LINK)((_LH)->Flink)) argument
341 #define QUEUE_REMOVE_HEAD(_LH) \ argument
344 if (ListElem = (_LH)->Flink) \
346 if (!((_LH)->Flink = ListElem->Flink)) \
347 (_LH)->Blink = (PSINGLE_LIST_LINK) 0; \
356 #define QUEUE_POP_HEAD(_LH) \ argument
[all …]
/titanic_44/usr/src/uts/common/io/igb/
H A Digb_sw.h259 #define LINK_LIST_INIT(_LH) \ argument
260 (_LH)->head = (_LH)->tail = NULL
262 #define LIST_GET_HEAD(_LH) ((single_link_t *)((_LH)->head)) argument
264 #define LIST_POP_HEAD(_LH) \ argument
265 (single_link_t *)(_LH)->head; \
267 if ((_LH)->head != NULL) { \
268 (_LH)->head = (_LH)->head->link; \
269 if ((_LH)->head == NULL) \
270 (_LH)->tail = NULL; \
274 #define LIST_GET_TAIL(_LH) ((single_link_t *)((_LH)->tail)) argument
[all …]
/titanic_44/usr/src/uts/common/io/ixgbe/
H A Dixgbe_sw.h329 #define LINK_LIST_INIT(_LH) \ argument
330 (_LH)->head = (_LH)->tail = NULL
332 #define LIST_GET_HEAD(_LH) ((single_link_t *)((_LH)->head)) argument
334 #define LIST_POP_HEAD(_LH) \ argument
335 (single_link_t *)(_LH)->head; \
337 if ((_LH)->head != NULL) { \
338 (_LH)->head = (_LH)->head->link; \
339 if ((_LH)->head == NULL) \
340 (_LH)->tail = NULL; \
344 #define LIST_GET_TAIL(_LH) ((single_link_t *)((_LH)->tail)) argument
[all …]