Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/nilfs2/inode.c, line 838
- fs/nilfs2/namei.c, line 493
- fs/nilfs2/recovery.c, line 840
- fs/nilfs2/segment.c, line 2834
- fs/nilfs2/super.c
Smatch caller information:
fs/nilfs2/recovery.c nilfs_salvage_orphan_logs() -> nilfs_put_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/nilfs2/super.c nilfs_attach_checkpoint() -> nilfs_put_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->cno | 0-18446744073709551614 |
| PARAM_VALUE | 0 | root->ifile | 0 |
| BUF_SIZE | 0 | root | (-1),416 |
| BUF_SIZE | 0 | root | (-1),416 |
| BUF_SIZE | 0 | root->nilfs | (-1),1400 |
| CAPPED_DATA | 0 | root | 1 |
| CAPPED_DATA | 0 | root->cno | 1 |
| DATA_SOURCE | 0 | root | r nilfs_find_or_create_root |
| FUZZY_MAX | 0 | root->cno | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &nilfs->ns_snapshot_mount_mutex |
fs/nilfs2/super.c nilfs_attach_snapshot() -> nilfs_put_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->cno | 0-s64max |
| PARAM_VALUE | 0 | root->ifile->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,4096-ptr_max |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | root->ifile->i_sb->s_flags | 0-2147486720[c] |
| LOCK2 | &nilfs->ns_snapshot_mount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| TYPE_LOCK | (struct the_nilfs)->ns_snapshot_mount_mutex |
fs/nilfs2/super.c nilfs_checkpoint_is_mounted() -> nilfs_put_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->cno | 0-18446744073709551614 |
| CAPPED_DATA | 0 | root->cno | 1 |
| DATA_SOURCE | 0 | root | r nilfs_lookup_root |
| CAPABLE | 0 | 21 | |
| NOSPEC | 0 | root->cno | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | root->cno | 0-s32max[c] |
| LOCK2 | &nilfs->ns_snapshot_mount_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_sb->s_fs_info->ns_segctor_sem | ||
| TYPE_LOCK | (struct the_nilfs)->ns_snapshot_mount_mutex |
fs/nilfs2/super.c nilfs_fill_super() -> nilfs_put_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->ifile->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,4096-ptr_max |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/nilfs2/super.c nilfs_fill_super() -> nilfs_put_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->ifile->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,4096-ptr_max |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_flushed_device | 1 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_mount_state | 0,2-4294967295 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_sbwcount | 0-4294967295 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_segctor_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_sem->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | root->ifile->i_sb->s_fs_info->ns_sem.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | root->ifile->i_sb->s_flags | 0-2147486720[c] |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/nilfs2/namei.c nilfs_get_dentry() -> nilfs_put_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| CAPPED_DATA | 0 | root->cno | 1 |
| DATA_SOURCE | 0 | root | r nilfs_lookup_root |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | root->cno | 0-u64max[c] |
fs/nilfs2/inode.c nilfs_clear_inode() -> nilfs_put_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nilfs2/segment.c nilfs_segctor_destroy() -> nilfs_put_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &nilfs->ns_segctor_sem |