/openbmc/linux/fs/crypto/ |
H A D | bio.c | 59 bio = bio_alloc(inode->i_sb->s_bdev, BIO_MAX_VECS, REQ_OP_WRITE, in fscrypt_zeroout_range_inline_crypt() 80 if (num_pages == BIO_MAX_VECS || !len || in fscrypt_zeroout_range_inline_crypt() 132 BUILD_BUG_ON(ARRAY_SIZE(pages) > BIO_MAX_VECS); in fscrypt_zeroout_range()
|
/openbmc/linux/block/ |
H A D | bio.c | 46 { .nr_vecs = BIO_MAX_VECS, .name = "biovec-max" }, 59 case 129 ... BIO_MAX_VECS: in biovec_slab() 165 BUG_ON(nr_vecs > BIO_MAX_VECS); in bvec_free() 167 if (nr_vecs == BIO_MAX_VECS) in bvec_free() 202 if (*nr_vecs < BIO_MAX_VECS) { in bvec_alloc() 208 *nr_vecs = BIO_MAX_VECS; in bvec_alloc()
|
H A D | bounce.c | 213 if (i++ < BIO_MAX_VECS) in __blk_queue_bounce()
|
H A D | fops.c | 244 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS); in __blkdev_direct_IO() 373 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS + 1); in blkdev_direct_IO() 374 if (likely(nr_pages <= BIO_MAX_VECS)) { in blkdev_direct_IO()
|
H A D | blk-lib.c | 165 return min(pages, (sector_t)BIO_MAX_VECS); in __blkdev_sectors_to_bio_pages()
|
H A D | blk-crypto-fallback.c | 220 if (++i == BIO_MAX_VECS) in blk_crypto_fallback_split_bio_if_needed()
|
H A D | blk-map.c | 277 unsigned int nr_vecs = iov_iter_npages(iter, BIO_MAX_VECS); in bio_map_user_iov()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | passthru.c | 112 max_hw_sectors = min_not_zero(BIO_MAX_VECS << PAGE_SECTORS_SHIFT, in nvmet_passthru_override_id_ctrl() 266 if (req->sg_cnt > BIO_MAX_VECS) in nvmet_passthru_map_sg()
|
/openbmc/linux/fs/iomap/ |
H A D | direct-io.c | 370 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS); in iomap_dio_bio_iter() 411 BIO_MAX_VECS); in iomap_dio_bio_iter()
|
H A D | buffered-io.c | 1671 bio = bio_alloc_bioset(wpc->iomap.bdev, BIO_MAX_VECS, in iomap_alloc_ioend() 1702 new = bio_alloc(prev->bi_bdev, BIO_MAX_VECS, prev->bi_opf, GFP_NOFS); in iomap_chain_bio()
|
/openbmc/linux/include/linux/ |
H A D | bio.h | 13 #define BIO_MAX_VECS 256U macro 19 return min(nr_segs, BIO_MAX_VECS); in bio_max_segs()
|
/openbmc/linux/fs/f2fs/ |
H A D | segment.h | 925 return 8 * BIO_MAX_VECS; in nr_pages_to_skip() 942 desired = BIO_MAX_VECS; in nr_pages_to_write()
|
H A D | data.c | 903 bio = __bio_alloc(fio, BIO_MAX_VECS); in f2fs_merge_page_bio() 1002 io->bio = __bio_alloc(fio, BIO_MAX_VECS); in f2fs_submit_page_write()
|
/openbmc/linux/fs/nilfs2/ |
H A D | segbuf.c | 367 wi->max_pages = BIO_MAX_VECS; in nilfs_segbuf_prepare_write()
|
/openbmc/linux/fs/ |
H A D | mpage.c | 610 bio = bio_alloc(bdev, BIO_MAX_VECS, in __mpage_writepage()
|
/openbmc/linux/fs/ext4/ |
H A D | page-io.c | 399 bio = bio_alloc(bh->b_bdev, BIO_MAX_VECS, REQ_OP_WRITE, GFP_NOIO); in io_submit_init_bio()
|
/openbmc/linux/drivers/md/ |
H A D | dm-crypt.c | 240 #define DM_CRYPT_MIN_PAGES_PER_CLIENT (BIO_MAX_VECS * 16) 3326 ret = mempool_init(&cc->page_pool, BIO_MAX_VECS, crypt_page_alloc, crypt_page_free, cc); in crypt_ctr() 3469 if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_VECS << PAGE_SHIFT)) && in crypt_map() 3471 dm_accept_partial_bio(bio, ((BIO_MAX_VECS << PAGE_SHIFT) >> SECTOR_SHIFT)); in crypt_map()
|
H A D | dm-writecache.c | 2070 g->wc_list_contiguous = BIO_MAX_VECS; in writecache_writeback() 2073 if (unlikely(e->wc_list_contiguous == BIO_MAX_VECS)) { in writecache_writeback()
|
H A D | raid5-ppl.c | 495 bio = bio_alloc_bioset(prev->bi_bdev, BIO_MAX_VECS, in ppl_submit_iounit()
|
/openbmc/linux/fs/gfs2/ |
H A D | lops.c | 268 struct bio *bio = bio_alloc(sb->s_bdev, BIO_MAX_VECS, 0, GFP_NOIO); in gfs2_log_alloc_bio()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | request.c | 895 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS, in cached_dev_cache_miss()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_int.h | 1262 #if DRBD_MAX_BIO_SIZE > (BIO_MAX_VECS << PAGE_SHIFT)
|
/openbmc/linux/fs/erofs/ |
H A D | zdata.c | 1707 bio = bio_alloc(mdev.m_bdev, BIO_MAX_VECS, in z_erofs_submit_queue()
|
/openbmc/linux/drivers/vhost/ |
H A D | scsi.c | 692 cmd->tvc_sgl_count > BIO_MAX_VECS) { in vhost_scsi_map_to_sgl()
|
/openbmc/linux/fs/ntfs3/ |
H A D | fsntfs.c | 1633 new = bio_alloc(bdev, BIO_MAX_VECS, REQ_OP_WRITE, GFP_NOFS); in ntfs_bio_fill_1()
|