Home
last modified time | relevance | path

Searched refs:LIST_FIRST (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
Dqueue.h269 #define LIST_FIRST(head) ((head)->lh_first) macro
272 for ((var) = LIST_FIRST((head)); \
277 LIST_FIRST((head)) = NULL; \
296 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
297 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
298 LIST_FIRST((head)) = (elm); \
299 (elm)->field.le_prev = &LIST_FIRST((head)); \
Daic79xx_core.c6620 first_scb = LIST_FIRST(free_list); in ahd_add_col_list()
6641 first_scb = LIST_FIRST(free_list); in ahd_rem_col_list()
6677 if ((scb = LIST_FIRST(&ahd->scb_data.any_dev_free_scb_list)) == NULL) { in ahd_get_scb()
7876 if (LIST_FIRST(&ahd->pending_scbs) != NULL) { in ahd_suspend()
8563 scbp_next = LIST_FIRST(&ahd->pending_scbs); in ahd_abort_scbs()
10291 if (LIST_FIRST(&ahd->pending_scbs) != NULL) { in ahd_handle_en_lun()
Daic7xxx_core.c5600 if (LIST_FIRST(&ahc->pending_scbs) != NULL) { in ahc_suspend()
6378 scbp_next = LIST_FIRST(&ahc->pending_scbs); in ahc_abort_scbs()
7424 if (LIST_FIRST(&ahc->pending_scbs) != NULL) { in ahc_handle_en_lun()
/kernel/uniproton/src/core/ipc/sem/
Dprt_sem.c62 struct TagTskCb *taskCb = GET_TCB_PEND(LIST_FIRST(&(semPended->semList))); in OsSemPendListGet()
64 ListDelete(LIST_FIRST(&(semPended->semList))); in OsSemPendListGet()
/kernel/uniproton/src/core/kernel/include/
Dprt_list_external.h35 #define LIST_FIRST(object) ((object)->next) macro