Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nilfs2/cpfile.c nilfs_cpfile_clear_snapshot() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| CAPPED_DATA | 1 | cno | 1 |
| CAPPED_DATA | 1 | cno | 1 |
| DATA_SOURCE | 0 | cpfile | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| CAPABLE | 0 | 21 | |
| NOSPEC | 1 | cno | |
| NOSPEC | 1 | cno | |
| USER_DATA | 1 | cno | 1-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| LOCK2 | &nilfs->ns_snapshot_mount_mutex | ||
| HALF_LOCKED2 | &inode->i_sb->s_fs_info->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_snapshot_mount_mutex |
fs/nilfs2/cpfile.c nilfs_cpfile_cp_snapshot_list_offset() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_writer->sc_state_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| CAPPED_DATA | 1 | cno | 1 |
| CAPPED_DATA | 1 | cno | 1 |
| DATA_SOURCE | 0 | cpfile | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| DATA_SOURCE | 2 | bh | $2 |
| CAPABLE | 0 | 21 | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| LOCK2 | &nilfs->ns_snapshot_mount_mutex | ||
| HALF_LOCKED2 | &inode->i_sb->s_fs_info->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_snapshot_mount_mutex |
fs/nilfs2/cpfile.c nilfs_cpfile_create_checkpoint() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| DATA_SOURCE | 0 | cpfile | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| FUZZY_MAX | 1 | cno | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size |
fs/nilfs2/cpfile.c nilfs_cpfile_delete_checkpoints() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | cpfile->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 0-18446744073709551614 |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| CAPPED_DATA | 1 | cno | 1 |
| CAPPED_DATA | 1 | cno | 1 |
| DATA_SOURCE | 0 | cpfile | $0 |
| CAPABLE | 0 | 21 | |
| NOSPEC | 1 | cno | |
| NOSPEC | 1 | cno | |
| USER_DATA | 1 | cno | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size |
fs/nilfs2/cpfile.c nilfs_cpfile_do_get_cpinfo() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | cpfile | $0 |
| NOSPEC | 1 | cno | |
| NOSPEC | 1 | cno | |
| USER_DATA | 1 | cno | 1-u64max |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| HALF_LOCKED2 | &nilfs->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_do_get_ssinfo() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| DATA_SOURCE | 0 | cpfile | $0 |
| NOSPEC | 1 | cno | |
| NOSPEC | 1 | cno | |
| USER_DATA | 1 | cno | 1-2147483903[c] |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| LOCK2 | &nilfs->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_do_get_ssinfo() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| PARAM_VALUE | 2 | bh->b_folio | 4096-ptr_max |
| DATA_SOURCE | 0 | cpfile | $0 |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| LOCK2 | &nilfs->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_finalize_checkpoint() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | cpfile->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| DATA_SOURCE | 0 | cpfile | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| FUZZY_MAX | 1 | cno | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| HALF_LOCKED2 | &nilfs->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_is_snapshot() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 1-18446744073709551614 |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| CAPPED_DATA | 1 | cno | 1 |
| CAPPED_DATA | 1 | cno | 1 |
| DATA_SOURCE | 0 | cpfile | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| LOCK2 | &nilfs->ns_segctor_sem | ||
| LOCK2 | &nilfs->ns_snapshot_mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| TYPE_LOCK | (struct the_nilfs)->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_snapshot_mount_mutex |
fs/nilfs2/cpfile.c nilfs_cpfile_read_checkpoint() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| CAPPED_DATA | 1 | cno | 1 |
| CAPPED_DATA | 1 | cno | 1 |
| DATA_SOURCE | 0 | cpfile | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| LOCK2 | &nilfs->ns_segctor_sem | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &nilfs->ns_snapshot_mount_mutex | ||
| TYPE_LOCK | (struct the_nilfs)->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_set_snapshot() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| DATA_SOURCE | 0 | cpfile | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 1 | cno | 1-u64max |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| LOCK2 | &nilfs->ns_snapshot_mount_mutex | ||
| HALF_LOCKED2 | &inode->i_sb->s_fs_info->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_snapshot_mount_mutex |
fs/nilfs2/cpfile.c nilfs_cpfile_set_snapshot() -> nilfs_cpfile_checkpoint_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | cpfile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_blocknr | 0 |
| PARAM_VALUE | 2 | bh->b_folio | 4096-ptr_max |
| CAPPED_DATA | 1 | cno | 1 |
| CAPPED_DATA | 1 | cno | 1 |
| DATA_SOURCE | 0 | cpfile | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| CAPABLE | 0 | 21 | |
| NOSPEC | 1 | cno | |
| USER_DATA | 1 | cno | 1-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size | |
| LOCK2 | &nilfs->ns_snapshot_mount_mutex | ||
| HALF_LOCKED2 | &inode->i_sb->s_fs_info->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_snapshot_mount_mutex |