Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/client/cifsacl.c build_sec_desc() -> dacl_offset_valid()

Type Parameter Key Value
PARAM_VALUE 0 acl_len 20-u32max
PARAM_VALUE 1 dacloffset 20-4294967287
DATA_SOURCE 0 acl_len $2
FUZZY_MAX 0 acl_len 20
RX_PATH
TASK_NOT_RUNNING
UNITS 0 acl_len unit_byte
UNITS 1 dacloffset unit_byte
HALF_LOCKED2 &direntry->d_inode->i_rwsem
HALF_LOCKED2 &direntry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem

fs/smb/client/cifsacl.c id_mode_to_cifs_acl() -> dacl_offset_valid()

Type Parameter Key Value
PARAM_VALUE 1 dacloffset 1-u32max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 dacloffset unit_byte
HALF_LOCKED2 &direntry->d_inode->i_rwsem
HALF_LOCKED2 &direntry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem

fs/smb/client/cifsacl.c parse_sec_desc() -> dacl_offset_valid()

Type Parameter Key Value
PARAM_VALUE 0 acl_len 20-s32max
PARAM_VALUE 1 dacloffset 1-u32max
DATA_SOURCE 0 acl_len $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 acl_len unit_byte
UNITS 1 dacloffset unit_byte
HALF_LOCKED2 global &cifs_mount_mutex