Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/omfs/file.c find_block() -> clus_to_blk()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
BUF_SIZE 0 sbi 1-s32max
RX_PATH
TASK_NOT_RUNNING

fs/omfs/file.c find_block() -> clus_to_blk()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
BUF_SIZE 0 sbi 1-s32max
RX_PATH
TASK_NOT_RUNNING

fs/omfs/file.c omfs_get_block() -> clus_to_blk()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
CAPPED_DATA 0 sbi->s_root_ino 1
PARAM_COMPARE 0 sbi->s_num_blocks >= $0->s_root_ino
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte

fs/omfs/bitmap.c omfs_allocate_block() -> clus_to_blk()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 1 block 1-u64max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
CAPPED_DATA 0 &sbi->s_bitmap_lock 1
FUZZY_MAX 1 block 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte
LOCK2 0 &sbi->s_bitmap_lock
TYPE_LOCK (struct omfs_sb_info)->s_bitmap_lock

fs/omfs/bitmap.c set_run() -> clus_to_blk()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte
LOCK2 &sbi->s_bitmap_lock
TYPE_LOCK (struct omfs_sb_info)->s_bitmap_lock

fs/omfs/bitmap.c set_run() -> clus_to_blk()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte
LOCK2 &sbi->s_bitmap_lock
TYPE_LOCK (struct omfs_sb_info)->s_bitmap_lock

fs/omfs/inode.c omfs_bread() -> clus_to_blk()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 1 block 0-18446744073709551614
BUF_SIZE 0 sbi (-1),232
BUF_SIZE 0 sbi (-1),232
CAPPED_DATA 1 block 1
CAPPED_DATA 1 block 1
DATA_SOURCE 1 block $1
PARAM_COMPARE 1 block < $0->s_num_blocks
PARAM_COMPARE 1 block < $0->s_num_blocks
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 block 0-s32max[c]
UNITS 0 sbi unit_byte
UNITS 1 block unit_byte

fs/omfs/inode.c omfs_get_imap() -> clus_to_blk()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 1 block 0-18446744073709551614
BUF_SIZE 0 sbi 232
BUF_SIZE 0 sbi->s_imap 8
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sbi unit_byte
HALF_LOCKED2 &fc->uapi_mutex