Home
last modified time | relevance | path

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

/block/
Dblk-map.c206 int blk_rq_map_kern(struct request_queue *q, struct request *rq, void *kbuf, in blk_rq_map_kern() argument
210 unsigned long addr = (unsigned long) kbuf; in blk_rq_map_kern()
217 if (!len || !kbuf) in blk_rq_map_kern()
220 do_copy = !blk_rq_aligned(q, addr, len) || object_is_on_stack(kbuf); in blk_rq_map_kern()
222 bio = bio_copy_kern(q, kbuf, len, gfp_mask, reading); in blk_rq_map_kern()
224 bio = bio_map_kern(q, kbuf, len, gfp_mask); in blk_rq_map_kern()