Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/file.c ocfs2_zeroout_partial_cluster() -> ocfs2_bytes_to_clusters()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
CAPPED_DATA 1 bytes 1
CAPPED_DATA 1 bytes 1
DATA_SOURCE 1 bytes $1
NOSPEC 1 bytes
NOSPEC 1 bytes
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 bytes 0-9223372036854775806[c]
UNITS 0 sb unit_byte
UNITS 1 bytes unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_reflink_remap_extent() -> ocfs2_bytes_to_clusters()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 bytes 0-9223372036854775807
CAPPED_DATA 1 bytes 1
DATA_SOURCE 1 bytes $2
NOSPEC 1 bytes
NOSPEC 1 bytes
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 bytes 0-9223372036854775807[c]
NO_OVERFLOW_SIMPLE 1 bytes
UNITS 0 sb unit_byte

fs/ocfs2/refcounttree.c ocfs2_reflink_remap_extent() -> ocfs2_bytes_to_clusters()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 bytes 0-9223372036854775807
CAPPED_DATA 1 bytes 1
DATA_SOURCE 1 bytes $5
NOSPEC 1 bytes
NOSPEC 1 bytes
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 bytes 0-9223372036854775807[c]
NO_OVERFLOW_SIMPLE 1 bytes
UNITS 0 sb unit_byte