Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ntfs/index.c ntfs_ie_add() -> ntfs_index_ctx_reinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icx | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->actx | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->actx->al_entry->length | 0,26-u16max |
| PARAM_VALUE | 0 | icx->actx->al_entry->type | 0-31,33-u32max |
| PARAM_VALUE | 0 | icx->actx->ntfs_ino | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->actx->ntfs_ino->vol->sb->s_fs_info->wb_err | 0-4294967295 |
| PARAM_VALUE | 0 | icx->idx_ni | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->idx_ni->runlist.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->runlist.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->lcnbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->lcnbmp_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mft_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mft_ino->i_sb->s_export_op->fh_to_parent | 0,4672,5297,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mftbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mftbmp_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mftmirr_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | *icx->parent_pos | s32min-s32max |
| BUF_SIZE | 0 | icx | (-1)-s32max |
| BUF_SIZE | 0 | icx | (-1)-s32max |
| CAPPED_DATA | 0 | icx->idx_ni | 1 |
| DATA_SOURCE | 0 | icx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->base_attr->data.non_resident.mapping_pairs_offset | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->base_ntfs_ino->attr_list_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->base_ntfs_ino->i_dealloc_clusters | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->base_ntfs_ino->runlist.count | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->ntfs_ino->attr_list_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->ntfs_ino->i_dealloc_clusters | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->ntfs_ino->runlist.count | |
| NO_OVERFLOW_SIMPLE | 0 | icx->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->attr_list_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->ext.extent_ntfs_inos | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->runlist.count | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->runlist.rl->length | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->vol->lcnbmp_ino->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->vol->mft_ino->i_mapping->host->i_size | |
| HALF_LOCKED2 | &dir_ni->mrec_lock | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &xrni->mrec_lock |
fs/ntfs/index.c ntfs_ih_takeout() -> ntfs_index_ctx_reinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icx | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->actx->al_entry->type | 0-31,33-u32max |
| PARAM_VALUE | 0 | icx->idx_ni | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->idx_ni->runlist.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->runlist.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->lcnbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->lcnbmp_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mft_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mftbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mftbmp_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | icx->ir->collation_rule | 0-1,16,19 |
| PARAM_VALUE | 0 | icx->parent_vcn | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->pindex | 0-s32max |
| PARAM_VALUE | 0 | *icx->parent_pos | s32min-s32max |
| BUF_SIZE | 0 | icx | (-1)-s32max |
| BUF_SIZE | 0 | icx | (-1)-s32max |
| BUF_SIZE | 0 | icx->ia_ni | (-1),768,776 |
| CAPPED_DATA | 0 | icx->idx_ni | 1 |
| DATA_SOURCE | 0 | icx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->base_attr->data.non_resident.mapping_pairs_offset | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->base_ntfs_ino->attr_list_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->base_ntfs_ino->i_dealloc_clusters | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->base_ntfs_ino->runlist.count | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->ntfs_ino->attr_list_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->ntfs_ino->i_dealloc_clusters | |
| NO_OVERFLOW_SIMPLE | 0 | icx->actx->ntfs_ino->runlist.count | |
| NO_OVERFLOW_SIMPLE | 0 | icx->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->attr_list_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->ext.extent_ntfs_inos | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->runlist.count | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->runlist.rl->length | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->vol->lcnbmp_ino->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | icx->idx_ni->vol->mft_ino->i_mapping->host->i_size |
fs/ntfs/index.c ntfs_index_remove() -> ntfs_index_ctx_reinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icx | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->actx | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->actx->al_entry->length | 0,26-u16max |
| PARAM_VALUE | 0 | icx->actx->al_entry->type | 0-31,33-u32max |
| PARAM_VALUE | 0 | icx->actx->ntfs_ino | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->actx->ntfs_ino->vol->sb->s_fs_info->wb_err | 0-4294967295 |
| PARAM_VALUE | 0 | icx->idx_ni->mrec | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->idx_ni->runlist.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->runlist.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->idx_ni->vol->lcnbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->lcnbmp_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mft_ino->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mftbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mftbmp_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | icx->ir->collation_rule | 0-1,16,19 |
| PARAM_VALUE | 0 | icx->ir->index_block_size | 512-u32max |
| PARAM_VALUE | 0 | *icx->parent_pos | s32min-s32max |
| DATA_SOURCE | 0 | icx | r ntfs_index_ctx_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dir_ni->mrec_lock | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &old_dir_ni->mrec_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock |
fs/ntfs/reparse.c set_reparse_index() -> ntfs_index_ctx_reinit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | icx | 4096-ptr_max |
| PARAM_VALUE | 0 | icx->actx->al_entry->type | 0-31,33-u32max |
| PARAM_VALUE | 0 | icx->idx_ni->mrec_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | icx->idx_ni->mrec_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | icx->idx_ni->mrec_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | icx->idx_ni->mrec_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | icx->idx_ni->mrec_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | icx->idx_ni->mrec_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | icx->idx_ni->mrec_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | icx->idx_ni->mrec_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | icx->idx_ni->runlist.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->runlist.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->lcnbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->lcnbmp_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mftbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | icx->idx_ni->vol->mftbmp_lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | icx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | icx->actx | |
| NO_OVERFLOW_SIMPLE | 0 | icx->ib | |
| LOCK2 | &dir_ni->mrec_lock | ||
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | &xrni->mrec_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock |