Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

io_uring/sqpoll.c io_sq_offload_create() -> io_uring_alloc_task_context()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->apoll_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 1 ctx->cancel_table.hash_bits 1-8
PARAM_VALUE 1 ctx->cancel_table.hbs 16,4096-ptr_max
PARAM_VALUE 1 ctx->clock_offset 0
PARAM_VALUE 1 ctx->clockid 1
PARAM_VALUE 1 ctx->cmd_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 1 ctx->cq_overflow_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->cq_overflow_list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->cq_overflow_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->cq_overflow_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->cq_overflow_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->cq_wait.head.next 4096-ptr_max
PARAM_VALUE 1 ctx->cq_wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->cq_wait.head.prev 4096-ptr_max
PARAM_VALUE 1 ctx->cq_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->cq_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->cq_wait_nr.counter (-1)
PARAM_VALUE 1 ctx->defer_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->defer_list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->defer_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->defer_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->defer_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->flags 0
PARAM_VALUE 1 ctx->futex_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 1 ctx->hpage_acct.xa_flags 0
PARAM_VALUE 1 ctx->hpage_acct.xa_head 0
PARAM_VALUE 1 ctx->hybrid_poll_time 9223372036854775807
PARAM_VALUE 1 ctx->imu_cache.elem_size 560
PARAM_VALUE 1 ctx->imu_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 1 ctx->imu_cache.init_clear 0
PARAM_VALUE 1 ctx->imu_cache.max_cached 128
PARAM_VALUE 1 ctx->imu_cache.nr_cached 0
PARAM_VALUE 1 ctx->int_flags 0,2-u32max
PARAM_VALUE 1 ctx->io_bl_xa.xa_flags 0
PARAM_VALUE 1 ctx->io_bl_xa.xa_head 0
PARAM_VALUE 1 ctx->mmap_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->mmap_lock.first_waiter 0
PARAM_VALUE 1 ctx->mmap_lock.magic 4096-ptr_max
PARAM_VALUE 1 ctx->mmap_lock.osq.tail.counter 0
PARAM_VALUE 1 ctx->mmap_lock.owner.counter 0
PARAM_VALUE 1 ctx->napi_busy_poll_dt 0
PARAM_VALUE 1 ctx->napi_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->napi_list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->napi_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->napi_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->napi_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->napi_prefer_busy_poll 0
PARAM_VALUE 1 ctx->napi_track_mode 255
PARAM_VALUE 1 ctx->netmsg_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 1 ctx->node_cache.elem_size 24
PARAM_VALUE 1 ctx->node_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 1 ctx->node_cache.init_clear 0
PARAM_VALUE 1 ctx->node_cache.max_cached 128
PARAM_VALUE 1 ctx->node_cache.nr_cached 0
PARAM_VALUE 1 ctx->notify_method 2-3
PARAM_VALUE 1 ctx->personalities.xa_flags 12
PARAM_VALUE 1 ctx->personalities.xa_head 0
PARAM_VALUE 1 ctx->poll_wq.head.next 4096-ptr_max
PARAM_VALUE 1 ctx->poll_wq.head.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->poll_wq.head.prev 4096-ptr_max
PARAM_VALUE 1 ctx->poll_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->poll_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->ref_comp.done 0
PARAM_VALUE 1 ctx->ref_comp.wait.lock.magic 3735899821
PARAM_VALUE 1 ctx->ref_comp.wait.lock.owner (-1)
PARAM_VALUE 1 ctx->ref_comp.wait.lock.owner_cpu u32max
PARAM_VALUE 1 ctx->ref_comp.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->ref_comp.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->ref_comp.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->ref_comp.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->ref_comp.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->refs.data 4096-ptr_max
PARAM_VALUE 1 ctx->refs.data->confirm_switch 0
PARAM_VALUE 1 ctx->refs.data->count.counter s64min-(-9223372036854775807),0-s64max
PARAM_VALUE 1 ctx->refs.data->ref 4096-ptr_max
PARAM_VALUE 1 ctx->refs.percpu_count_ptr 4096-18446744073709547523
PARAM_VALUE 1 ctx->ring_region->pages 4096-ptr_max
PARAM_VALUE 1 ctx->ring_region.nr_pages 0-s32max
PARAM_VALUE 1 ctx->ring_region.pages 4096-ptr_max
PARAM_VALUE 1 ctx->ring_region.ptr 18379471554275704832,18446612682070032384
PARAM_VALUE 1 ctx->rings 18379471554275704832,18446612682070032384
PARAM_VALUE 1 ctx->rings_rcu 18379471554275704832,18446612682070032384
PARAM_VALUE 1 ctx->rw_cache.entries 0,16,4096-ptr_max
PARAM_VALUE 1 ctx->sq_creds 0,4096-ptr_max
PARAM_VALUE 1 ctx->sq_data 4096-ptr_max
PARAM_VALUE 1 ctx->sq_data->ctx_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->sq_data->ctx_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->sq_data->exited.done 0
PARAM_VALUE 1 ctx->sq_data->exited.wait.lock.magic 3735899821
PARAM_VALUE 1 ctx->sq_data->exited.wait.lock.owner (-1)
PARAM_VALUE 1 ctx->sq_data->exited.wait.lock.owner_cpu u32max
PARAM_VALUE 1 ctx->sq_data->exited.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->sq_data->exited.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->sq_data->lock.first_waiter 0
PARAM_VALUE 1 ctx->sq_data->lock.magic 4096-ptr_max
PARAM_VALUE 1 ctx->sq_data->lock.osq.tail.counter 0
PARAM_VALUE 1 ctx->sq_data->lock.owner.counter 0
PARAM_VALUE 1 ctx->sq_data->park_pending.counter 0
PARAM_VALUE 1 ctx->sq_data->refs.refs.counter 1
PARAM_VALUE 1 ctx->sq_data->wait.head.next 4096-ptr_max
PARAM_VALUE 1 ctx->sq_data->wait.head.prev 4096-ptr_max
PARAM_VALUE 1 ctx->sq_region->pages 4096-ptr_max
PARAM_VALUE 1 ctx->sq_region.nr_pages 0-s32max
PARAM_VALUE 1 ctx->sq_region.pages 4096-ptr_max
PARAM_VALUE 1 ctx->sq_region.ptr 18379471554275704832,18446612682070032384
PARAM_VALUE 1 ctx->sq_sqes 18379471554275704832,18446612682070032384
PARAM_VALUE 1 ctx->sq_thread_idle 1-536870912
PARAM_VALUE 1 ctx->sqd_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->sqd_list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->sqd_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->sqd_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->sqd_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->sqo_sq_wait.head.next 4096-ptr_max
PARAM_VALUE 1 ctx->sqo_sq_wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->sqo_sq_wait.head.prev 4096-ptr_max
PARAM_VALUE 1 ctx->sqo_sq_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->sqo_sq_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->submit_state.free_list.next 0
PARAM_VALUE 1 ctx->tctx_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->tctx_list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->tctx_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->tctx_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->tctx_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->tctx_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->tctx_lock.first_waiter 0
PARAM_VALUE 1 ctx->tctx_lock.magic 4096-ptr_max
PARAM_VALUE 1 ctx->tctx_lock.osq.tail.counter 0
PARAM_VALUE 1 ctx->tctx_lock.owner.counter 0
PARAM_VALUE 1 ctx->timeout_lock.magic 3735899821
PARAM_VALUE 1 ctx->timeout_lock.owner (-1)
PARAM_VALUE 1 ctx->timeout_lock.owner_cpu u32max
PARAM_VALUE 1 ctx->uring_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->uring_lock.first_waiter 0
PARAM_VALUE 1 ctx->uring_lock.magic 4096-ptr_max
PARAM_VALUE 1 ctx->uring_lock.osq.tail.counter 0
PARAM_VALUE 1 ctx->uring_lock.owner.counter 0
PARAM_VALUE 1 ctx->work_head 4096-ptr_max
PARAM_VALUE 1 ctx->work_list.stub.next 0
PARAM_VALUE 1 ctx->work_list.tail 4096-ptr_max
PARAM_VALUE 1 ctx->zcrx_ctxs.xa_flags 33554436
PARAM_VALUE 1 ctx->zcrx_ctxs.xa_head 0
PARAM_VALUE 1 *ctx->sq_array 0-255
BUF_SIZE 1 ctx 2624
BUF_SIZE 1 ctx->sq_data (-1),400
DATA_SOURCE 0 task r create_io_thread
DATA_SOURCE 1 ctx $0
FUZZY_MAX 1 ctx->notify_method 3
FUZZY_MAX 1 ctx->sq_thread_idle 250
BIT_INFO 1 ctx->notify_method 0x2,0xffffffffffffffff
HARD_MAX 1 ctx->notify_method 3
USER_DATA 1 ctx->flags 0
NO_OVERFLOW_SIMPLE 1 ctx->apoll_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->cmd_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->futex_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->imu_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->netmsg_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->node_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->ring_region.nr_pages
NO_OVERFLOW_SIMPLE 1 ctx->rw_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->sq_region.nr_pages

io_uring/tctx.c __io_uring_add_tctx_node() -> io_uring_alloc_task_context()

Type Parameter Key Value
PARAM_VALUE 1 ctx 4096-ptr_max
BUF_SIZE 1 ctx s32min-(-2),1-s32max
BUF_SIZE 1 ctx s32min-(-2),1-s32max
DATA_SOURCE 1 ctx $0
USER_DATA 1 ctx->flags 0
NO_OVERFLOW_SIMPLE 1 ctx->apoll_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->cmd_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->futex_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->imu_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->netmsg_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->node_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->ring_region.nr_pages
NO_OVERFLOW_SIMPLE 1 ctx->rw_cache.max_cached
NO_OVERFLOW_SIMPLE 1 ctx->sq_region.nr_pages
UNITS 1 ctx unit_byte