Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/f2fs/segment.c f2fs_allocate_data_block() -> f2fs_randomize_chunk()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 0 sbi->blocks_per_seg 1-u32max
PARAM_VALUE 0 sbi->io_order_lock.internal_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 sbi->raw_super->feature 2-u32max
PARAM_VALUE 0 *sbi->page_eio_cnt s32min-s32max
PARAM_VALUE 1 seg 4096-ptr_max
PARAM_VALUE 1 seg->alloc_type 0,2-255
PARAM_VALUE 1 seg->curseg_mutex.dep_map->name 0-255
PARAM_VALUE 1 seg->curseg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 seg->curseg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 seg->curseg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 seg->curseg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 seg->curseg_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 seg->curseg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 seg->segno 0-4294967294
PARAM_VALUE 1 seg->sum_blk 4096-ptr_max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
CAPPED_DATA 1 &seg->curseg_mutex 1
DATA_SOURCE 0 sbi $0
DATA_SOURCE 1 seg r CURSEG_I
PARAM_COMPARE 1 seg->next_blkoff <= $0->blocks_per_seg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sbi unit_byte
LOCK2 &sit_i->sentry_lock
LOCK2 1 &seg->curseg_mutex
HALF_LOCKED2 &sbi->gc_lock.internal_rwsem
HALF_LOCKED2 0 &sbi->cp_rwsem.internal_rwsem
HALF_LOCKED2 0 &sbi->io_order_lock.internal_rwsem
TYPE_LOCK (struct curseg_info)->curseg_mutex
TYPE_LOCK (struct sit_info)->sentry_lock