/kernel/linux/linux-5.10/fs/crypto/ |
D | bio.c | 55 bio = bio_alloc(GFP_NOFS, BIO_MAX_PAGES); in fscrypt_zeroout_range_inline_crypt() 77 if (num_pages == BIO_MAX_PAGES || !len || in fscrypt_zeroout_range_inline_crypt() 129 BUILD_BUG_ON(ARRAY_SIZE(pages) > BIO_MAX_PAGES); in fscrypt_zeroout_range()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_bio_io.c | 9 return min_t(unsigned, howmany(count, PAGE_SIZE), BIO_MAX_PAGES); in bio_max_vecs()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | io-cmd-bdev.c | 188 min_t(unsigned int, req->metadata_sg_cnt, BIO_MAX_PAGES)); in nvmet_bdev_alloc_bip() 265 bio = bio_alloc(GFP_KERNEL, min(sg_cnt, BIO_MAX_PAGES)); in nvmet_bdev_execute_rw() 292 bio = bio_alloc(GFP_KERNEL, min(sg_cnt, BIO_MAX_PAGES)); in nvmet_bdev_execute_rw()
|
D | passthru.c | 55 max_hw_sectors = min_not_zero(BIO_MAX_PAGES << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl() 195 if (req->sg_cnt > BIO_MAX_PAGES) in nvmet_passthru_map_sg()
|
/kernel/linux/linux-5.10/fs/erofs/ |
D | data.c | 218 if (nblocks > BIO_MAX_PAGES) in erofs_read_raw_page() 219 nblocks = BIO_MAX_PAGES; in erofs_read_raw_page()
|
/kernel/linux/linux-5.10/block/ |
D | blk-map.c | 154 if (nr_pages > BIO_MAX_PAGES) in bio_copy_user_iov() 155 nr_pages = BIO_MAX_PAGES; in bio_copy_user_iov() 254 bio = bio_kmalloc(gfp_mask, iov_iter_npages(iter, BIO_MAX_PAGES)); in bio_map_user_iov()
|
D | bounce.c | 300 if (i++ < BIO_MAX_PAGES) in __blk_queue_bounce()
|
D | blk-lib.c | 299 return min(pages, (sector_t)BIO_MAX_PAGES); in __blkdev_sectors_to_bio_pages()
|
D | blk-crypto-fallback.c | 219 if (++i == BIO_MAX_PAGES) in blk_crypto_split_bio_if_needed()
|
D | bio.c | 40 BV(1, 1), BV(4, 4), BV(16, 16), BV(64, 64), BV(128, 128), BV(BIO_MAX_PAGES, max), 195 case 129 ... BIO_MAX_PAGES: in bvec_alloc()
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_iblock.c | 317 if (sg_num > BIO_MAX_PAGES) in iblock_get_bio() 318 sg_num = BIO_MAX_PAGES; in iblock_get_bio() 641 min_t(unsigned int, cmd->t_prot_nents, BIO_MAX_PAGES)); in iblock_alloc_bip()
|
/kernel/linux/linux-5.10/fs/squashfs/ |
D | block.c | 90 if (page_count <= BIO_MAX_PAGES) in squashfs_bio_read()
|
/kernel/linux/linux-5.10/fs/ |
D | mpage.c | 308 BIO_MAX_PAGES), in do_mpage_readpage() 621 BIO_MAX_PAGES, GFP_NOFS|__GFP_HIGH); in __mpage_writepage()
|
D | block_dev.c | 444 nr_pages = iov_iter_npages(iter, BIO_MAX_PAGES); in __blkdev_direct_IO() 509 nr_pages = iov_iter_npages(iter, BIO_MAX_PAGES + 1); in blkdev_direct_IO() 512 if (is_sync_kiocb(iocb) && nr_pages <= BIO_MAX_PAGES) in blkdev_direct_IO() 515 return __blkdev_direct_IO(iocb, iter, min(nr_pages, BIO_MAX_PAGES)); in blkdev_direct_IO()
|
/kernel/linux/linux-5.10/fs/iomap/ |
D | direct-io.c | 253 nr_pages = iov_iter_npages(dio->submit.iter, BIO_MAX_PAGES); in iomap_dio_bio_actor() 311 nr_pages = iov_iter_npages(dio->submit.iter, BIO_MAX_PAGES); in iomap_dio_bio_actor()
|
D | buffered-io.c | 288 ctx->bio = bio_alloc(gfp, min(BIO_MAX_PAGES, nr_vecs)); in iomap_readpage_actor() 1225 bio = bio_alloc_bioset(GFP_NOFS, BIO_MAX_PAGES, &iomap_ioend_bioset); in iomap_alloc_ioend() 1256 new = bio_alloc(GFP_NOFS, BIO_MAX_PAGES); in iomap_chain_bio()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-log-writes.c | 275 bio_pages = min(num_pages, BIO_MAX_PAGES); in write_inline_data() 367 bio = bio_alloc(GFP_KERNEL, min(block->vec_cnt, BIO_MAX_PAGES)); in log_one_block() 389 bio = bio_alloc(GFP_KERNEL, min(block->vec_cnt - i, BIO_MAX_PAGES)); in log_one_block()
|
D | dm-io.c | 344 num_bvecs = min_t(int, BIO_MAX_PAGES, in do_region()
|
D | dm-crypt.c | 231 #define DM_CRYPT_MIN_PAGES_PER_CLIENT (BIO_MAX_PAGES * 16) 3236 ret = mempool_init(&cc->page_pool, BIO_MAX_PAGES, crypt_page_alloc, crypt_page_free, cc); in crypt_ctr() 3363 if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_PAGES << PAGE_SHIFT)) && in crypt_map() 3365 dm_accept_partial_bio(bio, ((BIO_MAX_PAGES << PAGE_SHIFT) >> SECTOR_SHIFT)); in crypt_map()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | readpage.c | 375 min_t(int, nr_pages, BIO_MAX_PAGES)); in ext4_mpage_readpages()
|
D | page-io.c | 404 bio = bio_alloc(GFP_NOIO, BIO_MAX_PAGES); in io_submit_init_bio()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | segment.h | 885 return 8 * BIO_MAX_PAGES; in nr_pages_to_skip() 902 desired = BIO_MAX_PAGES; in nr_pages_to_write()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | segbuf.c | 406 wi->max_pages = BIO_MAX_PAGES; in nilfs_segbuf_prepare_write()
|
/kernel/linux/linux-5.10/include/linux/ |
D | bio.h | 22 #define BIO_MAX_PAGES 256 macro
|
/kernel/linux/linux-5.10/drivers/hyperhold/ |
D | hp_core.c | 710 bio = bio_alloc(GFP_NOIO, BIO_MAX_PAGES); in hpio_submit()
|