Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/xfs/xfs_exchrange.c xfs_exchrange_prep() -> xfs_inode_alloc_unitsize()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
CAPPED_DATA 0 ip 1
DATA_SOURCE 0 ip $2

fs/xfs/xfs_iops.c xfs_report_dioalign() -> xfs_inode_alloc_unitsize()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
DATA_SOURCE 0 ip $0
BIT_INFO 0 ip->i_diflags 0x0,0xffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &lo->lo_mutex

fs/xfs/xfs_file.c xfs_is_falloc_aligned() -> xfs_inode_alloc_unitsize()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/xfs/xfs_bmap_util.c xfs_flush_unmap_range() -> xfs_inode_alloc_unitsize()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 0 ip->i_mount 4096-ptr_max
CAPPED_DATA 0 ip 1
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_bmap_util.c xfs_prepare_shift() -> xfs_inode_alloc_unitsize()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
DATA_SOURCE 0 ip $0
RX_PATH
TASK_NOT_RUNNING