Home
last modified time | relevance | path

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

/illumos-gate/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
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_sw.h324 #define QUEUE_INIT_LIST(_LH) \ argument
325 (_LH)->Flink = (_LH)->Blink = (PSINGLE_LIST_LINK)0
330 #define IS_QUEUE_EMPTY(_LH) \ argument
337 #define QUEUE_GET_HEAD(_LH) ((PSINGLE_LIST_LINK)((_LH)->Flink)) argument
345 if (ListElem = (_LH)->Flink) \
357 #define QUEUE_POP_HEAD(_LH) \ argument
361 ListElem = (_LH)->Flink; \
365 if (!(_LH)->Flink) \
374 #define QUEUE_GET_TAIL(_LH) ((PSINGLE_LIST_LINK)((_LH)->Blink)) argument
380 if ((_LH)->Blink) \
[all …]
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_sw.h263 #define LINK_LIST_INIT(_LH) \ argument
264 (_LH)->head = (_LH)->tail = NULL
266 #define LIST_GET_HEAD(_LH) ((single_link_t *)((_LH)->head)) argument
268 #define LIST_POP_HEAD(_LH) \ argument
271 if ((_LH)->head != NULL) { \
272 (_LH)->head = (_LH)->head->link; \
273 if ((_LH)->head == NULL) \
274 (_LH)->tail = NULL; \
278 #define LIST_GET_TAIL(_LH) ((single_link_t *)((_LH)->tail)) argument
281 if ((_LH)->tail != NULL) { \
[all …]
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_sw.h334 #define LINK_LIST_INIT(_LH) \ argument
335 (_LH)->head = (_LH)->tail = NULL
337 #define LIST_GET_HEAD(_LH) ((single_link_t *)((_LH)->head)) argument
339 #define LIST_POP_HEAD(_LH) \ argument
342 if ((_LH)->head != NULL) { \
343 (_LH)->head = (_LH)->head->link; \
344 if ((_LH)->head == NULL) \
345 (_LH)->tail = NULL; \
349 #define LIST_GET_TAIL(_LH) ((single_link_t *)((_LH)->tail)) argument
352 if ((_LH)->tail != NULL) { \
[all …]