Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

lib/radix-tree.c radix_tree_iter_replace() -> __radix_tree_replace()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->xa_flags 0,4-u32max
PARAM_VALUE 1 node 0,4096-ptr_max
PARAM_VALUE 2 slot 4096-ptr_max
BUF_SIZE 2 slot (-1),8
BUF_SIZE 2 slot (-1),8
BUF_SIZE 3 item (-1)-s32max
BUF_SIZE 3 item (-1)-s32max
BUF_SIZE 3 item->apm s32min-(-1),1-s32max
BUF_SIZE 3 item->args (-1)-0,24-12960
BUF_SIZE 3 item->as (-1)-s32max
BUF_SIZE 3 item->b_counter_regs (-1),8-s32max
BUF_SIZE 3 item->buffer (-1),144
BUF_SIZE 3 item->comp (-1),96
BUF_SIZE 3 item->config (-1)-s32max
BUF_SIZE 3 item->ctx s32min-(-1),1-s32max
BUF_SIZE 3 item->debugfs s32min-(-1),1-s32max
BUF_SIZE 3 item->deliver.eventfd.ctx s32min-(-1),1-s32max
BUF_SIZE 3 item->dest (-1),4,12,16,24,40,208,240,336
BUF_SIZE 3 item->dev (-1),1616,3696
BUF_SIZE 3 item->dev.parent (-1),1616
BUF_SIZE 3 item->device (-1),2136
BUF_SIZE 3 item->devres_group_id s32min-(-1),1-s32max
BUF_SIZE 3 item->dma_rx->slave (-1),1616
BUF_SIZE 3 item->dma_tx->slave (-1),1616
BUF_SIZE 3 item->driver.bus (-1),168
BUF_SIZE 3 item->driver.name (-1),8
BUF_SIZE 3 item->ei (-1),64,128,192,288,320,448,704,896
BUF_SIZE 3 item->f_ci (-1),256
BUF_SIZE 3 item->fl s32min-(-1),1-s32max
BUF_SIZE 3 item->flex_regs (-1),8-s32max
BUF_SIZE 3 item->gid s32min-(-1),1-s32max
BUF_SIZE 3 item->groups (-1)-s32max
BUF_SIZE 3 item->handle (-1),56
BUF_SIZE 3 item->info (-1),1-s32max
BUF_SIZE 3 item->maps (-1),8-4320
BUF_SIZE 3 item->mem_caps (-1),6
BUF_SIZE 3 item->mem_ops (-1)-0,72
BUF_SIZE 3 item->msg (-1),32
BUF_SIZE 3 item->msg->rbuf (-1),10,40
BUF_SIZE 3 item->msg->wbuf (-1),1,10,40
BUF_SIZE 3 item->mux_regs (-1),8-s32max
BUF_SIZE 3 item->ns_node_item.next (-1),16
BUF_SIZE 3 item->ns_node_item.prev (-1),16
BUF_SIZE 3 item->oa (-1),288
BUF_SIZE 3 item->olaps (-1),48-25920
BUF_SIZE 3 item->ops (-1),32,64,80
BUF_SIZE 3 item->pages (-1),8
BUF_SIZE 3 item->parent (-1),1616
BUF_SIZE 3 item->pdev (-1),1-s32max
BUF_SIZE 3 item->perf (-1),584
BUF_SIZE 3 item->ph.hops (-1),72
BUF_SIZE 3 item->ph.xops (-1),40
BUF_SIZE 3 item->port.ops (-1),40
BUF_SIZE 3 item->ppp_net (-1),10304,10432
BUF_SIZE 3 item->pr s32min-(-1),1-s32max
BUF_SIZE 3 item->priv s32min-(-1),1-s32max
BUF_SIZE 3 item->regs (-1),8-s32max
BUF_SIZE 3 item->se_hba (-1),416
BUF_SIZE 3 item->tag_set.driver_data (-1),736,848
BUF_SIZE 3 item->tag_set.ops (-1),144
BUF_SIZE 3 item->vdisk (-1),2000
BUF_SIZE 3 item->xmit_recursion (-1),64
DATA_SOURCE 0 root $0
DATA_SOURCE 2 slot $2
DATA_SOURCE 3 item $3
STR_LEN 3 item->aux->name (-1),6,13
STR_LEN 3 item->dev->name (-1),15
STR_LEN 3 item->glink (-1),12
STR_LEN 3 item->info->name (-1),4-15
STR_LEN 3 item->info->version (-1),1,5-6,9-10
STR_LEN 3 item->info.name (-1),11,30-31
STR_LEN 3 item->info.path (-1)-0,31
STR_LEN 3 item->name (-1)
STR_LEN 3 item->net (-1)-1010101
STR_LEN 3 item->parent (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 root->xa_flags 0,4-u32max
NO_OVERFLOW_SIMPLE 3 item->dev->group
NO_OVERFLOW_SIMPLE 3 item->dev->num_napi_configs
NO_OVERFLOW_SIMPLE 3 item->dev->num_rx_queues
NO_OVERFLOW_SIMPLE 3 item->dev->num_tx_queues
NO_OVERFLOW_SIMPLE 3 item->dev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 3 item->dev->real_num_tx_queues
UNITS 3 item unit_byte
HALF_LOCKED2 &apm->lock
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &chip->reg_lock
HALF_LOCKED2 &clnt->lock
HALF_LOCKED2 &idrinfo->lock
HALF_LOCKED2 &pn->l2tp_session_idr_lock
HALF_LOCKED2 &pn->l2tp_tunnel_idr_lock
HALF_LOCKED2 &queue->idr_lock
HALF_LOCKED2 &queue->lock
HALF_LOCKED2 &tn->idr_lock
HALF_LOCKED2 &tp->lock
HALF_LOCKED2 &tunnel->list_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 bh
HALF_LOCKED2 irq

lib/radix-tree.c radix_tree_replace_slot() -> __radix_tree_replace()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 node 0
PARAM_VALUE 2 slot 4096-ptr_max
BUF_SIZE 3 item (-1),56
BUF_SIZE 3 item (-1),56
DATA_SOURCE 0 root $0
DATA_SOURCE 2 slot $1
DATA_SOURCE 3 item $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &domain->root->mutex
HALF_LOCKED2 &log->tree_lock

lib/idr.c idr_replace() -> __radix_tree_replace()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 node 0,4096-ptr_max
PARAM_VALUE 2 slot 4096-ptr_max
BUF_SIZE 3 item (-1),1-4336,4672
BUF_SIZE 3 item (-1),1-4336,4672
DATA_SOURCE 3 item $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &clist->lock
HALF_LOCKED2 &dev->mode_config.idr_mutex
HALF_LOCKED2 &file_priv->prime.lock
HALF_LOCKED2 &file_priv->table_lock
HALF_LOCKED2 &filp->table_lock
HALF_LOCKED2 &idrinfo->lock
HALF_LOCKED2 &ids->rwsem
HALF_LOCKED2 &new->lock
HALF_LOCKED2 &nn->nfs_client_lock
HALF_LOCKED2 &pgt->lock
HALF_LOCKED2 &pn->l2tp_session_idr_lock
HALF_LOCKED2 &pn->l2tp_tunnel_idr_lock
HALF_LOCKED2 &qdev->surf_evict_mutex
HALF_LOCKED2 &qdev->surf_id_idr_lock
HALF_LOCKED2 &teedev->mutex
HALF_LOCKED2 &tp->lock
HALF_LOCKED2 &tunnel->list_lock
HALF_LOCKED2 &vfile->fence_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 bh
HALF_LOCKED2 global &_minor_lock
HALF_LOCKED2 global &cgroup_idr_lock
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &idr_lock
HALF_LOCKED2 global &nfs_clid_init_mutex
HALF_LOCKED2 global &pidmap_lock
HALF_LOCKED2 rcu_read