Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nilfs2/the_nilfs.c init_nilfs() -> nilfs_store_log_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nilfs | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_blocks_per_segment | 16-u32max |
| PARAM_VALUE | 0 | nilfs->ns_blocksize | 1024-65536 |
| PARAM_VALUE | 0 | nilfs->ns_blocksize_bits | 9-73 |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_first_ino | 11-u32max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_inode_size | 128-u16max |
| PARAM_VALUE | 0 | nilfs->ns_mount_state | 0-u16max |
| PARAM_VALUE | 0 | nilfs->ns_ndirtyblks.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_nrsvsegs | 8-u64max |
| PARAM_VALUE | 0 | nilfs->ns_r_segments_percentage | 1-99 |
| PARAM_VALUE | 0 | nilfs->ns_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_sb->s_root | 0 |
| PARAM_VALUE | 0 | nilfs->ns_sb_update_freq | 10 |
| PARAM_VALUE | 0 | nilfs->ns_sbsize | 0-1024 |
| PARAM_VALUE | 0 | nilfs->ns_sbwcount | 0 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.count.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.first_waiter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.owner.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_sem.count.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nilfs->ns_sem.first_waiter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_sem.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_sem.owner.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_snapshot_mount_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nilfs->ns_snapshot_mount_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | sbp | 4096-ptr_max |
| PARAM_VALUE | 1 | sbp->s_blocks_per_segment | 16-u32max |
| PARAM_VALUE | 1 | sbp->s_bytes | 0-1024 |
| PARAM_VALUE | 1 | sbp->s_first_ino | 11-u32max |
| PARAM_VALUE | 1 | sbp->s_inode_size | 128-u16max |
| PARAM_VALUE | 1 | sbp->s_r_segments_percentage | 1-99 |
| PARAM_VALUE | 1 | sbp->s_rev_level | 2-u32max |
| BUF_SIZE | 0 | nilfs | 1400 |
| BUF_SIZE | 0 | nilfs->ns_sb | (-1),2880 |
| CAPPED_DATA | 0 | nilfs->ns_blocksize | 1 |
| CAPPED_DATA | 1 | sbp->s_nsegments | 1 |
| DATA_SOURCE | 0 | nilfs | $0 |
| STR_LEN | 0 | nilfs | (-1),8 |
| STR_LEN | 0 | nilfs | (-1),8 |
| STR_LEN | 0 | nilfs->ns_sb | (-1),8 |
| PARAM_COMPARE | 0 | nilfs->ns_blocksize | >= $0->ns_inode_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nilfs->ns_sb->s_flags | 0-2147486719[c] |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/nilfs2/the_nilfs.c load_nilfs() -> nilfs_store_log_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nilfs | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_bdev->bd_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_bdev->bd_mapping->i_private_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nilfs->ns_blocks_per_segment | 0-u32max |
| PARAM_VALUE | 0 | nilfs->ns_blocksize | 1024-65536 |
| PARAM_VALUE | 0 | nilfs->ns_blocksize_bits | 9-73 |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_dirty_files.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_gc_inodes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_inode_size | 0-u16max |
| PARAM_VALUE | 0 | nilfs->ns_mount_state | 0-u16max |
| PARAM_VALUE | 0 | nilfs->ns_ndirtyblks.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_nrsvsegs | 8-u64max |
| PARAM_VALUE | 0 | nilfs->ns_r_segments_percentage | 0-u32max |
| PARAM_VALUE | 0 | nilfs->ns_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_sb->s_root | 0 |
| PARAM_VALUE | 0 | nilfs->ns_sb_update_freq | 10 |
| PARAM_VALUE | 0 | nilfs->ns_sbp | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_sbsize | 0-u16max |
| PARAM_VALUE | 0 | nilfs->ns_sbwcount | 0 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.count.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.first_waiter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_segctor_sem.owner.counter | 0 |
| PARAM_VALUE | 0 | nilfs->ns_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nilfs->ns_sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | nilfs->ns_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | nilfs->ns_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | nilfs->ns_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | nilfs->ns_snapshot_mount_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nilfs->ns_snapshot_mount_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | sbp | 4096-ptr_max |
| BUF_SIZE | 0 | nilfs | 1400 |
| BUF_SIZE | 0 | nilfs->ns_sb | (-1),2880 |
| CAPPED_DATA | 0 | nilfs->ns_blocksize | 1 |
| DATA_SOURCE | 0 | nilfs | $0 |
| STR_LEN | 0 | nilfs | (-1),8 |
| STR_LEN | 0 | nilfs | (-1),8 |
| STR_LEN | 0 | nilfs->ns_sb | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nilfs->ns_sb->s_flags | 0-2147486719[c] |
| HALF_LOCKED2 | &fc->uapi_mutex |