Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/fat/file.c fat_ioctl_set_attributes() -> fat_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
USER_DATA 1 attrs 0-255[c]
UNITS 0 sbi unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/fat/file.c fat_ioctl_set_attributes() -> fat_make_mode()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
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 attrs 0-255[c]
UNITS 0 sbi unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/fat/inode.c fat_fill_inode() -> fat_make_mode()

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

fs/fat/inode.c fat_fill_inode() -> fat_make_mode()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 1 attrs 16-255
PARAM_VALUE 2 mode 438,511
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
FUZZY_MAX 2 mode 511
HARD_MAX 2 mode 511
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte

fs/fat/inode.c fat_read_root() -> fat_make_mode()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 1 attrs 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