Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/f2fs/data.c __submit_merged_bio() -> f2fs_submit_read_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &io->io_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/data.c f2fs_mpage_readpages() -> f2fs_submit_read_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bio->bi_iter.bi_idx | 0-4294967295 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_size | 0-4294967295 |
| PARAM_VALUE | 1 | bio->bi_max_vecs | 0-u16max |
| PARAM_VALUE | 1 | bio->bi_status | 0-255 |
| PARAM_VALUE | 1 | bio->bi_vcnt | 0-u16max |
| PARAM_VALUE | 1 | *bio->bi_bdev->bd_disk->zones_cond | 0-255 |
| PARAM_VALUE | 1 | *bio->bi_bdev->bd_queue->io_lockdep_map.name | 0-255 |
| PARAM_VALUE | 1 | *bio->bi_crypt_context->bc_key->bytes | 0-255 |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | bio->bi_iter.bi_sector | 0,8-34359738352[c] |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/f2fs/data.c f2fs_read_data_large_folio() -> f2fs_submit_read_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_crypt_context | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_end_io | 3216969134761742336 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_bvec_done | 0 |
| PARAM_VALUE | 1 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_status | 0 |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | bio->bi_iter.bi_sector | 0,8-34359738352[c] |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/f2fs/data.c f2fs_read_data_large_folio() -> f2fs_submit_read_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bio | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_crypt_context | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_end_io | 3216969134761742336 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_bvec_done | 0 |
| PARAM_VALUE | 1 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_status | 0 |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | bio->bi_iter.bi_sector | 0,8-34359738352[c] |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/f2fs/data.c f2fs_read_multi_pages() -> f2fs_submit_read_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 1-u64max |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| UNITS | 0 | sbi | unit_byte |
fs/f2fs/data.c f2fs_read_single_page() -> f2fs_submit_read_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bio | 1-u64max |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | bio->bi_iter.bi_sector | 0,8-34359738352[c] |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/f2fs/data.c f2fs_submit_page_bio() -> f2fs_submit_read_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 1 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 1 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 1 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bio->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 1 | bio->bi_cookie | u32max |
| PARAM_VALUE | 1 | bio->bi_crypt_context | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_end_io | 3216969134761742336,3431802746402127872 |
| PARAM_VALUE | 1 | bio->bi_flags | 0 |
| PARAM_VALUE | 1 | bio->bi_integrity | 0 |
| PARAM_VALUE | 1 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 1 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_bvec_done | 0 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_sector | 0,8-34359738360 |
| PARAM_VALUE | 1 | bio->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| PARAM_VALUE | 1 | bio->bi_pool | 739890100586704896 |
| PARAM_VALUE | 1 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_status | 0 |
| PARAM_VALUE | 1 | bio->bi_write_hint | 0-5 |
| PARAM_VALUE | 1 | bio->bi_write_stream | 0-3 |
| PARAM_VALUE | 1 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 2 | type | 0-2 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| CAPPED_DATA | 0 | sbi->s_ndevs | 1 |
| DATA_SOURCE | 1 | bio | r __bio_alloc |
| BIT_INFO | 1 | bio->bi_end_io | 0x2ca0306242820000,0xffffffffffffffff |
| HARD_MAX | 2 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| UNITS | 0 | sbi | unit_byte |
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem |
fs/f2fs/data.c f2fs_submit_page_read() -> f2fs_submit_read_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev->bd_dev | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sb->s_bdev->bd_holders | s32min-s32max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev->bd_writers | s32min-s32max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 1 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 1 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 1 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bio->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 1 | bio->bi_cookie | u32max |
| PARAM_VALUE | 1 | bio->bi_crypt_context | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_end_io | 3216969134761742336 |
| PARAM_VALUE | 1 | bio->bi_flags | 0 |
| PARAM_VALUE | 1 | bio->bi_integrity | 0 |
| PARAM_VALUE | 1 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 1 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_bvec_done | 0 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_sector | 0,8-34359738360 |
| PARAM_VALUE | 1 | bio->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| PARAM_VALUE | 1 | bio->bi_pool | 739890100586704896 |
| PARAM_VALUE | 1 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_status | 0 |
| PARAM_VALUE | 1 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 1 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 1 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | bio | r f2fs_grab_read_bio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | bio->bi_iter.bi_sector | 0,8-34359738352[c] |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| UNITS | 0 | sbi | unit_byte |
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem |
fs/f2fs/compress.c prepare_compress_overwrite() -> f2fs_submit_read_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi->adjust_lock_priority | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->allocate_section_hint | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->allocate_section_policy | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->bggc_io_aware | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blkzone_alloc_policy | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blocks_per_blkz | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blocks_per_seg | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->compr_new_inode | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->compress_percent | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->compress_watermark | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->cur_victim_sec | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->current_reserved_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->data_io_flag | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->dirty_device | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->discard_blks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->donate_files | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->entries_in_sum | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->first_seq_zone_segno | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->fsync_node_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->fsync_seg_id | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->gc_mode | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->gc_remaining_trials | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->gc_segment_mode | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->hot_data_age_threshold | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->io_skip_bggc | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->iostat_period_ms | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->last_age_weight | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->last_valid_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->lock_duration_priority | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->log_blocks_per_seg | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->log_blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->log_sectors_per_block | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_io_bytes | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_open_zones | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_orphans | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_read_extent_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_victim_search | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->meta_ino_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->migration_granularity | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->migration_window_granularity | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nat_journal_entries | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->node_ino_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->node_io_flag | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nquota_files | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->other_skip_bggc | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->page_array_slab_size | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->reserved_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->reserved_pin_section | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->root_ino_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->s_chksum_seed | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->secs_per_zone | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->segs_per_sec | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->seq_file_ra_mul | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->shrinker_run_no | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sit_journal_entries | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sum_blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sum_entry_size | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sum_journal_size | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sums_per_block | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_node_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_sections | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_valid_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_valid_node_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->unusable_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->unusable_blocks_per_sec | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->user_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->warm_data_age_threshold | 0-4294967295 |
| PARAM_VALUE | 1 | bio | 1-u64max |
| PARAM_VALUE | 1 | bio->bi_iter.bi_idx | 0-4294967295 |
| PARAM_VALUE | 1 | bio->bi_iter.bi_size | 0-4294967295 |
| PARAM_VALUE | 1 | bio->bi_max_vecs | 0-u16max |
| PARAM_VALUE | 1 | bio->bi_status | 0-255 |
| PARAM_VALUE | 1 | bio->bi_vcnt | 0-u16max |
| PARAM_VALUE | 1 | *bio->bi_bdev->bd_disk->zones_cond | 0-255 |
| PARAM_VALUE | 1 | *bio->bi_bdev->bd_queue->io_lockdep_map.name | 0-255 |
| PARAM_VALUE | 2 | type | 0 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sbi | unit_byte |