Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/xfs/libxfs/xfs_bmap.c __xfs_bunmapi() -> xfs_iext_count()

Type Parameter Key Value
PARAM_VALUE 0 ifp 4096-ptr_max
BUF_SIZE 0 ifp (-1),48
BUF_SIZE 0 ifp (-1),48
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_bmap.c xfs_iread_extents() -> xfs_iext_count()

Type Parameter Key Value
PARAM_VALUE 0 ifp 4096-ptr_max
BUF_SIZE 0 ifp (-1),48
BUF_SIZE 0 ifp (-1),48
CAPPED_DATA 0 ifp->if_nextents 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/xfs/xfs_ioctl.c xfs_fill_fsxattr() -> xfs_iext_count()

Type Parameter Key Value
PARAM_VALUE 0 ifp 4096-ptr_max
BUF_SIZE 0 ifp 48
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_iext_tree.c xfs_iext_max_recs() -> xfs_iext_count()

Type Parameter Key Value
PARAM_VALUE 0 ifp 4096-ptr_max
BUF_SIZE 0 ifp (-1),48
BUF_SIZE 0 ifp (-1),48
DATA_SOURCE 0 ifp $0
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_inode_item.c xfs_inode_item_format_attr_fork() -> xfs_iext_count()

Type Parameter Key Value
PARAM_VALUE 0 ifp 4096-ptr_max
PARAM_VALUE 0 ifp->if_bytes 1-s64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cil->xc_ctx_lock
HALF_LOCKED2 &mp->m_growlock
TYPE_LOCK (struct xfs_cil)->xc_ctx_lock

fs/xfs/xfs_inode_item.c xfs_inode_item_format_data_fork() -> xfs_iext_count()

Type Parameter Key Value
PARAM_VALUE 0 ifp 4096-ptr_max
PARAM_VALUE 0 ifp->if_bytes 1-s64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cil->xc_ctx_lock
HALF_LOCKED2 &mp->m_growlock
TYPE_LOCK (struct xfs_cil)->xc_ctx_lock