Lines Matching refs:de
1530 struct io_defer_entry *de = list_first_entry(&ctx->defer_list, in io_queue_deferred() local
1533 if (req_need_defer(de->req, de->seq)) in io_queue_deferred()
1535 list_del_init(&de->list); in io_queue_deferred()
1536 io_req_task_queue(de->req); in io_queue_deferred()
1537 kfree(de); in io_queue_deferred()
6761 struct io_defer_entry *de; in io_drain_req() local
6808 de = kmalloc(sizeof(*de), GFP_KERNEL); in io_drain_req()
6809 if (!de) { in io_drain_req()
6819 kfree(de); in io_drain_req()
6825 de->req = req; in io_drain_req()
6826 de->seq = seq; in io_drain_req()
6827 list_add_tail(&de->list, &ctx->defer_list); in io_drain_req()
9836 struct io_defer_entry *de; in io_cancel_defer_files() local
9840 list_for_each_entry_reverse(de, &ctx->defer_list, list) { in io_cancel_defer_files()
9841 if (io_match_task_safe(de->req, task, cancel_all)) { in io_cancel_defer_files()
9842 list_cut_position(&list, &ctx->defer_list, &de->list); in io_cancel_defer_files()
9851 de = list_first_entry(&list, struct io_defer_entry, list); in io_cancel_defer_files()
9852 list_del_init(&de->list); in io_cancel_defer_files()
9853 io_req_complete_failed(de->req, -ECANCELED); in io_cancel_defer_files()
9854 kfree(de); in io_cancel_defer_files()