Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->buf 0
PARAM_VALUE 0 node->file_ptr 0
PARAM_VALUE 1 file 4096-ptr_max
BUF_SIZE 0 node 0-s32max
BUF_SIZE 0 node 0-s32max
CAPPED_DATA 0 node 1
CAPPED_DATA 1 file 1
DATA_SOURCE 0 node r io_rsrc_node_alloc
DATA_SOURCE 1 file r fget
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 node->tag 1-u64max
HALF_LOCKED2 &ctx->uring_lock

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

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->buf 0
PARAM_VALUE 0 node->file_ptr 0
PARAM_VALUE 1 file 4096-ptr_max
BUF_SIZE 0 node 0-s32max
BUF_SIZE 0 node 0-s32max
CAPPED_DATA 0 node 1
CAPPED_DATA 1 file 1
DATA_SOURCE 0 node r io_rsrc_node_alloc
DATA_SOURCE 1 file r fget
NOCHECK_CALL
USER_DATA 0 node->tag 1-u64max
LOCK2 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

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

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->buf 0
PARAM_VALUE 0 node->file_ptr 0
PARAM_VALUE 1 file 4096-ptr_max
BUF_SIZE 0 node 0-s32max
BUF_SIZE 0 node 0-s32max
BUF_SIZE 1 file (-1),1-s32max
BUF_SIZE 1 file (-1),1-s32max
CAPPED_DATA 0 node 1
DATA_SOURCE 0 node r io_rsrc_node_alloc
DATA_SOURCE 1 file $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 file->f_inode->i_size
HALF_LOCKED2 &ctx->uring_lock