Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/exfat/inode.c exfat_fill_inode() -> exfat_make_mode()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 1 attr 16-u16max
PARAM_VALUE 2 mode 511
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
BIT_INFO 1 attr 0x10,0xffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte

fs/exfat/inode.c exfat_fill_inode() -> exfat_make_mode()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 2 mode 511
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
BIT_INFO 1 attr 0x0,0xffef
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte

fs/exfat/super.c exfat_read_root() -> exfat_make_mode()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 1 attr 16
PARAM_VALUE 2 mode 511
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte
HALF_LOCKED2 &fc->uapi_mutex

fs/exfat/file.c exfat_ioctl_set_attributes() -> exfat_make_mode()

Type Parameter Key Value
PARAM_VALUE 1 attr 0-55
PARAM_VALUE 2 mode 511
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
USER_DATA 1 attr 0-55[c]
UNITS 0 sbi unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/exfat/file.c exfat_ioctl_set_attributes() -> exfat_make_mode()

Type Parameter Key Value
PARAM_VALUE 1 attr 0-55
PARAM_VALUE 2 mode 438-511
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
BIT_INFO 2 mode 0x1b6,0x1ff
USER_DATA 1 attr 0-55[c]
UNITS 0 sbi unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem