Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/cgroup/cgroup.c __cgroup_get_from_id() -> cgroup_tryget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 1-u64max |
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
kernel/cgroup/cgroup.c cgroup_get_from_path() -> cgroup_tryget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 1-u64max |
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
kernel/cgroup/cgroup.c cgroup_kn_lock_live() -> cgroup_tryget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &seq->lock |
kernel/cgroup/cgroup.c cgroup_sk_alloc() -> cgroup_tryget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &proto_tab_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | sk |
kernel/cgroup/cgroup-v1.c cgroupstats_build() -> cgroup_tryget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 1-u64max |
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | cgrp | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| 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 |
kernel/cgroup/cgroup-v1.c task_get_cgroup1() -> cgroup_tryget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cgrp | 1-u64max |
| BUF_SIZE | 0 | cgrp | (-1)-0,8192 |
| BUF_SIZE | 0 | cgrp | (-1)-0,8192 |
| DATA_SOURCE | 0 | cgrp | r task_cgroup_from_root |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | global &css_set_lock | ||
| LOCK2 | rcu_read |
kernel/bpf/helpers.c bpf_cgroup_acquire() -> cgroup_tryget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cgrp | $0 |
kernel/bpf/helpers.c bpf_cgroup_ancestor() -> cgroup_tryget()
| Type | Parameter | Key | Value |
|---|