Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ubifs/tnc_commit.c layout_leb_in_gaps() -> fill_gap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bgt->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | c->bgt->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | c->buds_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->cnext->zbranch | 4096-ptr_max |
| PARAM_VALUE | 0 | c->commit_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->commit_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | c->commit_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | c->cs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->dbg->dfs_dir | 0,4096-u64max |
| PARAM_VALUE | 0 | c->dbg->new_nhead_offs | 0-s32max |
| PARAM_VALUE | 0 | c->dbg->old_zroot_level | 0-u16max |
| PARAM_VALUE | 0 | c->dbg->pc_cnt | 1-u32max |
| 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->empty_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->empty_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->frdi_idx_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->frdi_idx_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->freeable_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->freeable_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->idx_gc.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->idx_gc.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->ileb_len | 0-s32max |
| PARAM_VALUE | 0 | c->jheads->log_hash | 0,4096-u64max |
| PARAM_VALUE | 0 | c->jheads->wbuf.jhead | 0-s32max |
| PARAM_VALUE | 0 | c->jheads->wbuf.no_timer | 1 |
| PARAM_VALUE | 0 | c->lp_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | c->lp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | c->nroot->nbranch | 4096-ptr_max |
| PARAM_VALUE | 0 | c->old_buds.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->old_buds.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->space_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->tnc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->tnc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->tnc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | c->tnc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->ubi->mode | s32min-0,2-s32max |
| PARAM_VALUE | 0 | c->ubi->vol->reserved_pebs | 1-s32max |
| PARAM_VALUE | 0 | c->ubi->vol->vol_id | 0-2147483646 |
| PARAM_VALUE | 0 | c->ubi->vol->vol_type | s32min-3,5-s32max |
| PARAM_VALUE | 0 | c->uncat_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->uncat_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->vfs_sb->s_cop->inode_info_offs | 1632,1808,2632,2704,2712 |
| 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->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| PARAM_VALUE | 0 | c->vfs_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1293513186369728512,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488-s64max |
| PARAM_VALUE | 0 | c->vfs_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->vfs_sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | c->zroot.leaf | 1-u64max |
| PARAM_VALUE | 0 | c->zroot.znode | 1-u64max |
| PARAM_VALUE | 0 | c->zroot.znode->child_cnt | 0-u16max |
| PARAM_VALUE | 0 | c->zroot.znode->level | 0-512 |
| PARAM_VALUE | 0 | *c->log_hash->__ctx->block | 0-255 |
| PARAM_VALUE | 0 | *c->log_hash->__ctx->xxhstate.mem64 | 0-255 |
| PARAM_VALUE | 1 | lnum | 0-s32max |
| PARAM_VALUE | 4 | dirt | 3013132521882210304 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| CAPPED_DATA | 1 | lnum | 1 |
| CAPPED_DATA | 3 | gap_end | 1 |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 1 | lnum | r ubifs_find_dirty_idx_leb |
| FUZZY_MAX | 0 | c->ileb_len | 0 |
| STR_LEN | 0 | c | (-1)-1,23-24 |
| STR_LEN | 0 | c | (-1)-1,23-24 |
| BIT_INFO | 2 | gap_start | 0x0,0x7ffffff8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | c->ileb_len | |
| NO_OVERFLOW_SIMPLE | 0 | c->leb_size | |
| NO_OVERFLOW_SIMPLE | 0 | c->lhead_offs | |
| NO_OVERFLOW_SIMPLE | 0 | c->lsave_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | c->lsave_sz | |
| NO_OVERFLOW_SIMPLE | 0 | c->ltab_sz | |
| NO_OVERFLOW_SIMPLE | 0 | c->min_log_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | c->orph_dnext->inum | |
| NO_OVERFLOW_SIMPLE | 0 | c->zroot.znode->level | |
| NO_OVERFLOW_SIMPLE | 0 | c->zroot.znode->parent->level | |
| NO_OVERFLOW_SIMPLE | 1 | lnum->free | |
| UNITS | 0 | c | unit_byte |
| UNITS | 3 | gap_end | unit_byte |
| LOCK2 | 0 | &c->commit_sem | |
| LOCK2 | 0 | &c->tnc_mutex | |
| HALF_LOCKED2 | 0 | &c->umount_mutex | |
| HALF_LOCKED2 | 0 | &c->write_reserve_mutex | |
| TYPE_LOCK | (struct ubifs_info)->commit_sem | ||
| TYPE_LOCK | (struct ubifs_info)->tnc_mutex |
fs/ubifs/tnc_commit.c layout_leb_in_gaps() -> fill_gap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bgt->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | c->bgt->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | c->buds_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->cnext->zbranch | 4096-ptr_max |
| PARAM_VALUE | 0 | c->commit_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->commit_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | c->commit_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | c->cs_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->dbg->dfs_dir | 0,4096-u64max |
| PARAM_VALUE | 0 | c->dbg->new_nhead_offs | 0-s32max |
| PARAM_VALUE | 0 | c->dbg->old_zroot_level | 0-u16max |
| PARAM_VALUE | 0 | c->dbg->pc_cnt | 1-u32max |
| 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->empty_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->empty_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->frdi_idx_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->frdi_idx_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->freeable_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->freeable_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->idx_gc.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->idx_gc.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->jheads->log_hash | 0,4096-u64max |
| PARAM_VALUE | 0 | c->jheads->wbuf.jhead | 0-s32max |
| PARAM_VALUE | 0 | c->jheads->wbuf.no_timer | 1 |
| PARAM_VALUE | 0 | c->lp_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | c->lp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | c->lp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | c->nroot->nbranch | 4096-ptr_max |
| PARAM_VALUE | 0 | c->old_buds.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->old_buds.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->space_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->tnc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->tnc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->tnc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | c->tnc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->ubi->mode | s32min-0,2-s32max |
| PARAM_VALUE | 0 | c->ubi->vol->reserved_pebs | 1-s32max |
| PARAM_VALUE | 0 | c->ubi->vol->vol_id | 0-2147483646 |
| PARAM_VALUE | 0 | c->ubi->vol->vol_type | s32min-3,5-s32max |
| PARAM_VALUE | 0 | c->uncat_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->uncat_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->vfs_sb->s_cop->inode_info_offs | 1632,1808,2632,2704,2712 |
| 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->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| PARAM_VALUE | 0 | c->vfs_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1293513186369728512,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488-s64max |
| PARAM_VALUE | 0 | c->vfs_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->vfs_sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *c->log_hash->__ctx->block | 0-255 |
| PARAM_VALUE | 0 | *c->log_hash->__ctx->xxhstate.mem64 | 0-255 |
| PARAM_VALUE | 1 | lnum | 0-s32max |
| PARAM_VALUE | 4 | dirt | 3013132521882210304 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| CAPPED_DATA | 1 | lnum | 1 |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 1 | lnum | r ubifs_find_dirty_idx_leb |
| STR_LEN | 0 | c | (-1)-1,23-24 |
| STR_LEN | 0 | c | (-1)-1,23-24 |
| BIT_INFO | 2 | gap_start | 0x0,0x7ffffff8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | c->ileb_len | |
| NO_OVERFLOW_SIMPLE | 0 | c->leb_size | |
| NO_OVERFLOW_SIMPLE | 0 | c->lhead_offs | |
| NO_OVERFLOW_SIMPLE | 0 | c->lsave_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | c->lsave_sz | |
| NO_OVERFLOW_SIMPLE | 0 | c->ltab_sz | |
| NO_OVERFLOW_SIMPLE | 0 | c->min_log_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | c->orph_dnext->inum | |
| NO_OVERFLOW_SIMPLE | 0 | c->zroot.znode->level | |
| NO_OVERFLOW_SIMPLE | 0 | c->zroot.znode->parent->level | |
| NO_OVERFLOW_SIMPLE | 1 | lnum->free | |
| NO_OVERFLOW_SIMPLE | 3 | gap_end | |
| UNITS | 0 | c | unit_byte |
| UNITS | 3 | gap_end | unit_byte |
| LOCK2 | 0 | &c->commit_sem | |
| LOCK2 | 0 | &c->tnc_mutex | |
| HALF_LOCKED2 | 0 | &c->umount_mutex | |
| HALF_LOCKED2 | 0 | &c->write_reserve_mutex | |
| TYPE_LOCK | (struct ubifs_info)->commit_sem | ||
| TYPE_LOCK | (struct ubifs_info)->tnc_mutex |