Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/device_cgroup.c devcgroup_access_write() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | s | (-1),392 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &devcgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
security/device_cgroup.c devcgroup_css_free() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $0 |
| HALF_LOCKED2 | &pool->lock |
security/device_cgroup.c devcgroup_offline() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | $0 |
| LOCK2 | global &cgroup_mutex | ||
| HALF_LOCKED2 | &pool->lock |
security/device_cgroup.c devcgroup_online() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| BUF_SIZE | 0 | s | 392 |
| CAPPED_DATA | 0 | s | 1 |
| CAPPED_DATA | 0 | s->id | 1 |
| DATA_SOURCE | 0 | s | $0 |
| MEM_ZERO | 0 | s | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
security/device_cgroup.c devcgroup_online() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
security/device_cgroup.c devcgroup_seq_show() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | s | (-1),392 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
security/device_cgroup.c devcgroup_update_access() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &devcgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
security/device_cgroup.c parent_allows_removal() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &devcgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
security/device_cgroup.c parent_has_perm() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &devcgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
security/device_cgroup.c propagate_exception() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| BUF_SIZE | 0 | s | (-1),392 |
| BUF_SIZE | 0 | s | (-1),392 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &devcgroup_mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
security/device_cgroup.c task_devcgroup() -> css_to_devcgroup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &kfd_processes_mutex |