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_new_inode_at_loc() -> ocfs2_rollback_alloc_dinode_counts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh->b_data->id1.bitmap1.i_used | 0-4294967295 |
| PARAM_VALUE | 2 | num_bits | 0-u16max |
| PARAM_VALUE | 3 | chain | 0 |
| CAPPED_DATA | 1 | di_bh | 1 |
| CAPPED_DATA | 2 | num_bits | 1 |
| NOCHECK_CALL | |||
| UNITS | 2 | num_bits | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/suballoc.c ocfs2_search_chain() -> ocfs2_rollback_alloc_dinode_counts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh->b_data->id1.bitmap1.i_used | 0-4294967295 |
| PARAM_VALUE | 2 | num_bits | 1-u16max |
| PARAM_VALUE | 3 | chain | 0-65534 |
| CAPPED_DATA | 1 | di_bh | 1 |
| CAPPED_DATA | 3 | chain | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->__i_nlink | 1-u32max |
| USER_DATA | 1 | di_bh->b_data->id1.bitmap1.i_used | 0-4294967295[c][u] |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| UNITS | 2 | num_bits | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/suballoc.c ocfs2_search_one_group() -> ocfs2_rollback_alloc_dinode_counts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh->b_data->id1.bitmap1.i_used | 0-4294967295 |
| PARAM_VALUE | 2 | num_bits | 1-u16max |
| PARAM_VALUE | 3 | chain | 0 |
| CAPPED_DATA | 1 | di_bh | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->__i_nlink | 1-u32max |
| USER_DATA | 1 | di_bh->b_data->id1.bitmap1.i_used | 0-4294967295[c][u] |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| UNITS | 2 | num_bits | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/move_extents.c ocfs2_move_extent() -> ocfs2_rollback_alloc_dinode_counts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh | 4096-ptr_max |
| PARAM_VALUE | 1 | di_bh->b_data->id1.bitmap1.i_used | 0-4294967295 |
| PARAM_VALUE | 2 | num_bits | 0-u16max |
| PARAM_VALUE | 3 | chain | 0 |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| CAPPED_DATA | 1 | di_bh | 1 |
| CAPPED_DATA | 2 | num_bits | 1 |
| DATA_SOURCE | 0 | inode | r ocfs2_get_system_file_inode |
| DATA_SOURCE | 2 | num_bits | $4 |
| NOSPEC | 2 | num_bits | |
| NOSPEC | 2 | num_bits | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | di_bh->b_data->id1.bitmap1.i_used | 0-4294967295[c][u] |
| USER_DATA | 2 | num_bits | 1-u16max[c] |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| UNITS | 2 | num_bits | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &tl_inode->i_rwsem | ||
| LOCK2 | 0 | &inode->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |