Defined in 1 files as a function:
Referenced in 3 files:
- fs/xfs/libxfs/xfs_attr_leaf.c, line 740
- fs/xfs/xfs_inode.h, line 162
- fs/xfs/xfs_inode_item.c, line 290
Smatch caller information:
fs/xfs/scrub/newbt.c xfs_inode_fork_size() -> xfs_inode_attr_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_attr_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_inode_fork_size() -> xfs_inode_attr_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_attr_leaf.c xfs_attr_shortform_bytesfit() -> xfs_inode_attr_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/scrub/bmap_repair.c xfs_inode_fork_size() -> xfs_inode_attr_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
fs/xfs/xfs_inode.c xfs_inode_fork_size() -> xfs_inode_attr_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_bmap_btree.c xfs_inode_fork_size() -> xfs_inode_attr_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_attr_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 |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_inode_fork_size() -> xfs_inode_attr_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 |
fs/xfs/xfs_inode_item.c xfs_inode_item_attr_fork_size() -> xfs_inode_attr_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_forkoff | 1-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/xfs_bmap_util.c xfs_inode_fork_size() -> xfs_inode_attr_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 |