Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/xattr.c xattr_is_maclabel() -> security_ismaclabel()

Type Parameter Key Value
PARAM_VALUE 0 name 4096-ptr_max
TASK_NOT_RUNNING
UNITS 0 name unit_byte
LOCK2 rcu_read

fs/nfs/nfs4proc.c nfs4_xattr_get_nfs4_label() -> security_ismaclabel()

Type Parameter Key Value
PARAM_VALUE 0 name 4096-ptr_max
DATA_SOURCE 0 name $3
STR_LEN 0 name (-1)
STR_LEN 0 name (-1)
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs4proc.c nfs4_xattr_set_nfs4_label() -> security_ismaclabel()

Type Parameter Key Value
PARAM_VALUE 0 name 4096-ptr_max
DATA_SOURCE 0 name $4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &unused->d_inode->i_rwsem

fs/ceph/xattr.c __ceph_getxattr() -> security_ismaclabel()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 name unit_byte
LOCK2 &ci->i_ceph_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct ceph_inode_info)->i_ceph_lock