Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/xfs/libxfs/xfs_attr_leaf.c
- fs/xfs/libxfs/xfs_bmap.c, line 854
- fs/xfs/libxfs/xfs_dir2_block.c, line 1122
- fs/xfs/libxfs/xfs_dir2_sf.c
- fs/xfs/scrub/attr_repair.c
- fs/xfs/xfs_symlink.c, line 308
Smatch caller information:
fs/xfs/scrub/attr_repair.c xrep_xattr_fork_remove() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_format | 3 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | whichfork | 1 |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $1 |
| UNITS | 1 | byte_diff | unit_byte |
fs/xfs/scrub/attr_repair.c xrep_xattr_full_reset() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | 1 |
| PARAM_VALUE | 0 | ip->i_df.if_format | (-128)-2,4-127 |
| 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-4294967295 |
| 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->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | byte_diff | 4 |
| PARAM_VALUE | 2 | whichfork | 1 |
| CAPPED_DATA | 0 | ip | 1 |
| NOCHECK_CALL | |||
| UNITS | 1 | byte_diff | unit_byte |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_local_to_extents() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | 2 |
| PARAM_VALUE | 0 | ip->i_af.if_needextents | 0-1 |
| PARAM_VALUE | 0 | ip->i_af.if_nextents | 0 |
| PARAM_VALUE | 0 | ip->i_df.if_bytes | 1-s64max |
| PARAM_VALUE | 0 | ip->i_df.if_format | 1 |
| PARAM_VALUE | 0 | ip->i_flags_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_itemp | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_itemp->ili_dirty_flags | 0-4294967295 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_lock_flags | 0-u16max |
| 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_filestream->lru_grp | 0-4294967295 |
| 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 | 1 | byte_diff | (-9223372036854775807)-(-1) |
| PARAM_VALUE | 2 | whichfork | 0 |
| DATA_SOURCE | 0 | ip | $1 |
| DATA_SOURCE | 2 | whichfork | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_sf_removename() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_data | 4096-ptr_max |
| PARAM_VALUE | 1 | byte_diff | (-513)-(-3) |
| PARAM_VALUE | 2 | whichfork | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_add() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_data | 4096-ptr_max |
| PARAM_VALUE | 2 | whichfork | 1 |
| CAPPED_DATA | 0 | ip->i_forkoff | 1 |
| CAPPED_DATA | 1 | byte_diff | 1 |
| DATA_SOURCE | 1 | byte_diff | r xfs_attr_sf_entsize_byname |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_forkoff | 0-255[c] |
| USER_DATA | 1 | byte_diff | 4-512[c] |
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_create() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | (-128)-1,3-127 |
| PARAM_VALUE | 1 | byte_diff | 4 |
| PARAM_VALUE | 2 | whichfork | 1 |
| FUZZY_MAX | 0 | ip->i_af.if_format | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
| UNITS | 1 | byte_diff | unit_byte |
fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_to_leaf() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_data | 4096-ptr_max |
| PARAM_VALUE | 1 | byte_diff | (-65535)-0 |
| PARAM_VALUE | 2 | whichfork | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/xfs_symlink.c xfs_inactive_symlink_rmt() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_cowfp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_bytes | s64min-(-1),1-s64max |
| PARAM_VALUE | 0 | ip->i_df.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 0 | ip->i_disk_size | 0 |
| PARAM_VALUE | 0 | ip->i_flags_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_gdquot->q_qlock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ip->i_gdquot->q_qlock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ip->i_gdquot->q_qlock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ip->i_gdquot->q_qlock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ip->i_itemp | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_itemp->ili_dirty_flags | 0-4294967295 |
| PARAM_VALUE | 0 | ip->i_itemp->ili_item.li_lv | 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->list.next | 2212933610777083904,2624917664208203776 |
| 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_delalloc_rtextents.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_mount->m_delalloc_rtextents.lock.owner | (-1) |
| PARAM_VALUE | 0 | ip->i_mount->m_delalloc_rtextents.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ip->i_mount->m_inodegc_wq->first_flusher->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_mount->m_inodegc_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ip->i_mount->m_inodegc_wq->flusher_overflow.prev->next | 2906673126597898240 |
| 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_pdquot->q_qlock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ip->i_pdquot->q_qlock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ip->i_pdquot->q_qlock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ip->i_pdquot->q_qlock.osq.tail.counter | 0-s32max |
| 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.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 | 0-s32max |
| PARAM_VALUE | 0 | ip->i_udquot->q_qlock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | byte_diff | (-9223372036854775807)-(-1),1-s64max |
| PARAM_VALUE | 2 | whichfork | 0 |
| DATA_SOURCE | 0 | ip | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| UNITS | 0 | ip | unit_byte |
| LOCK2 | &pool->lock |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname_easy() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | byte_diff | s32min-s32max |
| PARAM_VALUE | 2 | whichfork | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname_hard() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_disk_size | 0-s32max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | byte_diff | (-2147483647)-0 |
| PARAM_VALUE | 2 | whichfork | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname_hard() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_disk_size | 0-s32max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 2 | whichfork | 0 |
| CAPPED_DATA | 1 | byte_diff | 1 |
| DATA_SOURCE | 1 | byte_diff | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
| UNITS | 1 | byte_diff | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_create() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_format | (-128)-1,3-127 |
| PARAM_VALUE | 1 | byte_diff | 6-10 |
| PARAM_VALUE | 2 | whichfork | 0 |
| DATA_SOURCE | 1 | byte_diff | r xfs_dir2_sf_hdr_size |
| FUZZY_MAX | 0 | ip->i_df.if_format | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_removename() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_disk_size | s32min-s32max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | byte_diff | s32min-s32max |
| PARAM_VALUE | 2 | whichfork | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
| UNITS | 1 | byte_diff | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino4() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | byte_diff | (-2147483647)-0 |
| PARAM_VALUE | 2 | whichfork | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino4() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 2 | whichfork | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ip | unit_byte |
| UNITS | 1 | byte_diff | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino8() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | byte_diff | (-2147483647)-0 |
| PARAM_VALUE | 2 | whichfork | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino8() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_df.if_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 2 | whichfork | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ip | unit_byte |
| UNITS | 1 | byte_diff | unit_byte |
fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_sf_to_block() -> xfs_idata_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | byte_diff | (-9223372036854775807)-0 |
| PARAM_VALUE | 2 | whichfork | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ip | unit_byte |