Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/xfs/scrub/dirtree_repair.c xrep_dirtree_unlink() -> xfs_trans_alloc_dir()

Type Parameter Key Value
PARAM_VALUE 0 dp 4096-ptr_max
PARAM_VALUE 1 resv 4096-ptr_max
PARAM_VALUE 2 ip 4096-ptr_max
PARAM_VALUE 3 dblocks 68686961655570432
PARAM_VALUE 4 tpp 4096-ptr_max
PARAM_VALUE 4 *tpp 0
PARAM_VALUE 5 nospace_error 3458663751671111680
CAPPED_DATA 0 dp 1
CAPPED_DATA 2 ip 1
DATA_SOURCE 0 dp $1
PARAM_COMPARE 0 dp impossible $2

fs/xfs/xfs_inode.c xfs_link() -> xfs_trans_alloc_dir()

Type Parameter Key Value
PARAM_VALUE 0 dp 4096-ptr_max
PARAM_VALUE 0 dp->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dp->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 dp->i_mount 4096-ptr_max
PARAM_VALUE 0 dp->i_mount->m_dir_geo 4096-ptr_max
PARAM_VALUE 1 resv 4096-ptr_max
PARAM_VALUE 2 ip 4096-ptr_max
PARAM_VALUE 2 ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 2 ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 2 ip->i_mount 4096-ptr_max
PARAM_VALUE 3 dblocks 5427286438482944000
PARAM_VALUE 4 tpp 4791644220714176512
PARAM_VALUE 5 nospace_error 1379499568048971776
PARAM_VALUE 5 *nospace_error 0
DATA_SOURCE 0 dp $0
DATA_SOURCE 2 ip $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/xfs/xfs_inode.c xfs_remove() -> xfs_trans_alloc_dir()

Type Parameter Key Value
PARAM_VALUE 0 dp 4096-ptr_max
PARAM_VALUE 0 dp->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dp->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 dp->i_mount 4096-ptr_max
PARAM_VALUE 0 dp->i_mount->m_dir_geo 4096-ptr_max
PARAM_VALUE 1 resv 4096-ptr_max
PARAM_VALUE 2 ip 4096-ptr_max
PARAM_VALUE 2 ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 2 ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 2 ip->i_mount 4096-ptr_max
PARAM_VALUE 3 dblocks 7248882621251178496
PARAM_VALUE 4 tpp 599942027978919936
PARAM_VALUE 4 *tpp 0
PARAM_VALUE 5 nospace_error 5610884790094843904
DATA_SOURCE 0 dp $0
DATA_SOURCE 2 ip $2
RX_PATH
TASK_NOT_RUNNING