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/lpt_commit.c write_cnodes() -> ubifs_pack_pnode()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->bi.min_idx_lebs 2-s32max
PARAM_VALUE 0 c->bi.uncommitted_idx 0
PARAM_VALUE 0 c->buds_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 c->check_lpt_free 0
PARAM_VALUE 0 c->cnext 0
PARAM_VALUE 0 c->cnext->zbranch 4096-ptr_max
PARAM_VALUE 0 c->cnt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 c->commit_sem.first_waiter->handoff_set 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->commit_sem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 c->commit_sem.wait_lock.owner (-1)
PARAM_VALUE 0 c->commit_sem.wait_lock.owner_cpu u32max
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_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->gap_lebs 0,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_cnt 0
PARAM_VALUE 0 c->jheads->log_hash 0,4096-u64max
PARAM_VALUE 0 c->jheads->wbuf.no_timer 1
PARAM_VALUE 0 c->log_hash->__ctx->crc 0-4294967295
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 (-1)-0
PARAM_VALUE 0 c->lp_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 c->lpt_cnext 4096-ptr_max
PARAM_VALUE 0 c->new_orphans 0
PARAM_VALUE 0 c->no_orphs 0-1
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->orph_new.next 4096-ptr_max
PARAM_VALUE 0 c->orph_new.next->next 4096-ptr_max
PARAM_VALUE 0 c->orph_new.prev 4096-ptr_max
PARAM_VALUE 0 c->orph_new.prev->next 4096-ptr_max
PARAM_VALUE 0 c->orph_new.prev->prev 4096-ptr_max
PARAM_VALUE 0 c->orphan_lock.rlock.dep_map->name 0-255
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.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 c->tnc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 c->tnc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 c->tnc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 c->tnc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
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,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-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->gap_lebs (-1)
PARAM_VALUE 0 *c->log_hash->__ctx 0-4294967295
PARAM_VALUE 0 *c->log_hash->__ctx->bitLength 0-255
PARAM_VALUE 0 *c->log_hash->__ctx->block 0-255
PARAM_VALUE 0 *c->log_hash->__ctx->h.qword 72340172838076673
PARAM_VALUE 0 *c->log_hash->__ctx->xxhstate.mem64 0-255
PARAM_VALUE 0 *c->mst_node->hash_lpt 0-255
PARAM_VALUE 0 *c->orph_cnext->cmt 1
PARAM_VALUE 0 *c->orph_cnext->del 0-1
PARAM_VALUE 0 *c->orph_cnext->new 0
PARAM_VALUE 0 *c->zroot.hash 0-255
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 pnode 4096-ptr_max
BUF_SIZE 0 c (-1),1-s32max
BUF_SIZE 0 c (-1),1-s32max
CAPPED_DATA 0 c->lpt_lebs 1
CAPPED_DATA 0 c->ubi->vol->reserved_pebs 1
CAPPED_DATA 0 c->ubi->vol->vol_id 1
DATA_SOURCE 0 c $0
STR_LEN 0 c (-1)-1,23-24
STR_LEN 0 c (-1)-1,23-24
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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->lpt_offs
NO_OVERFLOW_SIMPLE 0 c->lsave_cnt
NO_OVERFLOW_SIMPLE 0 c->lsave_offs
NO_OVERFLOW_SIMPLE 0 c->ltab_offs
NO_OVERFLOW_SIMPLE 0 c->min_log_bytes
NO_OVERFLOW_SIMPLE 0 c->orph_dnext->inum
NO_OVERFLOW_SIMPLE 0 c->zroot.znode->level
UNITS 0 c unit_byte
UNITS 1 buf unit_byte
HALF_LOCKED2 0 &c->umount_mutex
HALF_LOCKED2 0 &c->write_reserve_mutex

fs/ubifs/lpt.c ubifs_create_dflt_lpt() -> ubifs_pack_pnode()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->empty 1
PARAM_VALUE 0 c->key_len 8
PARAM_VALUE 0 c->lnum_bits 0-32
PARAM_VALUE 0 c->lpt_lebs 2-s32max
PARAM_VALUE 0 c->lpt_lnum_bits 0-32
PARAM_VALUE 0 c->lpt_offs_bits 0-32
PARAM_VALUE 0 c->lpt_spc_bits 0-32
PARAM_VALUE 0 c->lsave_cnt 256
PARAM_VALUE 0 c->ltab 1-u64max
PARAM_VALUE 0 c->main_lebs 1-s32max
PARAM_VALUE 0 c->nnode_sz 3-39
PARAM_VALUE 0 c->pcnt_bits 0-32
PARAM_VALUE 0 c->pnode_sz 0-36
PARAM_VALUE 0 c->space_bits (-3)-29
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 pnode 4096-ptr_max
PARAM_VALUE 2 pnode->lprops 4096-ptr_max
BUF_SIZE 0 c->ltab 12
BUF_SIZE 1 buf 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 buf 0-s32max,18446744071562067968-u64max
BUF_SIZE 2 pnode 168
CAPPED_DATA 0 c->lpt_lebs 1
DATA_SOURCE 0 c $0
DATA_SOURCE 2 pnode r _kzalloc_noprof
CONSTRAINT 0 c->ltab_sz <=4080
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 c->lsave_cnt

fs/ubifs/lpt.c ubifs_create_dflt_lpt() -> ubifs_pack_pnode()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->empty 1
PARAM_VALUE 0 c->key_len 8
PARAM_VALUE 0 c->lnum_bits 0-32
PARAM_VALUE 0 c->lpt_lebs 2-s32max
PARAM_VALUE 0 c->lpt_lnum_bits 0-32
PARAM_VALUE 0 c->lpt_offs_bits 0-32
PARAM_VALUE 0 c->lpt_spc_bits 0-32
PARAM_VALUE 0 c->lsave_cnt 256
PARAM_VALUE 0 c->ltab 1-u64max
PARAM_VALUE 0 c->main_lebs 1-s32max
PARAM_VALUE 0 c->nnode_sz 3-39
PARAM_VALUE 0 c->pcnt_bits 0-32
PARAM_VALUE 0 c->pnode_sz 0-36
PARAM_VALUE 0 c->space_bits (-3)-29
PARAM_VALUE 2 pnode 4096-ptr_max
PARAM_VALUE 2 pnode->lprops 4096-ptr_max
BUF_SIZE 0 c->ltab 12
BUF_SIZE 1 buf 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 buf 0-s32max,18446744071562067968-u64max
BUF_SIZE 2 pnode 168
CAPPED_DATA 0 c->lpt_lebs 1
DATA_SOURCE 0 c $0
DATA_SOURCE 2 pnode r _kzalloc_noprof
CONSTRAINT 0 c->ltab_sz <=4080
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 c->lsave_cnt

fs/ubifs/lpt.c ubifs_lpt_calc_hash() -> ubifs_pack_pnode()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->authenticated 1
PARAM_VALUE 0 c->commit_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 c->commit_sem.first_waiter->type 0-1
PARAM_VALUE 0 c->vfs_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,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,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 c->vfs_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-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 1 buf 16,4096-ptr_max
PARAM_VALUE 2 pnode 0-ptr_max
BUF_SIZE 0 c (-1),1-s32max
BUF_SIZE 0 c (-1),1-s32max
BUF_SIZE 1 buf 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 buf 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 c $0
DATA_SOURCE 1 buf r _kmalloc_noprof
DATA_SOURCE 2 pnode r ubifs_get_pnode
STR_LEN 0 c (-1)-1,23-24
STR_LEN 0 c (-1)-1,23-24
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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->lpt_offs
NO_OVERFLOW_SIMPLE 0 c->lsave_cnt
NO_OVERFLOW_SIMPLE 0 c->lsave_offs
NO_OVERFLOW_SIMPLE 0 c->ltab_offs
NO_OVERFLOW_SIMPLE 0 c->min_log_bytes
NO_OVERFLOW_SIMPLE 0 c->orph_dnext->inum
NO_OVERFLOW_SIMPLE 0 c->zroot.znode->level
UNITS 0 c unit_byte
HALF_LOCKED2 0 &c->commit_sem
HALF_LOCKED2 0 &c->lp_mutex
HALF_LOCKED2 0 &c->umount_mutex
HALF_LOCKED2 0 &c->write_reserve_mutex