Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/xfs/xfs_rtalloc.c xfs_growfs_rt() -> xfs_sb_validate_fsb_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbp | 4096-ptr_max |
| PARAM_VALUE | 0 | sbp->sb_rblocks | 0-18446744073709551614 |
| PARAM_VALUE | 1 | nblocks | 1-u64max |
| CAPABLE | 0 | 21 | |
| USER_DATA | 1 | nblocks | 1-u64max |
| UNITS | 1 | nblocks | unit_array_size |
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/xfs_fsops.c xfs_growfs_data_private() -> xfs_sb_validate_fsb_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbp | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| USER_DATA | 1 | nblocks | 0-u64max |
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/xfs_super.c xfs_fs_fill_super() -> xfs_sb_validate_fsb_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbp | 4096-ptr_max |
| PARAM_VALUE | 0 | sbp->sb_blocksize | 0-524288 |
| PARAM_VALUE | 0 | sbp->sb_crc | 0 |
| PARAM_VALUE | 0 | sbp->sb_flags | 1-255 |
| PARAM_VALUE | 0 | sbp->sb_gquotino | 1-u64max |
| PARAM_VALUE | 0 | sbp->sb_magicnum | 1481003842 |
| PARAM_VALUE | 0 | sbp->sb_pquotino | 1-u64max |
| PARAM_VALUE | 0 | sbp->sb_uquotino | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | nblocks | unit_array_size |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/xfs/xfs_super.c xfs_fs_fill_super() -> xfs_sb_validate_fsb_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbp | 4096-ptr_max |
| PARAM_VALUE | 0 | sbp->sb_blocksize | 0-524288 |
| PARAM_VALUE | 0 | sbp->sb_crc | 0 |
| PARAM_VALUE | 0 | sbp->sb_flags | 1-255 |
| PARAM_VALUE | 0 | sbp->sb_gquotino | 1-u64max |
| PARAM_VALUE | 0 | sbp->sb_magicnum | 1481003842 |
| PARAM_VALUE | 0 | sbp->sb_pquotino | 1-u64max |
| PARAM_VALUE | 0 | sbp->sb_uquotino | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | nblocks | unit_array_size |
| HALF_LOCKED2 | &fc->uapi_mutex |