Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/f2fs/gc.c free_segment_range() -> find_next_inuse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | max | 1-u32max |
| CAPPED_DATA | 1 | max | 1 |
| CAPPED_DATA | 2 | segno | 1 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &sbi->cp_global_sem.internal_rwsem | ||
| LOCK2 | &sbi->gc_lock.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/segment.c init_dirty_segmap() -> find_next_inuse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | segno | 0-65 |
| CAPPED_DATA | 2 | segno | 1 |
| DATA_SOURCE | 0 | free_i | r FREE_I |
| FUZZY_MAX | 2 | segno | 0 |