Home
last modified time | relevance | path

Searched refs:nr_vecs (Results 1 – 6 of 6) sorted by relevance

/fs/nilfs2/
Dsegbuf.c26 int nr_vecs; member
357 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_submit_bio()
368 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_prepare_write()
379 BUG_ON(wi->nr_vecs <= 0); in nilfs_segbuf_submit_bh()
382 wi->bio = bio_alloc(wi->nilfs->ns_bdev, wi->nr_vecs, in nilfs_segbuf_submit_bh()
/fs/iomap/
Ddirect-io.c55 struct iomap_dio *dio, unsigned short nr_vecs, blk_opf_t opf) in iomap_dio_alloc_bio() argument
58 return bio_alloc_bioset(iter->iomap.bdev, nr_vecs, opf, in iomap_dio_alloc_bio()
60 return bio_alloc(iter->iomap.bdev, nr_vecs, opf, GFP_KERNEL); in iomap_dio_alloc_bio()
Dbuffered-io.c293 unsigned int nr_vecs = DIV_ROUND_UP(length, PAGE_SIZE); in iomap_readpage_iter() local
300 ctx->bio = bio_alloc(iomap->bdev, bio_max_segs(nr_vecs), in iomap_readpage_iter()
/fs/
Ddirect-io.c392 sector_t first_sector, int nr_vecs) in dio_bio_alloc() argument
400 bio = bio_alloc(bdev, nr_vecs, dio->opf, GFP_KERNEL); in dio_bio_alloc()
/fs/btrfs/
Dvolumes.h430 struct bio *btrfs_bio_alloc(unsigned int nr_vecs, blk_opf_t opf,
Dvolumes.c6726 struct bio *btrfs_bio_alloc(unsigned int nr_vecs, blk_opf_t opf, in btrfs_bio_alloc() argument
6731 bio = bio_alloc_bioset(NULL, nr_vecs, opf, GFP_NOFS, &btrfs_bioset); in btrfs_bio_alloc()