Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/nilfs2/super.c nilfs_checkpoint_is_mounted() -> nilfs_lookup_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nilfs | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_last_cno | 1-u64max |
| PARAM_VALUE | 0 | nilfs->ns_last_segment_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cno | 0-18446744073709551614 |
| BUF_SIZE | 0 | nilfs | 1-s32max |
| BUF_SIZE | 0 | nilfs | 1-s32max |
| CAPPED_DATA | 1 | cno | 1 |
| CAPPED_DATA | 1 | cno | 1 |
| DATA_SOURCE | 1 | cno | $1 |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 1 | cno | <= $0->ns_cno |
| PARAM_COMPARE | 1 | cno | <= $0->ns_cno |
| NOSPEC | 1 | cno | |
| NOSPEC | 1 | cno | |
| USER_DATA | 1 | cno | 0-s32max[c] |
| UNITS | 0 | nilfs | unit_byte |
| 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/the_nilfs.c nilfs_find_or_create_root() -> nilfs_lookup_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nilfs | 4096-ptr_max |
| PARAM_VALUE | 1 | cno | 0-18446744073709551614 |
| BUF_SIZE | 0 | nilfs | (-1),1400 |
| BUF_SIZE | 0 | nilfs | (-1),1400 |
| CAPPED_DATA | 1 | cno | 1 |
| CAPPED_DATA | 1 | cno | 1 |
| DATA_SOURCE | 0 | nilfs | $0 |
| DATA_SOURCE | 1 | cno | $1 |
| FUZZY_MAX | 1 | cno | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | nilfs | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &nilfs->ns_snapshot_mount_mutex |
fs/nilfs2/namei.c nilfs_get_dentry() -> nilfs_lookup_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nilfs | 4096-ptr_max |
| BUF_SIZE | 0 | nilfs | 1-s32max |
| DATA_SOURCE | 1 | cno | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | cno | 0-u64max[u] |
| UNITS | 0 | nilfs | unit_byte |