Searched refs:nr_vecs (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/fs/nilfs2/ |
D | segbuf.c | 39 int nr_vecs; member 376 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_submit_bio() 395 int nr_vecs) in nilfs_alloc_seg_bio() argument 399 bio = bio_alloc(GFP_NOIO, nr_vecs); in nilfs_alloc_seg_bio() 401 while (!bio && (nr_vecs >>= 1)) in nilfs_alloc_seg_bio() 402 bio = bio_alloc(GFP_NOIO, nr_vecs); in nilfs_alloc_seg_bio() 418 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_prepare_write() 429 BUG_ON(wi->nr_vecs <= 0); in nilfs_segbuf_submit_bh() 433 wi->nr_vecs); in nilfs_segbuf_submit_bh()
|
/linux-4.4.14/block/ |
D | bio-integrity.c | 52 unsigned int nr_vecs) in bio_integrity_alloc() argument 61 sizeof(struct bio_vec) * nr_vecs, gfp_mask); in bio_integrity_alloc() 62 inline_vecs = nr_vecs; in bio_integrity_alloc() 73 if (nr_vecs > inline_vecs) { in bio_integrity_alloc() 74 bip->bip_vec = bvec_alloc(gfp_mask, nr_vecs, &idx, in bio_integrity_alloc()
|
D | bio.c | 45 #define BV(x) { .nr_vecs = x, .name = "biovec-"__stringify(x) } 158 return bvec_slabs[idx].nr_vecs; in bvec_nr_vecs() 2027 if (bvs->nr_vecs <= BIO_INLINE_VECS) { in biovec_init_slabs() 2032 size = bvs->nr_vecs * sizeof(struct bio_vec); in biovec_init_slabs()
|
/linux-4.4.14/drivers/target/ |
D | target_core_pscsi.c | 860 static inline struct bio *pscsi_get_bio(int nr_vecs) in pscsi_get_bio() argument 867 bio = bio_kmalloc(GFP_KERNEL, nr_vecs); in pscsi_get_bio() 888 int nr_vecs = 0, rc; in pscsi_map_sg() local 915 nr_vecs = min_t(int, BIO_MAX_PAGES, nr_pages); in pscsi_map_sg() 916 nr_pages -= nr_vecs; in pscsi_map_sg() 920 bio = pscsi_get_bio(nr_vecs); in pscsi_map_sg() 929 (rw) ? "rw" : "r", nr_vecs); in pscsi_map_sg() 952 bio->bi_vcnt, nr_vecs); in pscsi_map_sg() 954 if (bio->bi_vcnt > nr_vecs) { in pscsi_map_sg()
|
/linux-4.4.14/fs/ |
D | mpage.c | 68 sector_t first_sector, int nr_vecs, in mpage_alloc() argument 73 bio = bio_alloc(gfp_flags, nr_vecs); in mpage_alloc() 76 while (!bio && (nr_vecs /= 2)) in mpage_alloc() 77 bio = bio_alloc(gfp_flags, nr_vecs); in mpage_alloc()
|
D | direct-io.c | 360 sector_t first_sector, int nr_vecs) in dio_bio_alloc() argument 368 bio = bio_alloc(GFP_KERNEL, nr_vecs); in dio_bio_alloc()
|
D | splice.c | 1447 unsigned int nr_vecs, struct page **pages, in get_iovec_page_array() argument 1453 while (nr_vecs) { in get_iovec_page_array() 1531 nr_vecs--; in get_iovec_page_array()
|
/linux-4.4.14/fs/btrfs/ |
D | extent_io.h | 348 btrfs_bio_alloc(struct block_device *bdev, u64 first_sector, int nr_vecs,
|
D | extent_io.c | 2752 btrfs_bio_alloc(struct block_device *bdev, u64 first_sector, int nr_vecs, in btrfs_bio_alloc() argument 2758 bio = bio_alloc_bioset(gfp_flags, nr_vecs, btrfs_bioset); in btrfs_bio_alloc() 2761 while (!bio && (nr_vecs /= 2)) { in btrfs_bio_alloc() 2763 nr_vecs, btrfs_bioset); in btrfs_bio_alloc()
|
/linux-4.4.14/include/linux/ |
D | bio.h | 737 int nr_vecs; member
|