Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 9 files:
- fs/btrfs/ioctl.c, line 5167
- fs/f2fs/gc.c, line 2391
- fs/gfs2/super.c
- fs/gfs2/sys.c, line 170
- fs/ioctl.c
- fs/kernfs/mount.c, line 78
- fs/super.c
- fs/xfs/scrub/fscounters.c, line 126
- fs/xfs/xfs_notify_failure.c, line 135
Smatch caller information:
fs/super.c filesystems_freeze_callback() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_active.counter | 0-s32max |
| PARAM_VALUE | 0 | sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdi->wb_switch_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op->freeze_fs | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op->freeze_super | 0 |
| PARAM_VALUE | 0 | sb->s_passive.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | sb->s_type | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_umount.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | who | 9 |
| PARAM_VALUE | 2 | freeze_owner | 9113311357353111552 |
| BUF_SIZE | 2 | freeze_owner | 19 |
| DATA_SOURCE | 0 | sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &sb->s_umount |
fs/super.c fs_super_freeze() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_active.counter | 0-s32max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdi->wb_switch_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_cop->inode_info_offs | 1632,1640,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op->freeze_super | 0 |
| PARAM_VALUE | 0 | sb->s_umount.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | who | 6 |
| PARAM_VALUE | 2 | freeze_owner | 0 |
| DATA_SOURCE | 0 | sb | $0 |
| RX_PATH | |||
| UNITS | 0 | sb | unit_byte |
| LOCK2 | &bdev->bd_fsfreeze_mutex | ||
| TYPE_LOCK | (struct block_device)->bd_fsfreeze_mutex |
fs/f2fs/gc.c f2fs_resize_fs() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb->s_fs_info->cp_rwsem.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_fs_info->cp_rwsem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_fs_info->quota_sem.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | who | 1 |
| PARAM_VALUE | 2 | freeze_owner | 0 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | sb | unit_byte |
fs/xfs/scrub/fscounters.c xchk_fsfreeze() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->host->i_sb->s_export_op->encode_fh | 0,2,4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdi->wb_switch_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_cop->inode_info_offs | 1632,1640,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | who | 1 |
| PARAM_VALUE | 2 | freeze_owner | 0 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | sb | unit_byte |
fs/ioctl.c ioctl_fsfreeze() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op->freeze_fs | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op->freeze_super | 0 |
| PARAM_VALUE | 1 | who | 2 |
| PARAM_VALUE | 2 | freeze_owner | 0 |
| NS_CAPABLE | 0 | 21 | |
| UNITS | 0 | sb | unit_byte |
fs/btrfs/ioctl.c btrfs_ioctl_shutdown() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | who | 1 |
| PARAM_VALUE | 2 | freeze_owner | 0 |
| CAPABLE | 0 | 21 |
fs/gfs2/super.c gfs2_freeze_func() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | who | 2 |
| PARAM_VALUE | 2 | freeze_owner | 0 |
| LOCK2 | &sdp->sd_freeze_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_freeze_mutex |
fs/gfs2/super.c gfs2_freeze_super() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | sb->s_bdev->bd_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_bdi->wb_switch_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sb->s_cop->inode_info_offs | 1632,1640,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op->freeze_fs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_op->freeze_super | 2519477815684136960 |
| PARAM_VALUE | 0 | sb->s_op->sync_fs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_qcop->set_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | who | 2,6,9 |
| PARAM_VALUE | 2 | freeze_owner | 0,9113311357353111552 |
| BUF_SIZE | 2 | freeze_owner | (-1),19 |
| BUF_SIZE | 2 | freeze_owner | (-1),19 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | who | $1 |
| DATA_SOURCE | 2 | freeze_owner | $2 |
| HARD_MAX | 1 | who | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sdp->sd_freeze_mutex | ||
| HALF_LOCKED2 | &bdev->bd_fsfreeze_mutex | ||
| HALF_LOCKED2 | 0 | &sb->s_umount | |
| TYPE_LOCK | (struct gfs2_sbd)->sd_freeze_mutex |
fs/xfs/xfs_notify_failure.c xfs_dax_notify_failure_freeze() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 1 | who | 1 |
| PARAM_VALUE | 2 | freeze_owner | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| LOCK2 | global &dax_srcu | ||
| HALF_LOCKED2 | global &mf_mutex |
fs/gfs2/sys.c freeze_store() -> freeze_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | who | 2 |
| PARAM_VALUE | 2 | freeze_owner | 0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |