Home
last modified time | relevance | path

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

/block/
Dblk-map.c289 int blk_rq_map_kern(struct request_queue *q, struct request *rq, void *kbuf, in blk_rq_map_kern() argument
293 unsigned long addr = (unsigned long) kbuf; in blk_rq_map_kern()
300 if (!len || !kbuf) in blk_rq_map_kern()
303 do_copy = !blk_rq_aligned(q, addr, len) || object_is_on_stack(kbuf); in blk_rq_map_kern()
305 bio = bio_copy_kern(q, kbuf, len, gfp_mask, reading); in blk_rq_map_kern()
307 bio = bio_map_kern(q, kbuf, len, gfp_mask); in blk_rq_map_kern()