Defined in 1 files as a function:
Referenced in 6 files:
- fs/xfs/libxfs/xfs_bmap_btree.c
- fs/xfs/libxfs/xfs_inode_fork.c
- fs/xfs/libxfs/xfs_inode_fork.h, line 80
- fs/xfs/libxfs/xfs_rtrefcount_btree.c
- fs/xfs/libxfs/xfs_rtrmap_btree.c
- fs/xfs/scrub/newbt.c
Smatch caller information:
fs/xfs/scrub/newbt.c xrep_newbt_init_inode() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0-1 |
| DATA_SOURCE | 1 | whichfork | $2 |
| HARD_MAX | 1 | whichfork | 1 |
fs/xfs/scrub/newbt.c xrep_newbt_init_metadir_inode() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
fs/xfs/libxfs/xfs_inode_fork.c xfs_idata_realloc() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0-1 |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | whichfork | $2 |
| HARD_MAX | 1 | whichfork | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_forkoff | 0-255[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| UNITS | 0 | ip | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/xfs/libxfs/xfs_inode_fork.c xfs_iflush_fork() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0-1 |
| CAPPED_DATA | 0 | ip->i_forkoff | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | whichfork | $3 |
| HARD_MAX | 1 | whichfork | 1 |
| UNITS | 0 | ip | unit_byte |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | &bp->b_sema | ||
| TYPE_LOCK | (struct xfs_buf)->b_sema |
fs/xfs/libxfs/xfs_inode_fork.c xfs_iflush_fork() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0-1 |
| CAPPED_DATA | 0 | ip->i_forkoff | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | whichfork | $3 |
| HARD_MAX | 1 | whichfork | 1 |
| UNITS | 0 | ip | unit_byte |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | &bp->b_sema | ||
| TYPE_LOCK | (struct xfs_buf)->b_sema |
fs/xfs/libxfs/xfs_inode_fork.c xfs_iformat_btree() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0-1 |
| BUF_SIZE | 0 | ip->i_mount | (-1),1-s32max |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | whichfork | $2 |
| STR_LEN | 0 | ip->i_mount | (-1),5,8 |
| HARD_MAX | 1 | whichfork | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_del_extent_real() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0-2 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | whichfork | $6 |
| NOSPEC | 0 | ip->i_disk_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-(-4096),0-s64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_needs_btree() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0-1 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | whichfork | $1 |
| NOSPEC | 0 | ip->i_disk_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-(-4096),0-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_bmap.c xfs_bmap_wants_extents() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | s32min-1,3-s32max |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | whichfork | $1 |
| NOSPEC | 0 | ip->i_disk_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-(-4096),0-s64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| UNITS | 0 | ip | unit_byte |
fs/xfs/scrub/bmap_repair.c xrep_bmap_build_new_fork() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0-1 |
| HARD_MAX | 1 | whichfork | 1 |
fs/xfs/xfs_inode.c xfs_iflush() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
| 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_bmap_broot_realloc() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | whichfork | $1 |
| 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_bmap_btree.c xfs_bmap_broot_realloc() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | whichfork | $1 |
| 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_bmap_btree.c xfs_bmbt_init_cursor() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | whichfork | s32min-(-2),0-s32max |
| DATA_SOURCE | 0 | ip | $2 |
| DATA_SOURCE | 1 | whichfork | $3 |
| 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_iflush_rtrefcount() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
| CAPPED_DATA | 0 | ip->i_forkoff | 1 |
| 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_rtrefcount_btree.c xfs_rtrefcountbt_broot_realloc() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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_rtrefcount_btree.c xfs_rtrefcountbt_init_cursor() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
| DATA_SOURCE | 0 | ip | r rtg_refcount |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_iflush_rtrmap() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
| CAPPED_DATA | 0 | ip->i_forkoff | 1 |
| 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_rtrmap_btree.c xfs_rtrmapbt_broot_realloc() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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_rtrmapbt_init_cursor() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
| DATA_SOURCE | 0 | ip | r rtg_rmap |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock | ||
| HALF_LOCKED2 | global &dax_srcu |
fs/xfs/xfs_bmap_util.c xfs_swap_extents_check_format() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
| CAPPED_DATA | 0 | ip->i_disk_size | 1 |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| BIT_INFO | 0 | ip->i_diflags | 0x0,0xffff |
fs/xfs/xfs_bmap_util.c xfs_swap_extents_check_format() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
| CAPPED_DATA | 0 | ip->i_disk_size | 1 |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | $1 |
fs/xfs/xfs_bmap_util.c xfs_swap_extents_check_format() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
| CAPPED_DATA | 0 | ip->i_disk_size | 1 |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| BIT_INFO | 0 | ip->i_diflags | 0x0,0xffff |
fs/xfs/xfs_bmap_util.c xfs_swap_extents_check_format() -> xfs_inode_fork_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | whichfork | 0 |
| CAPPED_DATA | 0 | ip->i_disk_size | 1 |
| CAPPED_DATA | 0 | ip->i_mount | 1 |
| DATA_SOURCE | 0 | ip | $1 |