Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/xfs/libxfs/xfs_attr.c
- fs/xfs/scrub/dirtree_repair.c, line 407
- fs/xfs/xfs_bmap_util.c
- fs/xfs/xfs_iomap.c
- fs/xfs/xfs_reflink.c
- fs/xfs/xfs_rtalloc.c, line 709
Smatch caller information:
fs/xfs/xfs_reflink.c xfs_reflink_fill_cow_hole() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_cowfp | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_super | 4096-ptr_max |
| PARAM_VALUE | 1 | resv | 4096-ptr_max |
| PARAM_VALUE | 4 | force | 0 |
| PARAM_VALUE | 5 | tpp | 7832686915393937408 |
| DATA_SOURCE | 0 | ip | $0 |
| BIT_INFO | 0 | ip->i_diflags | 0x0,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | rblocks | 0-u32max[c] |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/xfs/xfs_reflink.c xfs_reflink_fill_delalloc() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_cowfp | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_super | 4096-ptr_max |
| PARAM_VALUE | 2 | dblocks | 0 |
| PARAM_VALUE | 3 | rblocks | 0 |
| PARAM_VALUE | 4 | force | 0 |
| PARAM_VALUE | 5 | tpp | 4366251922162634752 |
| DATA_SOURCE | 0 | ip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/xfs/xfs_reflink.c xfs_reflink_remap_extent() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 1 | resv | 4096-ptr_max |
| PARAM_VALUE | 4 | force | 0 |
| PARAM_VALUE | 5 | tpp | 9172102879309795328 |
| DATA_SOURCE | 0 | ip | $0 |
| BIT_INFO | 0 | ip->i_diflags | 0x0,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | rblocks | 0-u32max[c] |
| UNITS | 3 | rblocks | unit_array_size |
fs/xfs/xfs_reflink.c xfs_reflink_remap_extent() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_flags_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_itemp | 1-u64max |
| PARAM_VALUE | 0 | ip->i_itemp->ili_dirty_flags | 0 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->flags | 0-2,5 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_committed | 0,283025114569195520,5164564067102691328 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_committing | 0,4828373187025854464,6929890327166103552,8391046949560442880 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_intent | 0,564933579169271808,1432282536262184960,2001389918975270912,6466259957020385280,8569170642382753792,9140561983953010688 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_match | 0,632712193071185920,2903961003257139200,2990082737005334528,4656829959769772032,8815353037356904448,8840775383261859840 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_pin | 0,128515512824188928,1388028456347627520,2041315837493792768 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_precommit | 0,1492769248575832064,4373168401562583040,7909231871947640832,8569134365498331136 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_push | 0,925402561215127552,8226357149320933376,9036841439544610816 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_sort | 0,4561676619972972544,7092074397265825792 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_lock_flags | 0,4 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_inodegc_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ip->i_mount->m_inodegc_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ip->i_mount->m_super | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_udquot->q_qlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_udquot->q_qlock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ip->i_udquot->q_qlock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ip->i_udquot->q_qlock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ip->i_udquot->q_qlock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | resv | 4096-ptr_max |
| PARAM_VALUE | 2 | dblocks | 0-2147483646 |
| PARAM_VALUE | 3 | rblocks | 0 |
| PARAM_VALUE | 4 | force | 0 |
| PARAM_VALUE | 5 | tpp | 9172102879309795328 |
| DATA_SOURCE | 0 | ip | $0 |
| BIT_INFO | 0 | ip->i_diflags | 0x0,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dblocks | unit_array_size |
fs/xfs/xfs_rtalloc.c xfs_growfs_rt_fixup_extsize() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | resv | 4096-ptr_max |
| PARAM_VALUE | 2 | dblocks | 0 |
| PARAM_VALUE | 3 | rblocks | 0 |
| PARAM_VALUE | 4 | force | 0 |
| PARAM_VALUE | 5 | tpp | 8232057320590987264 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 0 | ip->i_diflags | 0x1100,0xffff |
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/scrub/dirtree_repair.c xrep_dirtree_unlink() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | rblocks | 0 |
| PARAM_VALUE | 4 | force | 0 |
| PARAM_VALUE | 5 | tpp | 4096-ptr_max |
| PARAM_VALUE | 5 | *tpp | 0 |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $1 |
fs/xfs/xfs_iomap.c xfs_atomic_write_cow_iomap_begin() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_cowfp | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->flags | 0-2,5 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_committed | 0,283025114569195520,5164564067102691328 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_committing | 0,4828373187025854464,6929890327166103552,8391046949560442880 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_intent | 0,564933579169271808,1432282536262184960,2001389918975270912,6466259957020385280,8569170642382753792,9140561983953010688 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_match | 0,632712193071185920,2903961003257139200,2990082737005334528,4656829959769772032,8815353037356904448,8840775383261859840 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_pin | 0,128515512824188928,1388028456347627520,2041315837493792768 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_precommit | 0,1492769248575832064,4373168401562583040,7909231871947640832,8569134365498331136 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_push | 0,925402561215127552,8226357149320933376,9036841439544610816 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_sort | 0,4561676619972972544,7092074397265825792 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 4 | force | 0 |
| PARAM_VALUE | 5 | tpp | 3558933610524729344 |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | r XFS_I |
| BIT_INFO | 0 | ip->i_diflags | 0x0,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | rblocks | 0-u32max[c] |
fs/xfs/xfs_iomap.c xfs_iomap_write_direct() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->flags | 0-2,5 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_committed | 0,283025114569195520,5164564067102691328 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_committing | 0,4828373187025854464,6929890327166103552,8391046949560442880 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_intent | 0,564933579169271808,1432282536262184960,2001389918975270912,6466259957020385280,8569170642382753792,9140561983953010688 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_match | 0,632712193071185920,2903961003257139200,2990082737005334528,4656829959769772032,8815353037356904448,8840775383261859840 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_pin | 0,128515512824188928,1388028456347627520,2041315837493792768 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_precommit | 0,1492769248575832064,4373168401562583040,7909231871947640832,8569134365498331136 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_push | 0,925402561215127552,8226357149320933376,9036841439544610816 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_sort | 0,4561676619972972544,7092074397265825792 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_super | 4096-ptr_max |
| PARAM_VALUE | 1 | resv | 4096-ptr_max |
| PARAM_VALUE | 5 | tpp | 7251006919906390016 |
| DATA_SOURCE | 0 | ip | $0 |
| BIT_INFO | 0 | ip->i_diflags | 0x0,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ls->ls_mutex |
fs/xfs/xfs_iomap.c xfs_iomap_write_unwritten() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->flags | 0-2,5 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_committed | 0,283025114569195520,5164564067102691328 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_committing | 0,4828373187025854464,6929890327166103552,8391046949560442880 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_intent | 0,564933579169271808,1432282536262184960,2001389918975270912,6466259957020385280,8569170642382753792,9140561983953010688 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_match | 0,632712193071185920,2903961003257139200,2990082737005334528,4656829959769772032,8815353037356904448,8840775383261859840 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_pin | 0,128515512824188928,1388028456347627520,2041315837493792768 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_precommit | 0,1492769248575832064,4373168401562583040,7909231871947640832,8569134365498331136 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_push | 0,925402561215127552,8226357149320933376,9036841439544610816 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_ops->iop_sort | 0,4561676619972972544,7092074397265825792 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 2 | dblocks | 0,2-4294967292 |
| PARAM_VALUE | 3 | rblocks | 0 |
| PARAM_VALUE | 4 | force | 1 |
| PARAM_VALUE | 5 | tpp | 8045154877371760640 |
| DATA_SOURCE | 0 | ip | $0 |
| BIT_INFO | 2 | dblocks | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_attr.c xfs_attr_add_fork() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_alloc_mnr | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_alloc_mxr | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_dir_geo | 4096-ptr_max |
| PARAM_VALUE | 1 | resv | 4096-ptr_max |
| PARAM_VALUE | 3 | rblocks | 0 |
| PARAM_VALUE | 5 | tpp | 5338772427692937216 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 4 | force | $2 |
| BIT_INFO | 4 | force | 0x0,0x1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_attr.c xfs_attr_set() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount->m_alloc_mnr | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_alloc_mxr | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 1 | resv | 5061089415662624768 |
| PARAM_VALUE | 3 | rblocks | 0 |
| PARAM_VALUE | 5 | tpp | 4096-ptr_max |
| PARAM_VALUE | 5 | *tpp | 0 |
| DATA_SOURCE | 4 | force | $2 |
| BIT_INFO | 4 | force | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
| UNITS | 2 | dblocks | unit_array_size |
fs/xfs/xfs_bmap_util.c xfs_alloc_file_space() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 2 | dblocks | 0-2149580797 |
| PARAM_VALUE | 3 | rblocks | 0-2097151 |
| PARAM_VALUE | 4 | force | 0 |
| PARAM_VALUE | 5 | tpp | 4909466724461654016 |
| CAPPED_DATA | 3 | rblocks | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| FUZZY_MAX | 3 | rblocks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_bmap_util.c xfs_unmap_extent() -> xfs_trans_alloc_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 1 | resv | 4096-ptr_max |
| PARAM_VALUE | 2 | dblocks | 0-2147483646 |
| PARAM_VALUE | 3 | rblocks | 0 |
| PARAM_VALUE | 4 | force | 0 |
| PARAM_VALUE | 5 | tpp | 3957737640393068544 |
| DATA_SOURCE | 0 | ip | $0 |
| HARD_MAX | 2 | dblocks | 2147483646 |
| RX_PATH | |||
| TASK_NOT_RUNNING |