Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ocfs2/suballoc.c __ocfs2_claim_clusters() -> ocfs2_claim_suballoc_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->ac_bits_given | 0-4294967294 |
| PARAM_VALUE | 0 | ac->ac_bits_wanted | 1-u32max |
| PARAM_VALUE | 0 | ac->ac_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->ac_inode->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 | ac->ac_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ac->ac_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ac->ac_inode->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | ac->ac_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ac->ac_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ac->ac_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->ac_which | 2,5 |
| PARAM_VALUE | 1 | handle->h_transaction->t_journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| PARAM_VALUE | 4 | res | 5115818554803417088 |
| PARAM_VALUE | 4 | res->sr_bg_blkno | 0 |
| PARAM_VALUE | 4 | res->sr_bg_stable_blkno | 0 |
| PARAM_VALUE | 4 | res->sr_bit_offset | 0 |
| PARAM_VALUE | 4 | res->sr_bits | 0 |
| PARAM_VALUE | 4 | res->sr_blkno | 0 |
| PARAM_VALUE | 4 | res->sr_max_contig_bits | 0 |
| BUF_SIZE | 0 | ac->ac_resv | (-1),64 |
| BUF_SIZE | 1 | handle | (-1)-s32max |
| BUF_SIZE | 1 | handle | (-1)-s32max |
| CAPPED_DATA | 0 | ac->ac_bits_given | 1 |
| CAPPED_DATA | 2 | bits_wanted | 1 |
| CAPPED_DATA | 3 | min_bits | 1 |
| DATA_SOURCE | 0 | ac | $1 |
| DATA_SOURCE | 1 | handle | $0 |
| DATA_SOURCE | 3 | min_bits | $2 |
| STR_LEN | 0 | ac | (-1)-0 |
| STR_LEN | 1 | handle | (-1)-0 |
| PARAM_COMPARE | 0 | ac->ac_bits_given | < $0->ac_bits_wanted |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ac->ac_inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | ac->ac_resv->r_last_len | 1-4294967294[c] |
| USER_DATA | 2 | bits_wanted | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ac->ac_inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ac->ac_inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ac->ac_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | ac->ac_inode->i_size | |
| UNITS | 2 | bits_wanted | unit_byte |
| UNITS | 3 | min_bits | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &oi->ip_alloc_sem | ||
| HALF_LOCKED2 | &tl_inode->i_rwsem |
fs/ocfs2/suballoc.c ocfs2_claim_metadata() -> ocfs2_claim_suballoc_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->ac_inode->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 | ac->ac_which | 4 |
| PARAM_VALUE | 1 | handle->h_transaction->t_journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| PARAM_VALUE | 2 | bits_wanted | 1-u16max |
| PARAM_VALUE | 3 | min_bits | 1 |
| PARAM_VALUE | 4 | res | 5957536951437021184 |
| PARAM_VALUE | 4 | res->sr_bg_blkno | 0 |
| PARAM_VALUE | 4 | res->sr_bg_stable_blkno | 0 |
| PARAM_VALUE | 4 | res->sr_bit_offset | 0 |
| PARAM_VALUE | 4 | res->sr_bits | 0 |
| PARAM_VALUE | 4 | res->sr_blkno | 0 |
| PARAM_VALUE | 4 | res->sr_max_contig_bits | 0 |
| BUF_SIZE | 1 | handle | (-1)-s32max |
| BUF_SIZE | 1 | handle | (-1)-s32max |
| CAPPED_DATA | 2 | bits_wanted | 1 |
| DATA_SOURCE | 0 | ac | $1 |
| DATA_SOURCE | 1 | handle | $0 |
| DATA_SOURCE | 2 | bits_wanted | $2 |
| STR_LEN | 0 | ac | (-1)-0 |
| STR_LEN | 1 | handle | (-1)-0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ac->ac_inode->__i_nlink | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | ac->ac_inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ac->ac_inode->i_size | |
| UNITS | 2 | bits_wanted | unit_byte |
fs/ocfs2/suballoc.c ocfs2_claim_new_inode() -> ocfs2_claim_suballoc_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->ac_bits_given | 0 |
| PARAM_VALUE | 0 | ac->ac_bits_wanted | 1 |
| PARAM_VALUE | 0 | ac->ac_which | 3 |
| PARAM_VALUE | 2 | bits_wanted | 1 |
| PARAM_VALUE | 3 | min_bits | 1 |
| PARAM_VALUE | 4 | res | 5621847820730990592 |
| DATA_SOURCE | 0 | ac | $3 |
| DATA_SOURCE | 1 | handle | $0 |
fs/ocfs2/suballoc.c ocfs2_find_new_inode_loc() -> ocfs2_claim_suballoc_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ac | 4096-ptr_max |
| PARAM_VALUE | 0 | ac->ac_bits_given | 0 |
| PARAM_VALUE | 0 | ac->ac_bits_wanted | 1 |
| PARAM_VALUE | 0 | ac->ac_find_loc_only | 1 |
| PARAM_VALUE | 0 | ac->ac_group_search | 2162247029490311168 |
| PARAM_VALUE | 0 | ac->ac_inode->free_inode | 5515272616080928768 |
| PARAM_VALUE | 0 | ac->ac_inode->i_fop | 5515272616080928768 |
| PARAM_VALUE | 0 | ac->ac_inode->i_op | 1144202292485988352 |
| PARAM_VALUE | 0 | ac->ac_inode->i_opflags | 0-65527 |
| PARAM_VALUE | 0 | ac->ac_max_block | u32max |
| PARAM_VALUE | 0 | ac->ac_which | 3 |
| PARAM_VALUE | 0 | *ac->ac_inode->i_sb->s_fs_info->next_victim_seg | 0-4294967295 |
| PARAM_VALUE | 1 | handle | 4096-ptr_max |
| PARAM_VALUE | 2 | bits_wanted | 1 |
| PARAM_VALUE | 3 | min_bits | 1 |
| PARAM_VALUE | 4 | res | 4096-ptr_max |
| BUF_SIZE | 1 | handle | (-1),1-s32max |
| BUF_SIZE | 1 | handle | (-1),1-s32max |
| BUF_SIZE | 4 | res | 40 |
| DATA_SOURCE | 0 | ac | $2 |
| DATA_SOURCE | 1 | handle | r ocfs2_start_trans |
| DATA_SOURCE | 4 | res | r _kzalloc_noprof |
| NO_OVERFLOW_SIMPLE | 0 | ac->ac_inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ac->ac_inode->i_size | |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &orphan_dir_inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |