Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

io_uring/kbuf.c __io_manage_buffers_legacy() -> io_buffer_add_list()

Type Parameter Key Value
PARAM_VALUE 0 ctx->io_ev_fd->last_cq_tail 0-4294967295
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 bl 4096-ptr_max
PARAM_VALUE 1 bl->buf_list.next 4096-ptr_max
PARAM_VALUE 1 bl->buf_list.next->next 4096-ptr_max
PARAM_VALUE 1 bl->buf_list.prev 4096-ptr_max
PARAM_VALUE 1 bl->buf_list.prev->next 4096-ptr_max
PARAM_VALUE 1 bl->buf_list.prev->prev 4096-ptr_max
BUF_SIZE 1 bl 56
DATA_SOURCE 1 bl r _kzalloc_noprof
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

io_uring/kbuf.c io_register_pbuf_ring() -> io_buffer_add_list()

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 0 ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->uring_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 bl 4096-ptr_max
PARAM_VALUE 1 bl->buf_ring 1-18446744073709551614
PARAM_VALUE 1 bl->region->pages 4096-ptr_max
PARAM_VALUE 1 bl->region.nr_pages 0-s32max
PARAM_VALUE 1 bl->region.pages 4096-ptr_max
PARAM_VALUE 1 bl->region.ptr 1-18446744073709551614
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 1 bl 56
CAPPED_DATA 0 ctx->submitter_task 1
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 bl r _kzalloc_noprof
BIT_INFO 1 bl->flags 0x1,0xffff
USER_DATA 1 bl->mask 0-u16max
USER_DATA 2 bgid 0-u16max
NO_OVERFLOW_SIMPLE 1 bl->region.nr_pages
LOCK2 0 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock