Home
last modified time | relevance | path

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

/fs/nilfs2/
Dsegbuf.c26 int nr_vecs; member
365 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_submit_bio()
384 int nr_vecs) in nilfs_alloc_seg_bio() argument
388 bio = bio_alloc(GFP_NOIO, nr_vecs); in nilfs_alloc_seg_bio()
390 while (!bio && (nr_vecs >>= 1)) in nilfs_alloc_seg_bio()
391 bio = bio_alloc(GFP_NOIO, nr_vecs); in nilfs_alloc_seg_bio()
407 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_prepare_write()
418 BUG_ON(wi->nr_vecs <= 0); in nilfs_segbuf_submit_bh()
422 wi->nr_vecs); in nilfs_segbuf_submit_bh()
/fs/
Dmpage.c108 sector_t first_sector, int nr_vecs, in mpage_alloc() argument
115 bio = bio_alloc(gfp_flags, nr_vecs); in mpage_alloc()
118 while (!bio && (nr_vecs /= 2)) in mpage_alloc()
119 bio = bio_alloc(gfp_flags, nr_vecs); in mpage_alloc()
Ddirect-io.c431 sector_t first_sector, int nr_vecs) in dio_bio_alloc() argument
440 bio = bio_alloc(GFP_KERNEL, nr_vecs); in dio_bio_alloc()
/fs/iomap/
Dbuffered-io.c261 int nr_vecs = (length + PAGE_SIZE - 1) >> PAGE_SHIFT; in iomap_readpage_actor() local
268 ctx->bio = bio_alloc(gfp, min(BIO_MAX_PAGES, nr_vecs)); in iomap_readpage_actor()