Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/f2fs/segment.c __next_free_blkoff() -> __find_rev_next_zero_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-u32max |
| CAPPED_DATA | 2 | offset | 1 |
| DATA_SOURCE | 2 | offset | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_page |
| UNITS | 2 | offset | unit_page |
| HALF_LOCKED2 | &curseg->curseg_mutex | ||
| HALF_LOCKED2 | &dirty_i->seglist_lock | ||
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->io_order_lock.internal_rwsem | ||
| HALF_LOCKED2 | &seg->curseg_mutex | ||
| HALF_LOCKED2 | &sit_i->sentry_lock |
fs/f2fs/segment.c add_discard_addrs() -> __find_rev_next_zero_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 1-u32max |
| PARAM_VALUE | 2 | offset | 1-u32max |
| CAPPED_DATA | 2 | offset | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_page |
| UNITS | 2 | offset | unit_page |
| LOCK2 | &sbi->cp_global_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->pin_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->umount_mutex | ||
| HALF_LOCKED2 | &sit_i->sentry_lock | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |