Lines Matching refs:cd
804 struct io_cancel_data *cd,
809 u32 index = hash_long(cd->data, table->hash_bits);
816 if (cd->data != req->cqe.user_data)
820 if (cd->flags & IORING_ASYNC_CANCEL_ALL) {
821 if (io_cancel_match_sequence(req, cd->seq))
832 struct io_cancel_data *cd,
847 if (io_cancel_req_match(req, cd)) {
868 static int __io_poll_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd,
874 if (cd->flags & (IORING_ASYNC_CANCEL_FD | IORING_ASYNC_CANCEL_OP |
876 req = io_poll_file_find(ctx, cd, table, &bucket);
878 req = io_poll_find(ctx, false, cd, table, &bucket);
887 int io_poll_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd,
892 ret = __io_poll_cancel(ctx, cd, &ctx->cancel_table);
897 ret = __io_poll_cancel(ctx, cd, &ctx->cancel_table_locked);
993 struct io_cancel_data cd = { .ctx = ctx, .data = poll_update->old_user_data, };
999 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table, &bucket);
1010 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table_locked, &bucket);