Documented in 1 files:

Defined in 1 files as a struct:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/target/target_core_iblock.c iblock_alloc_bip() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->__bi_cnt.counter 1
PARAM_VALUE 0 bio->__bi_nr_segments u32max
PARAM_VALUE 0 bio->__bi_remaining.counter 1
PARAM_VALUE 0 bio->bi_bdev->bd_disk->queue->blkg_list.next 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_disk->queue->blkg_list.next->next 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_disk->queue->blkg_list.next->prev 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue 4096-ptr_max
PARAM_VALUE 0 bio->bi_bvec_gap_bit 0
PARAM_VALUE 0 bio->bi_cookie u32max
PARAM_VALUE 0 bio->bi_crypt_context 0
PARAM_VALUE 0 bio->bi_end_io 1452931209006686208
PARAM_VALUE 0 bio->bi_flags 0
PARAM_VALUE 0 bio->bi_integrity 0
PARAM_VALUE 0 bio->bi_iocost_cost 0
PARAM_VALUE 0 bio->bi_ioprio 0
PARAM_VALUE 0 bio->bi_iter.bi_bvec_done 0
PARAM_VALUE 0 bio->bi_iter.bi_idx 0
PARAM_VALUE 0 bio->bi_max_vecs 0-4,16,64,128,256
PARAM_VALUE 0 bio->bi_next 0
PARAM_VALUE 0 bio->bi_pool 4096-ptr_max
PARAM_VALUE 0 bio->bi_pool->bio_slab 4096-ptr_max
PARAM_VALUE 0 bio->bi_private 4096-ptr_max
PARAM_VALUE 0 bio->bi_status 0
PARAM_VALUE 0 bio->bi_write_hint 0
PARAM_VALUE 0 bio->bi_write_stream 0
PARAM_VALUE 0 bio->issue_time_ns 0
PARAM_VALUE 1 gfp_mask 3072
PARAM_VALUE 2 nr_vecs 0-256
CAPPED_DATA 2 nr_vecs 1
DATA_SOURCE 0 bio $1
STR_LEN 0 bio->bi_private (-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bvec_pool.min_nr
HALF_LOCKED2 &dev->caw_sem
HALF_LOCKED2 &pool->lock

block/bio-integrity.c bio_integrity_clone() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->__bi_cnt.counter 1
PARAM_VALUE 0 bio->__bi_nr_segments u32max
PARAM_VALUE 0 bio->__bi_remaining.counter 1
PARAM_VALUE 0 bio->bi_bvec_gap_bit 0
PARAM_VALUE 0 bio->bi_cookie u32max
PARAM_VALUE 0 bio->bi_crypt_context 0,4096-ptr_max
PARAM_VALUE 0 bio->bi_end_io 0
PARAM_VALUE 0 bio->bi_flags 2,1026
PARAM_VALUE 0 bio->bi_integrity 0
PARAM_VALUE 0 bio->bi_iocost_cost 0
PARAM_VALUE 0 bio->bi_iter.bi_bvec_done 0
PARAM_VALUE 0 bio->bi_max_vecs 0-4,16,64,128,256
PARAM_VALUE 0 bio->bi_next 0
PARAM_VALUE 0 bio->bi_pool 0,4096-ptr_max
PARAM_VALUE 0 bio->bi_pool->bio_slab 4096-ptr_max
PARAM_VALUE 0 bio->bi_private 0
PARAM_VALUE 0 bio->bi_status 0
PARAM_VALUE 0 bio->bi_vcnt 0
PARAM_VALUE 0 bio->issue_time_ns 0
PARAM_VALUE 1 gfp_mask 2080,3072,3104,3136,3264,10240
PARAM_VALUE 2 nr_vecs 0
BUF_SIZE 0 bio->bi_pool (-1),624
CAPPED_DATA 0 bio->bi_bdev 1
CAPPED_DATA 1 gfp_mask 1
DATA_SOURCE 0 bio $0
DATA_SOURCE 1 gfp_mask $2
FUZZY_MAX 1 gfp_mask 10240
NOSPEC 0 bio->bi_iter.bi_sector
NOSPEC 0 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 bio->bi_iter.bi_sector 0-u64max
HOST_DATA 0 bio->bi_iter.bi_size 0-u32max[c]
HOST_DATA 0 bio->bi_max_vecs 0-4,16,64,128,256[c]
USER_DATA 0 bio->bi_ioprio 0-u16max
USER_DATA 0 bio->bi_iter.bi_sector 0-u64max
USER_DATA 0 bio->bi_iter.bi_size 0-u32max
USER_DATA 0 bio->bi_max_vecs 0-4,16,64,128,256[c]
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bvec_pool.min_nr
HALF_LOCKED2 &bio_src->bi_bdev->bd_queue->queue_lock

block/bio-integrity.c bio_integrity_copy_user() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue 4096-ptr_max
PARAM_VALUE 1 gfp_mask 3264
PARAM_VALUE 2 nr_vecs 1
BUF_SIZE 0 bio->bi_pool (-1),624
DATA_SOURCE 0 bio $0
NOSPEC 0 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bio->bi_ioprio 0-u16max
USER_DATA 0 bio->bi_iter.bi_sector 0-18014398509481983,18428729675200069632-u64max
USER_DATA 0 bio->bi_iter.bi_size 0-1000000000
USER_DATA 0 bio->bi_max_vecs 0-4,16,64,128,256[c]
USER_DATA 0 bio->bi_next->bi_max_vecs 0-256[c]
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bvec_pool.min_nr
UNITS 0 bio unit_jiffy

block/bio-integrity.c bio_integrity_copy_user() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue 4096-ptr_max
PARAM_VALUE 1 gfp_mask 3264
BUF_SIZE 0 bio->bi_pool (-1),624
CAPPED_DATA 2 nr_vecs 1
DATA_SOURCE 0 bio $0
NOSPEC 0 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bio->bi_ioprio 0-u16max
USER_DATA 0 bio->bi_iter.bi_sector 0-18014398509481983,18428729675200069632-u64max
USER_DATA 0 bio->bi_iter.bi_size 0-1000000000
USER_DATA 0 bio->bi_max_vecs 0-4,16,64,128,256[c]
USER_DATA 0 bio->bi_next->bi_max_vecs 0-256[c]
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bvec_pool.min_nr
UNITS 0 bio unit_jiffy

block/bio-integrity.c bio_integrity_init_user() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue 4096-ptr_max
PARAM_VALUE 1 gfp_mask 3264
PARAM_VALUE 2 nr_vecs 0-u16max
BUF_SIZE 0 bio->bi_pool (-1),624
CAPPED_DATA 2 nr_vecs 1
DATA_SOURCE 0 bio $0
DATA_SOURCE 2 nr_vecs $2
NOSPEC 0 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bio->bi_ioprio 0-u16max
USER_DATA 0 bio->bi_iter.bi_sector 0-18014398509481983,18428729675200069632-u64max
USER_DATA 0 bio->bi_iter.bi_size 0-1000000000
USER_DATA 0 bio->bi_max_vecs 0-4,16,64,128,256[c]
USER_DATA 0 bio->bi_next->bi_max_vecs 0-256[c]
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bvec_pool.min_nr
UNITS 0 bio unit_jiffy

drivers/md/dm-integrity.c dm_integrity_inline_recheck() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->__bi_cnt.counter 1
PARAM_VALUE 0 bio->__bi_nr_segments u32max
PARAM_VALUE 0 bio->__bi_remaining.counter 1
PARAM_VALUE 0 bio->bi_bdev->bd_disk->queue->blkg_list.next 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_disk->queue->blkg_list.next->next 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bio->bi_bvec_gap_bit 0
PARAM_VALUE 0 bio->bi_cookie u32max
PARAM_VALUE 0 bio->bi_crypt_context 0
PARAM_VALUE 0 bio->bi_end_io 0
PARAM_VALUE 0 bio->bi_flags 0
PARAM_VALUE 0 bio->bi_integrity 0
PARAM_VALUE 0 bio->bi_iocost_cost 0
PARAM_VALUE 0 bio->bi_ioprio 0
PARAM_VALUE 0 bio->bi_iter.bi_idx 0
PARAM_VALUE 0 bio->bi_iter.bi_offset 0
PARAM_VALUE 0 bio->bi_iter.bi_sector 0
PARAM_VALUE 0 bio->bi_max_vecs 0-4,16,64,128,256
PARAM_VALUE 0 bio->bi_next 0
PARAM_VALUE 0 bio->bi_pool 4096-ptr_max
PARAM_VALUE 0 bio->bi_private 0
PARAM_VALUE 0 bio->bi_status 0
PARAM_VALUE 0 bio->bi_write_hint 0
PARAM_VALUE 0 bio->bi_write_stream 0
PARAM_VALUE 0 bio->issue_time_ns 0
PARAM_VALUE 1 gfp_mask 3072
PARAM_VALUE 2 nr_vecs 1
BUF_SIZE 0 bio->bi_pool 624
DATA_SOURCE 0 bio r bio_alloc_bioset
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bvec_pool.min_nr
HALF_LOCKED2 &pool->lock

drivers/md/dm-integrity.c dm_integrity_map_inline() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 gfp_mask 3072
PARAM_VALUE 2 nr_vecs 1
DATA_SOURCE 0 bio r dm_bio_from_per_bio_data
BIT_INFO 0 bio->bi_opf 0x0,0xfffbffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-integrity.c integrity_recalc_inline() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->__bi_cnt.counter 1
PARAM_VALUE 0 bio->__bi_nr_segments u32max
PARAM_VALUE 0 bio->__bi_remaining.counter 1
PARAM_VALUE 0 bio->bi_bdev->bd_disk->queue->blkg_list.next 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_disk->queue->blkg_list.next->next 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bio->bi_bvec_gap_bit 0
PARAM_VALUE 0 bio->bi_cookie u32max
PARAM_VALUE 0 bio->bi_crypt_context 0
PARAM_VALUE 0 bio->bi_end_io 0
PARAM_VALUE 0 bio->bi_flags 0
PARAM_VALUE 0 bio->bi_integrity 0
PARAM_VALUE 0 bio->bi_iocost_cost 0
PARAM_VALUE 0 bio->bi_ioprio 0
PARAM_VALUE 0 bio->bi_iter.bi_idx 0
PARAM_VALUE 0 bio->bi_iter.bi_offset 0
PARAM_VALUE 0 bio->bi_max_vecs 0-4,16,64,128,256
PARAM_VALUE 0 bio->bi_next 0
PARAM_VALUE 0 bio->bi_pool 4096-ptr_max
PARAM_VALUE 0 bio->bi_private 0
PARAM_VALUE 0 bio->bi_status 0
PARAM_VALUE 0 bio->bi_write_hint 0
PARAM_VALUE 0 bio->bi_write_stream 0
PARAM_VALUE 0 bio->issue_time_ns 0
PARAM_VALUE 1 gfp_mask 3072
PARAM_VALUE 2 nr_vecs 1
BUF_SIZE 0 bio->bi_pool 624
DATA_SOURCE 0 bio r bio_alloc_bioset
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bvec_pool.min_nr

drivers/md/dm-crypt.c dm_crypt_integrity_io_alloc() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->__bi_cnt.counter 1
PARAM_VALUE 0 bio->__bi_nr_segments u32max
PARAM_VALUE 0 bio->__bi_remaining.counter 1
PARAM_VALUE 0 bio->bi_bdev->bd_disk->queue->blkg_list.next 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_disk->queue->blkg_list.next->next 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue 4096-ptr_max
PARAM_VALUE 0 bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bio->bi_bvec_gap_bit 0
PARAM_VALUE 0 bio->bi_cookie u32max
PARAM_VALUE 0 bio->bi_crypt_context 0,4096-ptr_max
PARAM_VALUE 0 bio->bi_end_io 1100162144628105216
PARAM_VALUE 0 bio->bi_flags 0
PARAM_VALUE 0 bio->bi_integrity 0,4096-ptr_max
PARAM_VALUE 0 bio->bi_iocost_cost 0
PARAM_VALUE 0 bio->bi_iter.bi_bvec_done 0
PARAM_VALUE 0 bio->bi_iter.bi_idx 0
PARAM_VALUE 0 bio->bi_max_vecs 0-4,16,64,128,256
PARAM_VALUE 0 bio->bi_next 0
PARAM_VALUE 0 bio->bi_pool 4096-ptr_max
PARAM_VALUE 0 bio->bi_private 4096-ptr_max
PARAM_VALUE 0 bio->bi_status 0
PARAM_VALUE 0 bio->issue_time_ns 0
PARAM_VALUE 1 gfp_mask 3072
PARAM_VALUE 2 nr_vecs 1
BUF_SIZE 0 bio->bi_pool 624
DATA_SOURCE 0 bio $1
NOSPEC 0 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 bio->bi_iter.bi_size 0[c]
HOST_DATA 0 bio->bi_max_vecs 0-4,16,64,128,256[c]
USER_DATA 0 bio->bi_ioprio 0-u16max
USER_DATA 0 bio->bi_iter.bi_size 0
USER_DATA 0 bio->bi_max_vecs 0-4,16,64,128,256[c]
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 bio->bi_pool->bvec_pool.min_nr

drivers/nvme/target/io-cmd-bdev.c nvmet_bdev_alloc_bip() -> bio_integrity_alloc()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->bi_end_io 57454840631967744,2378821972623917056
PARAM_VALUE 0 bio->bi_private 4096-ptr_max
PARAM_VALUE 1 gfp_mask 3072
PARAM_VALUE 2 nr_vecs 0-256
BUF_SIZE 0 bio (-1),144
BUF_SIZE 0 bio (-1),144
CAPPED_DATA 2 nr_vecs 1
DATA_SOURCE 0 bio $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock