Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

io_uring/rsrc.c __io_sqe_files_update() -> io_rsrc_node_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->file_table.data.nr 1-u32max
PARAM_VALUE 0 ctx->uring_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 type 0
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
CAPPED_DATA 0 ctx->file_table.data.nr 1
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ctx->submit_state.need_plug 0-1
USER_DATA 0 ctx->submit_state.submit_nr 1-u16max[c]
UNITS 0 ctx unit_byte
HALF_LOCKED2 0 &ctx->uring_lock

io_uring/rsrc.c io_buffer_register_bvec() -> io_rsrc_node_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ctx->buf_table.nodes 4096-ptr_max
PARAM_VALUE 0 ctx->buf_table.nr 1-u32max
PARAM_VALUE 0 ctx->uring_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 type 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ctx unit_byte
HALF_LOCKED2 &ctx->uring_lock

io_uring/rsrc.c io_clone_buffers() -> io_rsrc_node_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->int_flags 4-u32max
PARAM_VALUE 0 ctx->uring_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->uring_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 type 1
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
CAPPED_DATA 0 ctx 1
CAPPED_DATA 0 ctx->mm_account 1
CAPPED_DATA 0 ctx->submitter_task 1
CAPPED_DATA 0 ctx->user 1
DATA_SOURCE 0 ctx $0
HALF_LOCKED2 0 &ctx->uring_lock

io_uring/rsrc.c io_sqe_buffer_register() -> io_rsrc_node_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->int_flags 4-u32max
PARAM_VALUE 0 ctx->uring_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 type 1
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
CAPPED_DATA 0 ctx->buf_table.nr 1
CAPPED_DATA 0 ctx->submitter_task 1
DATA_SOURCE 0 ctx $0
RX_PATH
LOCK2 0 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/rsrc.c io_sqe_files_register() -> io_rsrc_node_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->file_table.bitmap 16,4096-ptr_max
PARAM_VALUE 0 ctx->file_table.data.nodes 16,4096-ptr_max
PARAM_VALUE 0 ctx->file_table.data.nr 1-1048576
PARAM_VALUE 0 ctx->int_flags 4-u32max
PARAM_VALUE 0 ctx->uring_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->uring_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 type 0
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
CAPPED_DATA 0 ctx->submitter_task 1
DATA_SOURCE 0 ctx $0
USER_DATA 0 ctx->file_table.data.nr 1-1048576
LOCK2 0 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/filetable.c io_install_fixed_file() -> io_rsrc_node_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->file_table.data.nr 1-u32max
PARAM_VALUE 1 type 0
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ctx->submit_state.need_plug 0-1
USER_DATA 0 ctx->submit_state.submit_nr 1-u16max[c]
UNITS 0 ctx unit_byte
HALF_LOCKED2 0 &ctx->uring_lock