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()
131 struct iov_iter *iter, gfp_t gfp_mask) in bio_copy_user_iov() argument
141 bmd = bio_alloc_map_data(iter, gfp_mask); in bio_copy_user_iov()
158 bio = bio_kmalloc(gfp_mask, nr_pages); in bio_copy_user_iov()
186 page = alloc_page(rq->q->bounce_gfp | gfp_mask); in bio_copy_user_iov()
244 gfp_t gfp_mask) in bio_map_user_iov() argument
254 bio = bio_kmalloc(gfp_mask, iov_iter_npages(iter, BIO_MAX_PAGES)); in bio_map_user_iov()
382 unsigned int len, gfp_t gfp_mask) in bio_map_kern() argument
393 bio = bio_kmalloc(gfp_mask, nr_pages); in bio_map_kern()
464 unsigned int len, gfp_t gfp_mask, int reading) in bio_copy_kern() argument
480 bio = bio_kmalloc(gfp_mask, nr_pages); in bio_copy_kern()
491 page = alloc_page(q->bounce_gfp | __GFP_ZERO | gfp_mask); in bio_copy_kern()
580 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov() argument
601 ret = bio_copy_user_iov(rq, map_data, &i, gfp_mask); in blk_rq_map_user_iov()
603 ret = bio_map_user_iov(rq, &i, gfp_mask); in blk_rq_map_user_iov()
622 unsigned long len, gfp_t gfp_mask) in blk_rq_map_user() argument
631 return blk_rq_map_user_iov(q, rq, map_data, &i, gfp_mask); in blk_rq_map_user()
685 unsigned int len, gfp_t gfp_mask) in blk_rq_map_kern() argument
698 bio = bio_copy_kern(q, kbuf, len, gfp_mask, reading); in blk_rq_map_kern()
700 bio = bio_map_kern(q, kbuf, len, gfp_mask); in blk_rq_map_kern()