Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

io_uring/io_uring.c io_ring_ctx_alloc() -> io_free_alloc_caches()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->apoll_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 0 ctx->cancel_table.hbs 0-18446744073709551614
PARAM_VALUE 0 ctx->cmd_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 0 ctx->cq_overflow_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->cq_overflow_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->cq_overflow_list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->cq_overflow_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->cq_overflow_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->cq_wait_nr.counter (-1)
PARAM_VALUE 0 ctx->flags 0
PARAM_VALUE 0 ctx->futex_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 0 ctx->hpage_acct.xa_flags 0
PARAM_VALUE 0 ctx->hpage_acct.xa_head 0
PARAM_VALUE 0 ctx->hybrid_poll_time 9223372036854775807
PARAM_VALUE 0 ctx->imu_cache.elem_size 560
PARAM_VALUE 0 ctx->imu_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 0 ctx->imu_cache.init_clear 0
PARAM_VALUE 0 ctx->imu_cache.max_cached 128
PARAM_VALUE 0 ctx->imu_cache.nr_cached 0
PARAM_VALUE 0 ctx->io_bl_xa.xa_flags 0
PARAM_VALUE 0 ctx->io_bl_xa.xa_head 0
PARAM_VALUE 0 ctx->netmsg_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 0 ctx->node_cache.elem_size 24
PARAM_VALUE 0 ctx->node_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 0 ctx->node_cache.init_clear 0
PARAM_VALUE 0 ctx->node_cache.max_cached 128
PARAM_VALUE 0 ctx->node_cache.nr_cached 0
PARAM_VALUE 0 ctx->refs.data 0
PARAM_VALUE 0 ctx->rw_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 0 ctx->sqd_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->sqd_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->sqd_list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->sqd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->sqd_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->sqo_sq_wait.head.next 4096-ptr_max
PARAM_VALUE 0 ctx->sqo_sq_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->sqo_sq_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ctx->sqo_sq_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->sqo_sq_wait.head.prev->prev 4096-ptr_max
BUF_SIZE 0 ctx 2624
DATA_SOURCE 0 ctx r _kzalloc_noprof
NOCHECK_CALL
USER_DATA 0 ctx->flags 0
NO_OVERFLOW_SIMPLE 0 ctx->apoll_cache.max_cached
NO_OVERFLOW_SIMPLE 0 ctx->cmd_cache.max_cached
NO_OVERFLOW_SIMPLE 0 ctx->futex_cache.max_cached
NO_OVERFLOW_SIMPLE 0 ctx->imu_cache.max_cached
NO_OVERFLOW_SIMPLE 0 ctx->netmsg_cache.max_cached
NO_OVERFLOW_SIMPLE 0 ctx->node_cache.max_cached
NO_OVERFLOW_SIMPLE 0 ctx->rw_cache.max_cached

io_uring/io_uring.c io_ring_ctx_free() -> io_free_alloc_caches()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->buf_table.nr 0
PARAM_VALUE 0 ctx->completion_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->file_table.data.nr 0
PARAM_VALUE 0 ctx->io_ev_fd 0
PARAM_VALUE 0 ctx->ref_comp.done 0-4294967293,u32max
PARAM_VALUE 0 ctx->ref_comp.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->ref_comp.wait.lock.owner (-1)
PARAM_VALUE 0 ctx->ref_comp.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ctx->ref_comp.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->ref_comp.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ctx->refs.data 0,4096-ptr_max
PARAM_VALUE 0 ctx->sq_data 0
PARAM_VALUE 0 ctx->sq_data->thread->sched_class->uclamp_enabled 0-1
PARAM_VALUE 0 ctx->sqd_list.next->prev 4096-ptr_max
PARAM_VALUE 0 ctx->submit_state.free_list.next 0
PARAM_VALUE 0 ctx->tctx_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->tctx_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->tctx_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->tctx_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->tctx_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->timeout_lock.dep_map->name 0-255
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->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctx->uring_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctx->uring_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ctx->uring_lock.first_waiter->task->usage.refs.counter s32min-s32max
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 0 ctx->zcrx_ctxs.xa_head 0
PARAM_VALUE 0 ctx->zcrx_ctxs.xa_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 ctx 1
CAPPED_DATA 0 &ctx->uring_lock 1
DATA_SOURCE 0 ctx $0
BIT_INFO 0 ctx->flags 0x0,0xffffffff
NOCHECK_CALL
LOCK2 0 &ctx->uring_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock