Defined in 1 files as a function:
Referenced in 12 files:
- fs/xfs/libxfs/xfs_bmap.c
- fs/xfs/libxfs/xfs_dir2.c, line 209
- fs/xfs/libxfs/xfs_dir2_block.c
- fs/xfs/libxfs/xfs_dir2_sf.c
- fs/xfs/libxfs/xfs_exchmaps.c
- fs/xfs/libxfs/xfs_symlink_remote.c, line 336
- fs/xfs/scrub/dir_repair.c, line 1690
- fs/xfs/scrub/symlink.c
- fs/xfs/scrub/symlink_repair.c, line 342
- fs/xfs/scrub/tempfile.c, line 935
- fs/xfs/xfs_inode.h, line 160
- fs/xfs/xfs_inode_item.c, line 248
Smatch caller information:
fs/xfs/scrub/newbt.c xfs_inode_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
fs/xfs/libxfs/xfs_inode_fork.c xfs_inode_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| BUF_SIZE | 0 | ip | (-1)-s32max |
| BUF_SIZE | 0 | ip | (-1)-s32max |
| BUF_SIZE | 0 | ip->i_mount | (-1),1-s32max |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| STR_LEN | 0 | ip->i_mount | (-1),5,8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_forkoff | 0-255[c] |
| USER_DATA | 0 | ip->i_imap.im_agbno | 0-s32max[c] |
| USER_DATA | 0 | ip->i_mount->m_rsumlevels | 1-32[c] |
| UNITS | 0 | ip | unit_byte |
| HALF_LOCKED2 | &ailp->ail_lock | ||
| HALF_LOCKED2 | &bp->b_sema |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_add_attrfork_btree() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_add_attrfork_extents() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_add_attrfork_local() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_bmap.c xfs_inode_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| NOSPEC | 0 | ip->i_disk_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-s64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_nblocks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_dir2.c xfs_dir_isempty() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_exchmaps.c xfs_exchmaps_dir_to_sf() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_exchmaps.c xfs_exchmaps_link_to_sf() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/scrub/symlink.c xchk_symlink() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
fs/xfs/scrub/symlink.c xchk_symlink() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
fs/xfs/scrub/dir_repair.c xrep_dir_swap() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
fs/xfs/scrub/bmap_repair.c xfs_inode_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
fs/xfs/scrub/tempfile.c xrep_tempfile_copyout_local() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_block_sfsize() -> xfs_inode_data_fork_size()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_replace_needblock() -> xfs_inode_data_fork_size()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/xfs_inode.c xfs_inode_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
| UNITS | 0 | ip | unit_byte |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | &bp->b_sema | ||
| TYPE_LOCK | (struct xfs_buf)->b_sema |
fs/xfs/libxfs/xfs_symlink_remote.c xfs_symlink_write_target() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_bmap_btree.c xfs_inode_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ip | $0 |
| NOSPEC | 0 | ip->i_disk_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-s64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_gdquot->q_id | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_nblocks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_udquot->q_id | |
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_inode_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ip | $0 |
| NOSPEC | 0 | ip->i_disk_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-s64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_nblocks | |
| UNITS | 0 | ip | unit_byte |
| HALF_LOCKED2 | &ailp->ail_lock | ||
| HALF_LOCKED2 | &bp->b_sema |
fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_block_removename() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_leaf_to_block() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| CAPPED_DATA | 0 | ip->i_disk_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_inode_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ip | $0 |
| NOSPEC | 0 | ip->i_disk_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-s64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_nblocks | |
| UNITS | 0 | ip | unit_byte |
| HALF_LOCKED2 | &ailp->ail_lock | ||
| HALF_LOCKED2 | &bp->b_sema |
fs/xfs/xfs_inode_item.c xfs_inode_item_data_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/scrub/symlink_repair.c xrep_symlink_swap() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
fs/xfs/xfs_bmap_util.c xfs_inode_fork_size() -> xfs_inode_data_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| CAPPED_DATA | 0 | ip->i_disk_size | 1 |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | $0 |