Home
last modified time | relevance | path

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

/linux-4.4.14/fs/logfs/
Ddev_bdev.c84 max_pages = min_t(size_t, nr_pages, BIO_MAX_PAGES); in __bdev_writeseg()
174 max_pages = min_t(size_t, nr_pages, BIO_MAX_PAGES); in do_erase()
/linux-4.4.14/fs/
Dmpage.c281 min_t(int, nr_pages, BIO_MAX_PAGES), gfp); in do_mpage_readpage()
609 BIO_MAX_PAGES, GFP_NOFS|__GFP_HIGH); in __mpage_writepage()
Ddirect-io.c666 nr_pages = min(sdio->pages_in_io, BIO_MAX_PAGES); in dio_new_bio()
/linux-4.4.14/block/
Dblk-lib.c231 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()
/linux-4.4.14/fs/ext4/
Dreadpage.c287 min_t(int, nr_pages, BIO_MAX_PAGES)); in ext4_mpage_readpages()
Dpage-io.c379 bio = bio_alloc(GFP_NOIO, BIO_MAX_PAGES); in io_submit_init_bio()
/linux-4.4.14/include/linux/
Dbio.h43 #define BIO_MAX_PAGES 256 macro
44 #define BIO_MAX_SIZE (BIO_MAX_PAGES << PAGE_CACHE_SHIFT)
/linux-4.4.14/drivers/target/
Dtarget_core_iblock.c324 if (sg_num > BIO_MAX_PAGES) in iblock_get_bio()
325 sg_num = BIO_MAX_PAGES; in iblock_get_bio()
Dtarget_core_pscsi.c915 nr_vecs = min_t(int, BIO_MAX_PAGES, nr_pages); in pscsi_map_sg()
/linux-4.4.14/drivers/md/
Ddm-io.c318 num_bvecs = min_t(int, BIO_MAX_PAGES, in do_region()
Draid5-cache.c258 struct bio *bio = bio_kmalloc(GFP_NOIO | __GFP_NOFAIL, BIO_MAX_PAGES); in r5l_bio_alloc()
Ddm-crypt.c1796 cc->page_pool = mempool_create_page_pool(BIO_MAX_PAGES, 0); in crypt_ctr()
/linux-4.4.14/fs/nilfs2/
Dsegbuf.c417 wi->max_pages = BIO_MAX_PAGES; in nilfs_segbuf_prepare_write()
/linux-4.4.14/fs/f2fs/
Dsegment.h105 ((int)min((int)max_hw_blocks(sbi), BIO_MAX_PAGES))
Ddata.c976 min_t(int, nr_pages, BIO_MAX_PAGES)); in f2fs_mpage_readpages()
/linux-4.4.14/fs/gfs2/
Dlops.c268 bio = bio_alloc(GFP_NOIO, BIO_MAX_PAGES); in gfs2_log_alloc_bio()
/linux-4.4.14/fs/nfs/blocklayout/
Dblocklayout.c123 npg = min(npg, BIO_MAX_PAGES); in bl_alloc_init_bio()
/linux-4.4.14/fs/btrfs/
Dcompression.c100 return btrfs_bio_alloc(bdev, first_byte >> 9, BIO_MAX_PAGES, gfp_flags); in compressed_bio_alloc()
Dextent_io.c2898 bio = btrfs_bio_alloc(bdev, sector, BIO_MAX_PAGES, in submit_extent_page()
Dinode.c8103 bio = btrfs_bio_alloc(bdev, first_sector, BIO_MAX_PAGES, gfp_flags); in btrfs_dio_bio_alloc()
/linux-4.4.14/drivers/block/xen-blkback/
Dblkback.c1341 int nr_iovecs = min_t(int, (nseg-i), BIO_MAX_PAGES); in dispatch_rw_block_io()
/linux-4.4.14/fs/xfs/
Dxfs_aops.c392 struct bio *bio = bio_alloc(GFP_NOIO, BIO_MAX_PAGES); in xfs_alloc_ioend_bio()
/linux-4.4.14/drivers/md/bcache/
Dsuper.c809 q->limits.max_segments = BIO_MAX_PAGES; in bcache_device_init()