Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

io_uring/memmap.c io_region_validate_mmap() -> io_region_get_ptr()

Type Parameter Key Value
PARAM_VALUE 0 mr 4096-ptr_max
BUF_SIZE 0 mr 24
DATA_SOURCE 0 mr $1
BIT_INFO 0 mr->flags 0x0,0xfffffffd
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

io_uring/zcrx.c io_allocate_rbuf_ring() -> io_region_get_ptr()

Type Parameter Key Value
PARAM_VALUE 0 mr 4096-ptr_max
PARAM_VALUE 0 mr->ptr 1-18446744073709551614
CAPABLE 0 12
NO_OVERFLOW_SIMPLE 0 mr->nr_pages
LOCK2 &ctx->uring_lock
LOCK2 _T->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/zcrx.c zcrx_validate_notif_stats() -> io_region_get_ptr()

Type Parameter Key Value
PARAM_VALUE 0 mr 4096-ptr_max
PARAM_VALUE 0 mr->ptr 18379471554275704832,18446612682070032384
CAPABLE 0 12
NO_OVERFLOW_SIMPLE 0 mr->nr_pages
LOCK2 &ctx->uring_lock
LOCK2 _T->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/io_uring.c io_allocate_scq_urings() -> io_region_get_ptr()

Type Parameter Key Value
PARAM_VALUE 0 mr 4096-ptr_max

io_uring/io_uring.c io_allocate_scq_urings() -> io_region_get_ptr()

Type Parameter Key Value
PARAM_VALUE 0 mr 4096-ptr_max
PARAM_VALUE 0 mr->ptr 1-18446744073709551614
NO_OVERFLOW_SIMPLE 0 mr->nr_pages

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

Type Parameter Key Value
PARAM_VALUE 0 mr 4096-ptr_max
PARAM_VALUE 0 mr->ptr 1-18446744073709551614
NO_OVERFLOW_SIMPLE 0 mr->nr_pages
LOCK2 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/register.c io_register_mem_region() -> io_region_get_ptr()

Type Parameter Key Value
PARAM_VALUE 0 mr 1728095403539312640
PARAM_VALUE 0 mr->ptr 1-18446744073709551614
NO_OVERFLOW_SIMPLE 0 mr->nr_pages
LOCK2 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/register.c io_register_resize_rings() -> io_region_get_ptr()

Type Parameter Key Value
PARAM_VALUE 0 mr 5919407285281665064
PARAM_VALUE 0 mr->ptr 1-18446744073709551614
NO_OVERFLOW_SIMPLE 0 mr->nr_pages
LOCK2 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/register.c io_register_resize_rings() -> io_region_get_ptr()

Type Parameter Key Value
PARAM_VALUE 0 mr 5919407285281665040
PARAM_VALUE 0 mr->ptr 1-18446744073709551614
NO_OVERFLOW_SIMPLE 0 mr->nr_pages
LOCK2 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock