Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nilfs2/cpfile.c nilfs_cpfile_delete_checkpoint_block() -> nilfs_cpfile_get_blkoff()

Type Parameter Key Value
PARAM_VALUE 0 cpfile 4096-ptr_max
PARAM_VALUE 1 cno 1-18446744073709551614
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-s32max[c]
NO_OVERFLOW_SIMPLE 0 cpfile->i_mapping->host->i_bytes

fs/nilfs2/cpfile.c nilfs_cpfile_do_get_ssinfo() -> nilfs_cpfile_get_blkoff()

Type Parameter Key Value
PARAM_VALUE 0 cpfile 4096-ptr_max
PARAM_VALUE 1 cno 1-u64max
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_blkoff()

Type Parameter Key Value
PARAM_VALUE 0 cpfile 4096-ptr_max
PARAM_VALUE 1 cno 1-u64max
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_find_checkpoint_block() -> nilfs_cpfile_get_blkoff()

Type Parameter Key Value
PARAM_VALUE 0 cpfile 4096-ptr_max
CAPPED_DATA 1 cno 1
CAPPED_DATA 1 cno 1
DATA_SOURCE 0 cpfile $0
DATA_SOURCE 1 cno $1
NOSPEC 1 cno
NOSPEC 1 cno
USER_DATA 1 cno 1-s32max[c]
HALF_LOCKED2 &nilfs->ns_segctor_sem

fs/nilfs2/cpfile.c nilfs_cpfile_find_checkpoint_block() -> nilfs_cpfile_get_blkoff()

Type Parameter Key Value
PARAM_VALUE 0 cpfile 4096-ptr_max
DATA_SOURCE 0 cpfile $0
DATA_SOURCE 1 cno $2
HALF_LOCKED2 &nilfs->ns_segctor_sem

fs/nilfs2/cpfile.c nilfs_cpfile_get_checkpoint_block() -> nilfs_cpfile_get_blkoff()

Type Parameter Key Value
PARAM_VALUE 0 cpfile 4096-ptr_max
CAPPED_DATA 1 cno 1
CAPPED_DATA 1 cno 1
DATA_SOURCE 0 cpfile $0
DATA_SOURCE 1 cno $1
NOSPEC 1 cno
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 cno 1-u64max[c]
NO_OVERFLOW_SIMPLE 0 cpfile->i_mapping->host->i_bytes
HALF_LOCKED2 &nilfs->ns_segctor_sem
HALF_LOCKED2 &nilfs->ns_snapshot_mount_mutex

fs/nilfs2/cpfile.c nilfs_cpfile_is_in_first() -> nilfs_cpfile_get_blkoff()

Type Parameter Key Value
PARAM_VALUE 0 cpfile 4096-ptr_max
PARAM_VALUE 1 cno 1-u64max
CAPPED_DATA 1 cno 1
CAPPED_DATA 1 cno 1
DATA_SOURCE 0 cpfile $0
DATA_SOURCE 1 cno $1
FUZZY_MAX 1 cno 1
NOSPEC 1 cno
NOSPEC 1 cno
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 cno 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 cpfile->i_mapping->host->i_bytes

fs/nilfs2/cpfile.c nilfs_cpfile_set_snapshot() -> nilfs_cpfile_get_blkoff()

Type Parameter Key Value
PARAM_VALUE 0 cpfile 4096-ptr_max
PARAM_VALUE 1 cno 2-u64max
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