Defined in 1 files as a function:

Referenced in 18 files:

Smatch caller information:

drivers/md/dm-log-writes.c log_one_block() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 1-u32max

drivers/md/dm-log-writes.c log_one_block() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 1-s32max

drivers/md/dm-log-writes.c write_inline_data() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 1-1572864

drivers/target/target_core_pscsi.c pscsi_map_sg() -> bio_max_segs()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nr_segs unit_page
HALF_LOCKED2 &pool->lock

drivers/block/xen-blkback/blkback.c dispatch_rw_block_io() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 1-256
CAPPED_DATA 0 nr_segs 1
TASK_NOT_RUNNING

fs/nfs/blocklayout/blocklayout.c do_add_page_to_bio() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 1-s32max
DATA_SOURCE 0 nr_segs $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nr_segs unit_page

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 nr_segs
HALF_LOCKED2 &dev->caw_sem
HALF_LOCKED2 &pool->lock

drivers/target/target_core_iblock.c iblock_get_bio() -> bio_max_segs()

Type Parameter Key Value
DATA_SOURCE 0 nr_segs $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 nr_segs
HALF_LOCKED2 &pool->lock

fs/ntfs/bdev-io.c ntfs_bdev_read() -> bio_max_segs()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/ntfs/bdev-io.c ntfs_bdev_read() -> bio_max_segs()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

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

Type Parameter Key Value
DATA_SOURCE 0 nr_segs $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nr_segs 1-u32max[c][u]
UNITS 0 nr_segs unit_page

fs/xfs/xfs_bio_io.c bio_max_vecs() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 0-1048576
RX_PATH
TASK_NOT_RUNNING

fs/direct-io.c dio_new_bio() -> bio_max_segs()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nr_segs 1-524291[c][u]
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

block/blk-map.c bio_copy_user_iov() -> bio_max_segs()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nr_segs 0-524289[c]

fs/ext4/readpage.c ext4_mpage_readpages() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 1-u32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nr_segs 1-u32max[c][u]
UNITS 0 nr_segs unit_page
HALF_LOCKED2 &mapping->invalidate_lock

drivers/md/dm-io.c do_region() -> bio_max_segs()

Type Parameter Key Value

block/fops.c blkdev_direct_IO() -> bio_max_segs()

Type Parameter Key Value
CAPPED_DATA 0 nr_segs 1
DATA_SOURCE 0 nr_segs r bio_iov_vecs_to_alloc
BIT_INFO 0 nr_segs 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nr_segs 1-524289[c]
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/nvme/target/io-cmd-bdev.c nvmet_bdev_execute_rw() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 1-u32max
BIT_INFO 0 nr_segs 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 nr_segs
HALF_LOCKED2 &pool->lock

drivers/nvme/target/io-cmd-bdev.c nvmet_bdev_execute_rw() -> bio_max_segs()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 nr_segs
HALF_LOCKED2 &pool->lock

fs/f2fs/node.c f2fs_restore_node_summary() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nr_segs unit_page
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_root->d_lockref.lock

drivers/nvme/target/passthru.c nvmet_passthru_map_sg() -> bio_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 nr_segs 1-256
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 nr_segs
HALF_LOCKED2 &pool->lock

fs/iomap/bio.c iomap_read_alloc_bio() -> bio_max_segs()

Type Parameter Key Value
CAPPED_DATA 0 nr_segs 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mapping->invalidate_lock