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_buffer_register() -> io_check_coalesce_buffer()

Type Parameter Key Value
PARAM_VALUE 0 page_array 16,4096-ptr_max
PARAM_VALUE 1 nr_pages 2-268435455
PARAM_VALUE 2 data 3891760566415380480
BUF_SIZE 0 page_array 8-2147483640
BUF_SIZE 0 page_array 8-2147483640
DATA_SOURCE 0 page_array r io_pin_pages
RX_PATH
NO_OVERFLOW_SIMPLE 1 nr_pages
LOCK2 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/memmap.c io_region_init_ptr() -> io_check_coalesce_buffer()

Type Parameter Key Value
PARAM_VALUE 0 page_array 16,4096-ptr_max
PARAM_VALUE 0 *page_array 4096-ptr_max
PARAM_VALUE 1 nr_pages 0-s32max
PARAM_VALUE 2 data 8963933464868413440
BUF_SIZE 0 page_array 1-s32max
CAPPED_DATA 1 nr_pages 1
NO_OVERFLOW_SIMPLE 1 nr_pages
HALF_LOCKED2 &ctx->uring_lock
HALF_LOCKED2 _T->lock