Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/f2fs/data.c __bio_alloc() -> iostat_alloc_and_bind_ctx()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
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 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
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_idx 0
PARAM_VALUE 1 bio->bi_iter.bi_offset 0
PARAM_VALUE 1 bio->bi_iter.bi_sector 0,8-34359738360
PARAM_VALUE 1 bio->bi_iter.bi_size 0
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 0,4096-ptr_max
PARAM_VALUE 1 bio->bi_status 0
PARAM_VALUE 1 bio->bi_vcnt 0
PARAM_VALUE 1 bio->bi_write_hint 0-5
PARAM_VALUE 1 bio->issue_time_ns 0
PARAM_VALUE 2 ctx 0
BUF_SIZE 0 sbi (-1),1-s32max
BUF_SIZE 0 sbi (-1),1-s32max
BUF_SIZE 1 bio->bi_pool 624
BUF_SIZE 1 bio->bi_private (-1)-s32max
CAPPED_DATA 0 sbi->s_ndevs 1
DATA_SOURCE 1 bio r bio_alloc_bioset
BIT_INFO 1 bio->bi_end_io 0x2ca0306242820000,0x2fa4fe6a56ded000
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 &io->io_rwsem.internal_rwsem
HALF_LOCKED2 &sbi->gc_lock.internal_rwsem

fs/f2fs/data.c f2fs_grab_read_bio() -> iostat_alloc_and_bind_ctx()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
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 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_idx 0
PARAM_VALUE 1 bio->bi_iter.bi_offset 0
PARAM_VALUE 1 bio->bi_iter.bi_sector 0,8-34359738360
PARAM_VALUE 1 bio->bi_iter.bi_size 0
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 0,4096-ptr_max
PARAM_VALUE 1 bio->bi_status 0
PARAM_VALUE 1 bio->bi_vcnt 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 ctx 0,4096-ptr_max
PARAM_VALUE 2 ctx->bio 4096-ptr_max
PARAM_VALUE 2 ctx->bio->__bi_cnt.counter 1
PARAM_VALUE 2 ctx->bio->__bi_nr_segments u32max
PARAM_VALUE 2 ctx->bio->__bi_remaining.counter 1
PARAM_VALUE 2 ctx->bio->bi_bvec_gap_bit 0
PARAM_VALUE 2 ctx->bio->bi_cookie u32max
PARAM_VALUE 2 ctx->bio->bi_crypt_context 0,4096-ptr_max
PARAM_VALUE 2 ctx->bio->bi_end_io 3216969134761742336
PARAM_VALUE 2 ctx->bio->bi_flags 0
PARAM_VALUE 2 ctx->bio->bi_integrity 0
PARAM_VALUE 2 ctx->bio->bi_iocost_cost 0
PARAM_VALUE 2 ctx->bio->bi_ioprio 0
PARAM_VALUE 2 ctx->bio->bi_iter.bi_idx 0
PARAM_VALUE 2 ctx->bio->bi_iter.bi_offset 0
PARAM_VALUE 2 ctx->bio->bi_iter.bi_sector 0,8-34359738360
PARAM_VALUE 2 ctx->bio->bi_iter.bi_size 0
PARAM_VALUE 2 ctx->bio->bi_max_vecs 0-4,16,64,128,256
PARAM_VALUE 2 ctx->bio->bi_next 0
PARAM_VALUE 2 ctx->bio->bi_pool 739890100586704896
PARAM_VALUE 2 ctx->bio->bi_private 0
PARAM_VALUE 2 ctx->bio->bi_status 0
PARAM_VALUE 2 ctx->bio->bi_vcnt 0
PARAM_VALUE 2 ctx->bio->bi_write_hint 0
PARAM_VALUE 2 ctx->bio->bi_write_stream 0
PARAM_VALUE 2 ctx->bio->issue_time_ns 0
PARAM_VALUE 2 ctx->decompression_attempted 0
PARAM_VALUE 2 ctx->enabled_steps 0,4
PARAM_VALUE 2 ctx->sbi 4096-ptr_max
PARAM_VALUE 2 ctx->sbi->sb 4096-ptr_max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 1 bio->bi_pool 624
BUF_SIZE 2 ctx->sbi (-1),1-s32max
CAPPED_DATA 0 sbi->s_ndevs 1
DATA_SOURCE 1 bio r bio_alloc_bioset
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 bio->bi_iter.bi_sector 0,8-34359738352[c]
USER_DATA 2 ctx->bio->bi_iter.bi_sector 0,8-34359738352[c]
USER_DATA 2 ctx->fs_blkaddr 0-4294967294[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

fs/f2fs/file.c f2fs_dio_iostat_start() -> iostat_alloc_and_bind_ctx()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 0 sbi->iostat_enable 1
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 1 bio->bi_end_io 6144032059269255168
PARAM_VALUE 1 bio->bi_private 4096-ptr_max
PARAM_VALUE 2 ctx 4096-ptr_max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 2 ctx 1-s32max
DATA_SOURCE 0 sbi $0
DATA_SOURCE 1 bio $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 bio->bi_ioprio 0-u16max
USER_DATA 1 bio->bi_iter.bi_sector 0-36028797018963967[c]
USER_DATA 1 bio->bi_max_vecs 0-4,16,64,128,256[c]
UNITS 0 sbi unit_byte