Lines Matching refs:blk_obj
47 task->blk_obj = NULL; in pend_task_wakeup()
50 void pend_to_blk_obj(blk_obj_t *blk_obj, ktask_t *task, tick_t timeout) in pend_to_blk_obj() argument
53 task->blk_obj = blk_obj; in pend_to_blk_obj()
64 if (blk_obj->blk_policy == BLK_POLICY_FIFO) { in pend_to_blk_obj()
66 klist_insert(&blk_obj->blk_list, &task->task_list); in pend_to_blk_obj()
69 pend_list_add(&blk_obj->blk_list, task); in pend_to_blk_obj()
98 task->blk_obj = NULL; in pend_task_rm()
103 if (task->blk_obj->blk_policy == BLK_POLICY_PRI) { in pend_list_reorder()
106 pend_list_add(&task->blk_obj->blk_list, task); in pend_list_reorder()
110 kstat_t pend_state_end_proc(ktask_t *task, blk_obj_t *blk_obj) in pend_state_end_proc() argument
114 (void)blk_obj; in pend_state_end_proc()
136 if (blk_obj == NULL) { in pend_state_end_proc()
143 if ((task->cancel == 1u) && (blk_obj->cancel == 1u)) { in pend_state_end_proc()