/linux-5.19.10/fs/crypto/ |
D | bio.c | 57 bio = bio_alloc(inode->i_sb->s_bdev, BIO_MAX_VECS, REQ_OP_WRITE, in fscrypt_zeroout_range_inline_crypt() 78 if (num_pages == BIO_MAX_VECS || !len || in fscrypt_zeroout_range_inline_crypt() 130 BUILD_BUG_ON(ARRAY_SIZE(pages) > BIO_MAX_VECS); in fscrypt_zeroout_range()
|
/linux-5.19.10/block/ |
D | bio.c | 41 { .nr_vecs = BIO_MAX_VECS, .name = "biovec-max" }, 54 case 129 ... BIO_MAX_VECS: in biovec_slab() 160 BUG_ON(nr_vecs > BIO_MAX_VECS); in bvec_free() 162 if (nr_vecs == BIO_MAX_VECS) in bvec_free() 197 if (*nr_vecs < BIO_MAX_VECS) { in bvec_alloc() 203 *nr_vecs = BIO_MAX_VECS; in bvec_alloc()
|
D | fops.c | 232 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS); in __blkdev_direct_IO() 361 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS + 1); in blkdev_direct_IO() 362 if (likely(nr_pages <= BIO_MAX_VECS)) { in blkdev_direct_IO()
|
D | bounce.c | 213 if (i++ < BIO_MAX_VECS) in __blk_queue_bounce()
|
D | blk-lib.c | 167 return min(pages, (sector_t)BIO_MAX_VECS); in __blkdev_sectors_to_bio_pages()
|
D | blk-crypto-fallback.c | 220 if (++i == BIO_MAX_VECS) in blk_crypto_fallback_split_bio_if_needed()
|
D | blk-map.c | 238 unsigned int nr_vecs = iov_iter_npages(iter, BIO_MAX_VECS); in bio_map_user_iov()
|
/linux-5.19.10/drivers/nvme/target/ |
D | passthru.c | 112 max_hw_sectors = min_not_zero(BIO_MAX_VECS << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl() 259 if (req->sg_cnt > BIO_MAX_VECS) in nvmet_passthru_map_sg()
|
/linux-5.19.10/fs/iomap/ |
D | direct-io.c | 314 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS); in iomap_dio_bio_iter() 355 BIO_MAX_VECS); in iomap_dio_bio_iter()
|
D | buffered-io.c | 1217 bio = bio_alloc_bioset(wpc->iomap.bdev, BIO_MAX_VECS, in iomap_alloc_ioend() 1248 new = bio_alloc(prev->bi_bdev, BIO_MAX_VECS, prev->bi_opf, GFP_NOFS); in iomap_chain_bio()
|
/linux-5.19.10/include/linux/ |
D | bio.h | 13 #define BIO_MAX_VECS 256U macro 17 return min(nr_segs, BIO_MAX_VECS); in bio_max_segs()
|
/linux-5.19.10/fs/f2fs/ |
D | segment.h | 881 return 8 * BIO_MAX_VECS; in nr_pages_to_skip() 898 desired = BIO_MAX_VECS; in nr_pages_to_write()
|
/linux-5.19.10/fs/nilfs2/ |
D | segbuf.c | 361 wi->max_pages = BIO_MAX_VECS; in nilfs_segbuf_prepare_write()
|
/linux-5.19.10/fs/ |
D | mpage.c | 586 bio = bio_alloc(bdev, BIO_MAX_VECS, in __mpage_writepage()
|
/linux-5.19.10/fs/ext4/ |
D | page-io.c | 400 bio = bio_alloc(bh->b_bdev, BIO_MAX_VECS, REQ_OP_WRITE, GFP_NOIO); in io_submit_init_bio()
|
/linux-5.19.10/drivers/md/ |
D | dm-crypt.c | 235 #define DM_CRYPT_MIN_PAGES_PER_CLIENT (BIO_MAX_VECS * 16) 3255 ret = mempool_init(&cc->page_pool, BIO_MAX_VECS, crypt_page_alloc, crypt_page_free, cc); in crypt_ctr() 3398 if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_VECS << PAGE_SHIFT)) && in crypt_map() 3400 dm_accept_partial_bio(bio, ((BIO_MAX_VECS << PAGE_SHIFT) >> SECTOR_SHIFT)); in crypt_map()
|
D | dm-writecache.c | 2055 g->wc_list_contiguous = BIO_MAX_VECS; in writecache_writeback() 2058 if (unlikely(e->wc_list_contiguous == BIO_MAX_VECS)) { in writecache_writeback()
|
D | raid5-ppl.c | 495 bio = bio_alloc_bioset(prev->bi_bdev, BIO_MAX_VECS, in ppl_submit_iounit()
|
/linux-5.19.10/fs/gfs2/ |
D | lops.c | 268 struct bio *bio = bio_alloc(sb->s_bdev, BIO_MAX_VECS, 0, GFP_NOIO); in gfs2_log_alloc_bio()
|
/linux-5.19.10/fs/erofs/ |
D | zdata.c | 1332 bio = bio_alloc(mdev.m_bdev, BIO_MAX_VECS, in z_erofs_submit_queue()
|
/linux-5.19.10/fs/btrfs/ |
D | scrub.c | 1413 bio = bio_alloc(first_sector->dev->bdev, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_recheck_block_on_raid56() 2195 bio = bio_alloc(NULL, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_missing_raid56_pages() 2829 bio = bio_alloc(NULL, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_parity_check_and_repair()
|
D | compression.c | 467 bio = btrfs_bio_alloc(BIO_MAX_VECS); in alloc_compressed_bio()
|
/linux-5.19.10/drivers/md/bcache/ |
D | request.c | 895 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS, in cached_dev_cache_miss()
|
/linux-5.19.10/drivers/block/drbd/ |
D | drbd_int.h | 1323 #if DRBD_MAX_BIO_SIZE > (BIO_MAX_VECS << PAGE_SHIFT)
|
/linux-5.19.10/fs/zonefs/ |
D | super.c | 775 nr_pages = iov_iter_npages(from, BIO_MAX_VECS); in zonefs_file_dio_append()
|