Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/nilfs2/cpfile.c nilfs_cpfile_do_get_cpinfo() -> nilfs_mdt_cno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| HALF_LOCKED2 | &nilfs->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_get_stat() -> nilfs_mdt_cno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes | |
| LOCK2 | &nilfs->ns_segctor_sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct the_nilfs)->ns_segctor_sem |
fs/nilfs2/cpfile.c nilfs_cpfile_is_snapshot() -> nilfs_mdt_cno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | inode | $0 |
| 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_mdt_cno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | inode | $0 |
| 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/dat.c nilfs_dat_abort_end() -> nilfs_mdt_cno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bmap->b_sem | ||
| HALF_LOCKED2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/dat.c nilfs_dat_commit_end() -> nilfs_mdt_cno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bmap->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/dat.c nilfs_dat_commit_start() -> nilfs_mdt_cno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &btree->b_sem | ||
| HALF_LOCKED2 | &direct->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/dat.c nilfs_dat_prepare_end() -> nilfs_mdt_cno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bmap->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/dat.c nilfs_dat_prepare_end() -> nilfs_mdt_cno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bmap->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |