Lines Matching refs:gfp_mask
22 gfp_t gfp_mask) in bio_alloc_map_data() argument
29 bmd = kmalloc(struct_size(bmd, iov, data->nr_segs), gfp_mask); in bio_alloc_map_data()
130 struct iov_iter *iter, gfp_t gfp_mask) in bio_copy_user_iov() argument
140 bmd = bio_alloc_map_data(iter, gfp_mask); in bio_copy_user_iov()
155 bio = bio_kmalloc(gfp_mask, nr_pages); in bio_copy_user_iov()
183 page = alloc_page(GFP_NOIO | gfp_mask); in bio_copy_user_iov()
234 gfp_t gfp_mask) in bio_map_user_iov() argument
244 bio = bio_kmalloc(gfp_mask, iov_iter_npages(iter, BIO_MAX_VECS)); in bio_map_user_iov()
340 unsigned int len, gfp_t gfp_mask) in bio_map_kern() argument
351 bio = bio_kmalloc(gfp_mask, nr_pages); in bio_map_kern()
422 unsigned int len, gfp_t gfp_mask, int reading) in bio_copy_kern() argument
438 bio = bio_kmalloc(gfp_mask, nr_pages); in bio_copy_kern()
449 page = alloc_page(GFP_NOIO | gfp_mask); in bio_copy_kern()
523 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov() argument
546 ret = bio_copy_user_iov(rq, map_data, &i, gfp_mask); in blk_rq_map_user_iov()
548 ret = bio_map_user_iov(rq, &i, gfp_mask); in blk_rq_map_user_iov()
567 unsigned long len, gfp_t gfp_mask) in blk_rq_map_user() argument
576 return blk_rq_map_user_iov(q, rq, map_data, &i, gfp_mask); in blk_rq_map_user()
626 unsigned int len, gfp_t gfp_mask) in blk_rq_map_kern() argument
640 bio = bio_copy_kern(q, kbuf, len, gfp_mask, reading); in blk_rq_map_kern()
642 bio = bio_map_kern(q, kbuf, len, gfp_mask); in blk_rq_map_kern()