Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/apparmor/apparmorfs.c ns_mkdir_op() -> get_ns_common_ref()

Type Parameter Key Value
BUF_SIZE 0 ref s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ref unit_array_size
HALF_LOCKED2 &dentry->d_lockref.lock

security/apparmor/apparmorfs.c ns_revision_open() -> get_ns_common_ref()

Type Parameter Key Value
BUF_SIZE 0 ref s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ref unit_array_size

security/apparmor/apparmorfs.c ns_rmdir_op() -> get_ns_common_ref()

Type Parameter Key Value
BUF_SIZE 0 ref s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ref unit_array_size
LOCK2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

security/apparmor/apparmorfs.c profile_load() -> get_ns_common_ref()

Type Parameter Key Value
BUF_SIZE 0 ref s32min-(-2),1-s32max
UNITS 0 ref unit_array_size

security/apparmor/apparmorfs.c profile_remove() -> get_ns_common_ref()

Type Parameter Key Value
BUF_SIZE 0 ref s32min-(-2),1-s32max
UNITS 0 ref unit_array_size

security/apparmor/apparmorfs.c profile_replace() -> get_ns_common_ref()

Type Parameter Key Value
BUF_SIZE 0 ref s32min-(-2),1-s32max
UNITS 0 ref unit_array_size