Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/f2fs/gc.c do_garbage_collect() -> has_enough_free_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | 0 | &sbi->gc_lock.internal_rwsem | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | 0 | &sbi->pin_sem.internal_rwsem |
fs/f2fs/gc.c gc_thread_func() -> has_enough_free_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 128 |
| BUF_SIZE | 0 | sbi | 128 |
| DATA_SOURCE | 0 | sbi | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &sbi->gc_lock.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/gc.c need_to_boost_gc() -> has_enough_free_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| BUF_SIZE | 0 | sbi | 128 |
| BUF_SIZE | 0 | sbi | 128 |
| DATA_SOURCE | 0 | sbi | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &sbi->gc_lock.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |