Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ubifs/master.c scan_for_master() -> ubifs_compare_master_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->dbg->pc_cnt_max | 0 |
| PARAM_VALUE | 0 | c->dbg->pc_delay | 0-2 |
| PARAM_VALUE | 0 | c->dbg->pc_happened | 0-1 |
| PARAM_VALUE | 0 | c->kobj->name | 0-255 |
| PARAM_VALUE | 0 | c->kobj_unregister.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->kobj_unregister.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->kobj_unregister.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->ubi->mode | 2 |
| PARAM_VALUE | 0 | c->ubi->vol->exclusive | 0-1 |
| PARAM_VALUE | 0 | c->ubi->vol->metaonly | 0-1 |
| PARAM_VALUE | 0 | c->umount_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->umount_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->umount_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | c->umount_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->vfs_sb->s_active.counter | 0-s32max |
| PARAM_VALUE | 0 | c->vfs_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | c->vfs_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | c->vfs_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | c->vfs_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | c->vfs_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->vfs_sb->s_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->vfs_sb->s_root | 0 |
| PARAM_VALUE | 0 | c->vfs_sb->s_umount.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c->vfs_sb | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | c->vfs_sb->s_flags | 0-2147486719[c] |
| NO_OVERFLOW_SIMPLE | 0 | c->auth_hash_algo | |
| NO_OVERFLOW_SIMPLE | 0 | c->jhead_cnt | |
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | m2 | unit_byte |
| LOCK2 | 0 | &c->umount_mutex | |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct ubifs_info)->umount_mutex |
fs/ubifs/recovery.c ubifs_recover_master_node() -> ubifs_compare_master_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->cbuf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | c->dbg->pc_cnt_max | 0 |
| PARAM_VALUE | 0 | c->dbg->pc_delay | 0-2 |
| PARAM_VALUE | 0 | c->dbg->pc_happened | 0-1 |
| PARAM_VALUE | 0 | c->jheads | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->key_fmt | 0-255 |
| PARAM_VALUE | 0 | c->key_hash | 1127651889298132992,8575396655047380992 |
| PARAM_VALUE | 0 | c->kobj->name | 0-255 |
| PARAM_VALUE | 0 | c->kobj_unregister.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->kobj_unregister.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->kobj_unregister.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->mst_node | 16,4096-ptr_max |
| PARAM_VALUE | 0 | c->mst_node_alsz | 0-4000000 |
| PARAM_VALUE | 0 | c->probing | 0 |
| PARAM_VALUE | 0 | c->ubi->mode | 2 |
| PARAM_VALUE | 0 | c->ubi->vol->corrupted | 1 |
| PARAM_VALUE | 0 | c->ubi->vol->exclusive | 0-1 |
| PARAM_VALUE | 0 | c->ubi->vol->metaonly | 0-1 |
| PARAM_VALUE | 0 | c->umount_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->umount_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->umount_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | c->umount_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->vfs_sb->s_active.counter | 0-s32max |
| PARAM_VALUE | 0 | c->vfs_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | c->vfs_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | c->vfs_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | c->vfs_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | c->vfs_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->vfs_sb->s_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->vfs_sb->s_root | 0 |
| PARAM_VALUE | 0 | c->vfs_sb->s_umount.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | m1 | 4096-ptr_max |
| PARAM_VALUE | 2 | m2 | 4096-ptr_max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c->vfs_sb | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | c->vfs_sb->s_flags | 0-2147486719[c] |
| NO_OVERFLOW_SIMPLE | 0 | c->auth_hash_algo | |
| NO_OVERFLOW_SIMPLE | 0 | c->jhead_cnt | |
| UNITS | 0 | c | unit_byte |
| LOCK2 | 0 | &c->umount_mutex | |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct ubifs_info)->umount_mutex |