Lines Matching defs:npg
119 bl_alloc_init_bio(int npg, struct block_device *bdev, sector_t disk_sector,
124 npg = min(npg, BIO_MAX_PAGES);
125 bio = bio_alloc(GFP_NOIO, npg);
127 while (!bio && (npg /= 2))
128 bio = bio_alloc(GFP_NOIO, npg);
146 do_add_page_to_bio(struct bio *bio, int npg, int rw, sector_t isect,
155 dprintk("%s: npg %d rw %d isect %llu offset %u len %d\n", __func__,
156 npg, rw, (unsigned long long)isect, offset, *len);
179 bio = bl_alloc_init_bio(npg, map->bdev,