Searched refs:first (Results 1 – 2 of 2) sorted by relevance
39 struct io_wq_work_node *first; member59 if (!list->first) { in wq_list_add_tail()61 WRITE_ONCE(list->first, node); in wq_list_add_tail()74 WRITE_ONCE(list->first, last->next); in wq_list_cut()91 for (pos = (head)->first, prv = NULL; pos; prv = pos, pos = (pos)->next)93 #define wq_list_empty(list) (READ_ONCE((list)->first) == NULL)95 (list)->first = NULL; \
2201 if (!tctx->task_list.first && locked && ctx->submit_state.compl_nr) in tctx_task_work()2205 node = tctx->task_list.first; in tctx_task_work()2278 node = tctx->task_list.first; in io_req_task_work_add()5691 struct io_poll_iocb *first = poll; in __io_queue_proc() local5694 if (first->head == head) in __io_queue_proc()5709 io_init_poll_iocb(poll, first->events, first->wait.func); in __io_queue_proc()