Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/pwm/core.c
- fs/nfsd/nfs4state.c
- include/linux/idr.h
- lib/codetag.c, line 113
- lib/idr.c
- net/l2tp/l2tp_core.c
Smatch caller information:
net/l2tp/l2tp_core.c l2tp_pre_exit_net() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 7602159407434674176 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| LOCK2 | rcu_read |
net/l2tp/l2tp_core.c l2tp_pre_exit_net() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 7602159407434674176 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| LOCK2 | rcu_read |
net/l2tp/l2tp_core.c l2tp_session_get_by_ifname() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 7954338928580624384 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/l2tp/l2tp_core.c l2tp_session_get_by_ifname() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 7954338928580624384 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/l2tp/l2tp_core.c l2tp_sk_to_tunnel() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 262631247862292480 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sk->sk_callback_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk |
net/l2tp/l2tp_core.c l2tp_sk_to_tunnel() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 262631247862292480 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sk->sk_callback_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk |
net/l2tp/l2tp_core.c l2tp_tunnel_get_next() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 4096-ptr_max |
| DATA_SOURCE | 1 | nextid | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &m->lock |
net/l2tp/l2tp_core.c l2tp_v2_session_get_next() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 4096-ptr_max |
| DATA_SOURCE | 1 | nextid | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &m->lock |
net/l2tp/l2tp_core.c l2tp_v3_session_get_next() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 4096-ptr_max |
| DATA_SOURCE | 1 | nextid | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &m->lock |
lib/idr.c idr_get_next() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nextid | 1667425334305280000 |
| PARAM_VALUE | 1 | *nextid | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | idr | $0 |
net/sched/cls_flower.c fl_walk() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 2867688405393690624 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/sched/cls_flower.c fl_walk() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 2867688405393690624 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
fs/nfsd/nfs4state.c find_one_export_stid() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 3437846557033955328 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | &nn->client_lock | ||
| LOCK2 | global &nfsd_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/nfsd/nfs4state.c find_one_export_stid() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 3437846557033955328 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | &nn->client_lock | ||
| LOCK2 | global &nfsd_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/nfsd/nfs4state.c find_one_sb_stid() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 6567927151237754880 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | &nn->client_lock | ||
| LOCK2 | global &nfsd_mutex | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/nfsd/nfs4state.c find_one_sb_stid() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 6567927151237754880 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | &nn->client_lock | ||
| LOCK2 | global &nfsd_mutex | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/nfsd/nfs4state.c nfs40_clean_admin_revoked() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 1969877187668766720 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | &nn->client_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/nfsd/nfs4state.c nfs40_clean_admin_revoked() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 1969877187668766720 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | &nn->client_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/nfsd/nfs4state.c states_next() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 7307915661192445952 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/nfsd/nfs4state.c states_start() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 4679612747485184000 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
net/sched/act_api.c tcf_action_reoffload_cb() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 152,4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 8325323918878949376 |
| BUF_SIZE | 0 | idr | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &idrinfo->lock | ||
| LOCK2 | global &act_id_mutex | ||
| LOCK2 | global &net_rwsem | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct tcf_idrinfo)->lock |
net/sched/act_api.c tcf_action_reoffload_cb() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 8325323918878949376 |
| BUF_SIZE | 0 | idr | 96 |
| CAPPED_DATA | 0 | idr->idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &idrinfo->lock | ||
| LOCK2 | global &act_id_mutex | ||
| LOCK2 | global &net_rwsem | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct tcf_idrinfo)->lock |
net/sched/act_api.c tcf_del_walker() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 8428986220099723264 |
| BUF_SIZE | 0 | idr | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &idrinfo->lock | ||
| TYPE_LOCK | (struct tcf_idrinfo)->lock |
net/sched/act_api.c tcf_del_walker() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 8428986220099723264 |
| BUF_SIZE | 0 | idr | 96 |
| CAPPED_DATA | 0 | idr->idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &idrinfo->lock | ||
| TYPE_LOCK | (struct tcf_idrinfo)->lock |
net/sched/act_api.c tcf_dump_walker() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 7519558242875068416 |
| BUF_SIZE | 0 | idr | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &idrinfo->lock | ||
| TYPE_LOCK | (struct tcf_idrinfo)->lock |
net/sched/act_api.c tcf_dump_walker() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 7519558242875068416 |
| BUF_SIZE | 0 | idr | 96 |
| CAPPED_DATA | 0 | idr->idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &idrinfo->lock | ||
| TYPE_LOCK | (struct tcf_idrinfo)->lock |
net/sched/act_api.c tcf_idrinfo_destroy() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 363108314967334912 |
| BUF_SIZE | 0 | idr | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/sched/act_api.c tcf_idrinfo_destroy() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 4096-ptr_max |
| PARAM_VALUE | 1 | nextid | 363108314967334912 |
| BUF_SIZE | 0 | idr | 96 |
| CAPPED_DATA | 0 | idr->idr_base | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/pwm/core.c fwnode_to_pwmchip() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 43136549231992832 |
| PARAM_VALUE | 1 | nextid | 9208054523869782016 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/pwm/core.c fwnode_to_pwmchip() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 43136549231992832 |
| PARAM_VALUE | 1 | nextid | 9208054523869782016 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/pwm/core.c pwm_seq_next() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 43136549231992832 |
| PARAM_VALUE | 1 | nextid | 7505404328605478912 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/pwm/core.c pwm_seq_start() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 43136549231992832 |
| PARAM_VALUE | 1 | nextid | 2216959880618401792 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| LOCK2 | global &pwm_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/pwm/core.c pwmchip_find_by_name() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 43136549231992832 |
| PARAM_VALUE | 1 | nextid | 8869613184901279744 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/pwm/core.c pwmchip_find_by_name() -> idr_get_next_ul()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idr | 43136549231992832 |
| PARAM_VALUE | 1 | nextid | 8869613184901279744 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |