Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/device_cgroup.c devcgroup_update_access() -> parent_has_perm()

Type Parameter Key Value
PARAM_VALUE 0 childcg 4096-ptr_max
PARAM_VALUE 0 childcg->behavior 0,2-u32max
PARAM_VALUE 1 ex 5907780851895214080
PARAM_VALUE 1 ex->access 0-6,8
PARAM_VALUE 1 ex->major 0,u32max
PARAM_VALUE 1 ex->minor 0,u32max
PARAM_VALUE 1 ex->type 1-2
DATA_SOURCE 0 childcg $0
CAPABLE 0 21
MEM_ZERO 1 ex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ex->major 0
USER_DATA 1 ex->minor 0
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 revalidate_active_exceptions() -> parent_has_perm()

Type Parameter Key Value
PARAM_VALUE 0 childcg 4096-ptr_max
PARAM_VALUE 0 childcg->behavior 1-u32max
PARAM_VALUE 1 ex 4096-ptr_max
CAPPED_DATA 0 &childcg->exceptions 1
DATA_SOURCE 0 childcg $0
FUZZY_MAX 0 childcg->behavior 1
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