Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

io_uring/uring_cmd.c io_uring_cmd_prep() -> io_uring_alloc_async_data()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->async_data 0
PARAM_VALUE 1 req->cancel_seq_set 0
PARAM_VALUE 1 req->ctx 4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 1 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 req->file 0
PARAM_VALUE 1 req->flags 0-160,524288-524448
PARAM_VALUE 1 req->opcode 0-64
BUF_SIZE 1 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 1 req->opcode 1
DATA_SOURCE 1 req $0
BIT_INFO 1 req->flags 0x0,0x800ff
USER_DATA 1 req->ctx->submit_state.need_plug 0-1
USER_DATA 1 req->ctx->submit_state.submit_nr 1-u16max[c]
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/timeout.c __io_timeout_prep() -> io_uring_alloc_async_data()

Type Parameter Key Value
PARAM_VALUE 0 cache 0
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->async_data 0
PARAM_VALUE 1 req->cancel_seq_set 0
PARAM_VALUE 1 req->ctx 4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 1 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 req->file 0
PARAM_VALUE 1 req->flags 0-160,524288-524448
PARAM_VALUE 1 req->opcode 0-64
BUF_SIZE 1 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 1 req->opcode 1
DATA_SOURCE 1 req $0
BIT_INFO 1 req->flags 0x0,0x800ff
USER_DATA 1 req->ctx->submit_state.need_plug 0-1
USER_DATA 1 req->ctx->submit_state.submit_nr 1-u16max[c]
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/net.c io_bind_prep() -> io_uring_alloc_async_data()

Type Parameter Key Value
PARAM_VALUE 0 cache 0
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->async_data 0
PARAM_VALUE 1 req->cancel_seq_set 0
PARAM_VALUE 1 req->ctx 4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 1 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 req->file 0
PARAM_VALUE 1 req->flags 0-160,524288-524448
PARAM_VALUE 1 req->opcode 0-64
BUF_SIZE 1 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 1 req->opcode 1
DATA_SOURCE 1 req $0
BIT_INFO 1 req->flags 0x0,0x800ff
USER_DATA 1 req->ctx->submit_state.need_plug 0-1
USER_DATA 1 req->ctx->submit_state.submit_nr 1-u16max[c]
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/net.c io_connect_prep() -> io_uring_alloc_async_data()

Type Parameter Key Value
PARAM_VALUE 0 cache 0
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->async_data 0
PARAM_VALUE 1 req->cancel_seq_set 0
PARAM_VALUE 1 req->ctx 4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 1 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 req->file 0
PARAM_VALUE 1 req->flags 0-160,524288-524448
PARAM_VALUE 1 req->opcode 0-64
BUF_SIZE 1 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 1 req->opcode 1
DATA_SOURCE 1 req $0
BIT_INFO 1 req->flags 0x0,0x800ff
USER_DATA 1 req->ctx->submit_state.need_plug 0-1
USER_DATA 1 req->ctx->submit_state.submit_nr 1-u16max[c]
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/net.c io_msg_alloc_async() -> io_uring_alloc_async_data()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->async_data 0
PARAM_VALUE 1 req->cancel_seq_set 0
PARAM_VALUE 1 req->ctx 4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 1 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 req->file 0
PARAM_VALUE 1 req->flags 0-160,2048-2208,524288-524448,526336-526496,67108864-67109024,67110912-67111072,67633152-67633312,67635200-67635360,134217760-403179680,2147491840-2147492000,2147493888-2147494048,2148016128-2148016288,2148018176-2148018336
PARAM_VALUE 1 req->opcode 0-64
BUF_SIZE 1 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 1 req->opcode 1
DATA_SOURCE 1 req $0
BIT_INFO 1 req->flags 0x0,0x9c0828ff
USER_DATA 1 req->ctx->submit_state.need_plug 0-1
USER_DATA 1 req->ctx->submit_state.submit_nr 1-u16max[c]
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/waitid.c io_waitid_prep() -> io_uring_alloc_async_data()

Type Parameter Key Value
PARAM_VALUE 0 cache 0
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->async_data 0
PARAM_VALUE 1 req->cancel_seq_set 0
PARAM_VALUE 1 req->ctx 4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 1 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 req->file 0
PARAM_VALUE 1 req->flags 0-160,524288-524448
PARAM_VALUE 1 req->opcode 0-64
BUF_SIZE 1 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 1 req->opcode 1
DATA_SOURCE 1 req $0
BIT_INFO 1 req->flags 0x0,0x800ff
USER_DATA 1 req->ctx->submit_state.need_plug 0-1
USER_DATA 1 req->ctx->submit_state.submit_nr 1-u16max[c]
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/rw.c io_rw_alloc_async() -> io_uring_alloc_async_data()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->async_data 0
PARAM_VALUE 1 req->cancel_seq_set 0
PARAM_VALUE 1 req->ctx 4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.link.head 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->submit_state.submit_nr 1-u16max
PARAM_VALUE 1 req->ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 req->ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 1 req->ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 req->file 0
PARAM_VALUE 1 req->flags 0-160,524288-524448
PARAM_VALUE 1 req->opcode 0-64
BUF_SIZE 1 req->ctx s32min-(-1),1-s32max
CAPPED_DATA 1 req->opcode 1
DATA_SOURCE 1 req $0
BIT_INFO 1 req->flags 0x0,0x800ff
USER_DATA 1 req->ctx->submit_state.need_plug 0-1
USER_DATA 1 req->ctx->submit_state.submit_nr 1-u16max[c]
LOCK2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock