/Linux-v4.19/drivers/staging/erofs/ |
D | data.c | 278 if (nblocks > BIO_MAX_PAGES) in erofs_read_raw_page() 279 nblocks = BIO_MAX_PAGES; in erofs_read_raw_page()
|
/Linux-v4.19/include/linux/ |
D | bio.h | 43 #define BIO_MAX_PAGES HPAGE_PMD_NR macro 45 #define BIO_MAX_PAGES 256 macro 48 #define BIO_MAX_PAGES 256 macro
|
/Linux-v4.19/block/ |
D | bio.c | 50 BV(1, 1), BV(4, 4), BV(16, 16), BV(64, 64), BV(128, 128), BV(BIO_MAX_PAGES, max), 205 case 129 ... BIO_MAX_PAGES: in bvec_alloc() 1202 if (nr_pages > BIO_MAX_PAGES) in bio_copy_user_iov() 1203 nr_pages = BIO_MAX_PAGES; in bio_copy_user_iov() 1301 bio = bio_kmalloc(gfp_mask, iov_iter_npages(iter, BIO_MAX_PAGES)); in bio_map_user_iov()
|
D | blk-zoned.c | 152 nr_pages = min_t(unsigned int, BIO_MAX_PAGES, in blkdev_report_zones()
|
D | bounce.c | 278 if (i++ < BIO_MAX_PAGES) in __blk_queue_bounce()
|
D | blk-lib.c | 276 return min(pages, (sector_t)BIO_MAX_PAGES); in __blkdev_sectors_to_bio_pages()
|
/Linux-v4.19/fs/ext4/ |
D | readpage.c | 252 min_t(int, nr_pages, BIO_MAX_PAGES)); in ext4_mpage_readpages()
|
D | page-io.c | 374 bio = bio_alloc(GFP_NOIO, BIO_MAX_PAGES); in io_submit_init_bio()
|
/Linux-v4.19/fs/ |
D | mpage.c | 308 BIO_MAX_PAGES), in do_mpage_readpage() 637 BIO_MAX_PAGES, GFP_NOFS|__GFP_HIGH); in __mpage_writepage()
|
D | block_dev.c | 382 nr_pages = iov_iter_npages(iter, BIO_MAX_PAGES); in __blkdev_direct_IO() 428 nr_pages = iov_iter_npages(iter, BIO_MAX_PAGES + 1); in blkdev_direct_IO() 431 if (is_sync_kiocb(iocb) && nr_pages <= BIO_MAX_PAGES) in blkdev_direct_IO() 434 return __blkdev_direct_IO(iocb, iter, min(nr_pages, BIO_MAX_PAGES)); in blkdev_direct_IO()
|
D | iomap.c | 338 ctx->bio = bio_alloc(gfp, min(BIO_MAX_PAGES, nr_vecs)); in iomap_readpage_actor() 1620 nr_pages = iov_iter_npages(&iter, BIO_MAX_PAGES); in iomap_dio_bio_actor() 1672 nr_pages = iov_iter_npages(&iter, BIO_MAX_PAGES); in iomap_dio_bio_actor()
|
D | direct-io.c | 741 nr_pages = min(sdio->pages_in_io, BIO_MAX_PAGES); in dio_new_bio()
|
/Linux-v4.19/drivers/md/ |
D | dm-log-writes.c | 264 bio_pages = min(num_pages, BIO_MAX_PAGES); in write_inline_data() 356 bio = bio_alloc(GFP_KERNEL, min(block->vec_cnt, BIO_MAX_PAGES)); in log_one_block() 378 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 | 228 #define DM_CRYPT_MIN_PAGES_PER_CLIENT (BIO_MAX_PAGES * 16) 2754 ret = mempool_init(&cc->page_pool, BIO_MAX_PAGES, crypt_page_alloc, crypt_page_free, cc); in crypt_ctr() 2869 if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_PAGES << PAGE_SHIFT)) && in crypt_map() 2871 dm_accept_partial_bio(bio, ((BIO_MAX_PAGES << PAGE_SHIFT) >> SECTOR_SHIFT)); in crypt_map()
|
D | dm-writecache.c | 1665 g->wc_list_contiguous = BIO_MAX_PAGES; in writecache_writeback() 1668 if (unlikely(e->wc_list_contiguous == BIO_MAX_PAGES)) in writecache_writeback()
|
/Linux-v4.19/drivers/nvme/target/ |
D | io-cmd-bdev.c | 96 bio = bio_alloc(GFP_KERNEL, min(sg_cnt, BIO_MAX_PAGES)); in nvmet_bdev_execute_rw()
|
/Linux-v4.19/drivers/target/ |
D | target_core_iblock.c | 330 if (sg_num > BIO_MAX_PAGES) in iblock_get_bio() 331 sg_num = BIO_MAX_PAGES; in iblock_get_bio()
|
D | target_core_pscsi.c | 915 nr_vecs = min_t(int, BIO_MAX_PAGES, nr_pages); in pscsi_map_sg()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_aops.c | 542 bio = bio_alloc_bioset(GFP_NOFS, BIO_MAX_PAGES, &xfs_ioend_bioset); in xfs_alloc_ioend() 574 new = bio_alloc(GFP_NOFS, BIO_MAX_PAGES); in xfs_chain_bio()
|
/Linux-v4.19/fs/f2fs/ |
D | segment.h | 812 return 8 * BIO_MAX_PAGES; in nr_pages_to_skip() 829 desired = BIO_MAX_PAGES; in nr_pages_to_write()
|
D | data.c | 515 BIO_MAX_PAGES, false, in f2fs_submit_page_write() 550 bio = f2fs_bio_alloc(sbi, min_t(int, nr_pages, BIO_MAX_PAGES), false); in f2fs_grab_read_bio()
|
/Linux-v4.19/fs/nilfs2/ |
D | segbuf.c | 406 wi->max_pages = BIO_MAX_PAGES; in nilfs_segbuf_prepare_write()
|
/Linux-v4.19/fs/gfs2/ |
D | lops.c | 270 bio = bio_alloc(GFP_NOIO, BIO_MAX_PAGES); in gfs2_log_alloc_bio()
|
/Linux-v4.19/fs/nfs/blocklayout/ |
D | blocklayout.c | 124 npg = min(npg, BIO_MAX_PAGES); in bl_alloc_init_bio()
|