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_block_group_clear_bits() -> ocfs2_find_max_contig_free_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | start | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | total_bits | unit_byte |
| HALF_LOCKED2 | &alloc_inode->i_rwsem | ||
| HALF_LOCKED2 | &jh->b_state_lock |
fs/ocfs2/suballoc.c ocfs2_block_group_set_bits() -> ocfs2_find_max_contig_free_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | total_bits | unit_byte |
| UNITS | 2 | start | unit_byte |
| HALF_LOCKED2 | &alloc_inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &tl_inode->i_rwsem |
fs/ocfs2/suballoc.c ocfs2_search_chain() -> ocfs2_find_max_contig_free_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | total_bits | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/resize.c ocfs2_update_last_group_and_inode() -> ocfs2_find_max_contig_free_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | start | 0 |
| CAPABLE | 0 | 24 | |
| USER_DATA | 1 | total_bits | 0-u16max |
| UNITS | 1 | total_bits | unit_byte |
| LOCK2 | &bm_inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |