Documented in 1 files:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/nvme/target/pr.c, line 344
- fs/exec.c, line 1014
- fs/xattr.c, line 1468
- kernel/audit_tree.c, line 324
- kernel/auditfilter.c, line 1435
- net/netfilter/ipset/ip_set_list_set.c, line 168
- net/sched/cls_basic.c, line 233
- net/sched/cls_bpf.c, line 516
- net/sched/cls_flow.c, line 564
- net/sched/cls_flower.c, line 2540
- security/apparmor/policy.c, line 1093
- security/integrity/ima/ima_policy.c, line 455
- security/yama/yama_lsm.c, line 160
Smatch caller information:
fs/xattr.c simple_xattr_set() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sched/cls_flower.c fl_change() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tp->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct tcf_proto)->lock |
net/sched/cls_bpf.c cls_bpf_change() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
security/yama/yama_lsm.c yama_ptracer_add() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-7090364027631370239,7090364027631370241-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | global &ptracer_relations_lock | ||
| LOCK2 | rcu_read |
net/netfilter/ipset/ip_set_list_set.c list_set_replace() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| NOCHECK_CALL |
security/apparmor/policy.c __replace_profile() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->next | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ns->lock |
kernel/auditfilter.c update_lsm_rule() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | global &audit_filter_mutex | ||
| HALF_LOCKED2 | global &selinux_state.policy_mutex |
drivers/nvme/target/pr.c nvmet_pr_update_reg_attr() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->next | 4096-ptr_max |
| PARAM_VALUE | 1 | new->prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &pr->pr_sem | ||
| HALF_LOCKED2 | &pr->pr_sem | ||
| TYPE_LOCK | (struct nvmet_pr)->pr_sem |
kernel/audit_tree.c replace_chunk() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &audit_cmd_mutex.lock | ||
| LOCK2 | global &audit_tree_group->mark_mutex | ||
| LOCK2 | global &hash_lock | ||
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex |
security/integrity/ima/ima_policy.c ima_lsm_update_rule() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| NOCHECK_CALL |
net/sched/cls_flow.c flow_change() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/sched/cls_basic.c basic_change() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
fs/exec.c de_thread() -> list_replace_rcu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | global &tasklist_lock | ||
| LOCK2 | irq |