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_cp_snapshot_list_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
DATA_SOURCE 0 cpfile $0
CAPABLE 0 21
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_clear_snapshot() -> nilfs_cpfile_cp_snapshot_list_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
DATA_SOURCE 0 cpfile $0
CAPABLE 0 21
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_cp_snapshot_list_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 2-u64max
PARAM_VALUE 2 bh 4096-ptr_max
PARAM_VALUE 2 bh->b_blocknr 0
DATA_SOURCE 0 cpfile $0
CAPABLE 0 21
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_cp_snapshot_list_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
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
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