Home
last modified time | relevance | path

Searched refs:BIO_MAX_PAGES (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/block/
Dblk-lib.c245 min(nr_sects, (sector_t)BIO_MAX_PAGES)); in __blkdev_issue_zeroout()
Dbio.c47 BV(1), BV(4), BV(16), BV(64), BV(128), BV(BIO_MAX_PAGES),
198 case 129 ... BIO_MAX_PAGES: in bvec_alloc()
697 return min_t(unsigned, nr_pages, BIO_MAX_PAGES); in bio_get_nr_vecs()
/linux-4.1.27/include/linux/
Dbio.h43 #define BIO_MAX_PAGES 256 macro
44 #define BIO_MAX_SIZE (BIO_MAX_PAGES << PAGE_CACHE_SHIFT)
/linux-4.1.27/drivers/md/bcache/
Dio.c32 if (seg == min_t(unsigned, BIO_MAX_PAGES, in bch_bio_max_sectors()
Dsuper.c840 q->limits.max_segments = BIO_MAX_PAGES; in bcache_device_init()
/linux-4.1.27/drivers/target/
Dtarget_core_iblock.c345 if (sg_num > BIO_MAX_PAGES) in iblock_get_bio()
346 sg_num = BIO_MAX_PAGES; in iblock_get_bio()
Dtarget_core_pscsi.c910 nr_vecs = min_t(int, BIO_MAX_PAGES, nr_pages); in pscsi_map_sg()
/linux-4.1.27/fs/ext4/
Dpage-io.c382 bio = bio_alloc(GFP_NOIO, min(nvecs, BIO_MAX_PAGES)); in io_submit_init_bio()
/linux-4.1.27/fs/f2fs/
Dsegment.h104 ((int)min((int)max_hw_blocks(sbi), BIO_MAX_PAGES))
/linux-4.1.27/fs/nfs/blocklayout/
Dblocklayout.c123 npg = min(npg, BIO_MAX_PAGES); in bl_alloc_init_bio()
/linux-4.1.27/drivers/md/
Ddm-verity.c966 BIO_MAX_PAGES * sizeof(struct bio_vec)); in verity_ctr()
Ddm-crypt.c1776 cc->page_pool = mempool_create_page_pool(BIO_MAX_PAGES, 0); in crypt_ctr()
/linux-4.1.27/drivers/block/xen-blkback/
Dblkback.c1328 int nr_iovecs = min_t(int, (nseg-i), BIO_MAX_PAGES); in dispatch_rw_block_io()
/linux-4.1.27/fs/btrfs/
Dextent_io.c2832 nr = BIO_MAX_PAGES; in submit_extent_page()