Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nilfs2/cpfile.c nilfs_cpfile_clear_snapshot() -> nilfs_cpfile_get_checkpoint_block()
| 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 | create | 0 |
| PARAM_VALUE | 3 | bhp | 739566142690836480 |
| 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 | |
| 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_clear_snapshot() -> nilfs_cpfile_get_checkpoint_block()
| 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 | create | 0 |
| PARAM_VALUE | 3 | bhp | 5581225810062381056 |
| DATA_SOURCE | 0 | cpfile | $0 |
| CAPABLE | 0 | 21 | |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| 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_clear_snapshot() -> nilfs_cpfile_get_checkpoint_block()
| 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 | create | 0 |
| PARAM_VALUE | 3 | bhp | 5002620627554111488 |
| DATA_SOURCE | 0 | cpfile | $0 |
| CAPABLE | 0 | 21 | |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| 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_get_checkpoint_block()
| 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 | create | 1 |
| PARAM_VALUE | 3 | bhp | 4503611505299238912 |
| 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 |
fs/nilfs2/cpfile.c nilfs_cpfile_delete_checkpoints() -> nilfs_cpfile_get_checkpoint_block()
| 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 | create | 0 |
| PARAM_VALUE | 3 | bhp | 2948945625490001920 |
| 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 |
fs/nilfs2/cpfile.c nilfs_cpfile_do_get_ssinfo() -> nilfs_cpfile_get_checkpoint_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 4096-ptr_max |
| PARAM_VALUE | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | create | 0 |
| PARAM_VALUE | 3 | bhp | 8347256733617860608 |
| 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 | |
| LOCK2 | &nilfs->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_do_get_ssinfo() -> nilfs_cpfile_get_checkpoint_block()
| 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 | create | 0 |
| PARAM_VALUE | 3 | bhp | 8347256733617860608 |
| PARAM_VALUE | 3 | *bhp | 4096-ptr_max |
| DATA_SOURCE | 0 | cpfile | $0 |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| LOCK2 | &nilfs->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_finalize_checkpoint() -> nilfs_cpfile_get_checkpoint_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpfile | 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 | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | create | 0 |
| PARAM_VALUE | 3 | bhp | 4465882998827089920 |
| DATA_SOURCE | 0 | cpfile | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| FUZZY_MAX | 1 | cno | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nilfs->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_is_snapshot() -> nilfs_cpfile_get_checkpoint_block()
| 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 | 1 | cno | 1-18446744073709551614 |
| PARAM_VALUE | 2 | create | 0 |
| PARAM_VALUE | 3 | bhp | 1252700932172210176 |
| 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 | |||
| 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_get_checkpoint_block()
| 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 | 1 | cno | 1-u64max |
| PARAM_VALUE | 2 | create | 0 |
| PARAM_VALUE | 3 | bhp | 3970144523958779904 |
| 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 | |||
| 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_get_checkpoint_block()
| 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 | create | 0 |
| PARAM_VALUE | 3 | bhp | 8975133304512462848 |
| 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 | |
| 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_get_checkpoint_block()
| 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 | 2-u64max |
| PARAM_VALUE | 2 | create | 0 |
| PARAM_VALUE | 3 | bhp | 8248708055657299968 |
| PARAM_VALUE | 3 | *bhp | 4096-ptr_max |
| DATA_SOURCE | 0 | cpfile | $0 |
| CAPABLE | 0 | 21 | |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| 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_get_checkpoint_block()
| 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 | create | 0 |
| PARAM_VALUE | 3 | bhp | 2945761240812662784 |
| CAPPED_DATA | 1 | cno | 1 |
| CAPPED_DATA | 1 | cno | 1 |
| DATA_SOURCE | 0 | cpfile | $0 |
| CAPABLE | 0 | 21 | |
| NO_OVERFLOW_SIMPLE | 0 | cpfile->i_mapping->host->i_bytes | |
| 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 |