Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/file-item.c btrfs_lookup_csums_bitmap() -> bytes_to_csum_size()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
UNITS 0 fs_info unit_byte
UNITS 1 bytes unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/file-item.c btrfs_lookup_csums_bitmap() -> bytes_to_csum_size()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
UNITS 0 fs_info unit_byte
UNITS 1 bytes unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/file-item.c btrfs_lookup_csums_bitmap() -> bytes_to_csum_size()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
CAPPED_DATA 1 bytes 1
UNITS 0 fs_info unit_byte
UNITS 1 bytes unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/file-item.c btrfs_lookup_csums_bitmap() -> bytes_to_csum_size()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
CAPPED_DATA 1 bytes 1
UNITS 0 fs_info unit_byte
UNITS 1 bytes unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/file-item.c btrfs_lookup_csums_list() -> bytes_to_csum_size()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
UNITS 1 bytes unit_byte
HALF_LOCKED2 &vfs_inode->i_rwsem

fs/btrfs/file-item.c btrfs_lookup_csums_list() -> bytes_to_csum_size()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
CAPPED_DATA 1 bytes 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
UNITS 1 bytes unit_byte
HALF_LOCKED2 &vfs_inode->i_rwsem

fs/btrfs/file-item.c btrfs_lookup_csums_list() -> bytes_to_csum_size()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
CAPPED_DATA 1 bytes 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
UNITS 1 bytes unit_byte
HALF_LOCKED2 &vfs_inode->i_rwsem

fs/btrfs/file-item.c btrfs_ordered_sum_size() -> bytes_to_csum_size()

Type Parameter Key Value
DATA_SOURCE 0 fs_info $0
DATA_SOURCE 1 bytes $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
UNITS 1 bytes unit_byte