Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/xfs/libxfs/xfs_types.c
- fs/xfs/scrub/inode_repair.c, line 936
- fs/xfs/scrub/quota.c, line 92
- fs/xfs/scrub/quota_repair.c
- fs/xfs/xfs_inode.c, line 1067
- fs/xfs/xfs_super.c, line 1892
Smatch caller information:
fs/xfs/libxfs/xfs_types.c xfs_verify_fileext() -> xfs_verify_fileoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | off | 0-18446744073709551614 |
| BUF_SIZE | 0 | mp | (-1),1-s32max |
| BUF_SIZE | 0 | mp | (-1),1-s32max |
| CAPPED_DATA | 1 | off | 1 |
| CAPPED_DATA | 1 | off | 1 |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | off | $1 |
| STR_LEN | 0 | mp | (-1),5,8 |
| STR_LEN | 0 | mp | (-1),5,8 |
| STR_LEN | 0 | mp->m_super | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | off | |
| UNITS | 0 | mp | unit_byte |
| UNITS | 1 | off | unit_array_size |
fs/xfs/libxfs/xfs_types.c xfs_verify_fileext() -> xfs_verify_fileoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mp | (-1),1-s32max |
| BUF_SIZE | 0 | mp | (-1),1-s32max |
| DATA_SOURCE | 0 | mp | $0 |
| STR_LEN | 0 | mp | (-1),5,8 |
| STR_LEN | 0 | mp | (-1),5,8 |
| STR_LEN | 0 | mp->m_super | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mp | unit_byte |
fs/xfs/scrub/quota_repair.c xrep_quota_item_bmap() -> xfs_verify_fileoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0-u32max |
| UNITS | 0 | mp | unit_byte |
| LOCK2 | &dq->q_qlock | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock |
fs/xfs/scrub/quota_repair.c xrep_quota_item_bmap() -> xfs_verify_fileoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0-u32max |
| UNITS | 0 | mp | unit_byte |
| LOCK2 | &dq->q_qlock | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock |
fs/xfs/scrub/quota.c xchk_quota_item_bmap() -> xfs_verify_fileoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0-u32max |
| DATA_SOURCE | 1 | off | $2 |
| UNITS | 0 | mp | unit_byte |
| LOCK2 | &dq->q_qlock | ||
| TYPE_LOCK | (struct xfs_dquot)->q_qlock |
fs/xfs/scrub/inode_repair.c xrep_dinode_bad_bmbt_fork() -> xfs_verify_fileoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| UNITS | 0 | mp | unit_byte |
| UNITS | 1 | off | unit_array_size |
fs/xfs/xfs_inode.c xfs_itruncate_extents_flags() -> xfs_verify_fileoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| BIT_INFO | 0 | mp->m_qflags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | off | 0-9223372041149743102[c] |
| UNITS | 0 | mp | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_super.c xfs_fs_fill_super() -> xfs_verify_fileoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| BUF_SIZE | 0 | mp | 1-s32max |
| BUF_SIZE | 0 | mp | 1-s32max |
| BUF_SIZE | 0 | mp->m_debugfs | (-1)-s32max |
| BUF_SIZE | 0 | mp->m_stats.xs_stats | 1112 |
| BUF_SIZE | 0 | mp->m_super | (-1),2880 |
| CAPPED_DATA | 0 | mp->m_ddev_targp | 1 |
| CAPPED_DATA | 0 | mp->m_debugfs | 1 |
| CAPPED_DATA | 0 | mp->m_logbsize | 1 |
| CAPPED_DATA | 0 | mp->m_logdev_targp | 1 |
| CAPPED_DATA | 0 | mp->m_sb.sb_blocklog | 1 |
| CAPPED_DATA | 0 | mp->m_super | 1 |
| CAPPED_DATA | 0 | mp->m_super->s_dev | 1 |
| STR_LEN | 0 | mp->m_super | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mp->m_ddev_targp->bt_file->f_flags | 0,32768-u32max |
| USER_DATA | 0 | mp->m_ddev_targp->bt_file->f_mode | 0,64-u32max |
| USER_DATA | 0 | mp->m_logdev_targp->bt_file->f_flags | 0,32768-u32max |
| USER_DATA | 0 | mp->m_logdev_targp->bt_file->f_mode | 0,64-u32max |
| USER_DATA | 0 | mp->m_rtdev_targp->bt_file->f_flags | 0,32768-u32max |
| USER_DATA | 0 | mp->m_rtdev_targp->bt_file->f_mode | 0,64-u32max |
| USER_DATA | 0 | mp->m_super->s_flags | 0-2147486719[c] |
| NO_OVERFLOW_SIMPLE | 0 | mp->m_ddev_targp->bt_daxdev->inode.i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | mp->m_rtdev_targp->bt_daxdev->inode.i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | mp->m_sb_bp->b_map_count | |
| UNITS | 0 | mp | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |