Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ocfs2/file.c ocfs2_orphan_for_truncate() -> ocfs2_align_bytes_to_clusters()

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

fs/ocfs2/file.c ocfs2_truncate_cluster_pages() -> ocfs2_align_bytes_to_clusters()

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

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

Type Parameter Key Value
PARAM_VALUE 0 sb 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