1BIO_MAP_KERN(9) The Linux VFS BIO_MAP_KERN(9)
2
3
4
6 bio_map_kern - map kernel address into bio
7
9 struct bio * bio_map_kern(struct request_queue * q, void * data,
10 unsigned int len, gfp_t gfp_mask);
11
13 q
14 the struct request_queue for the bio
15
16 data
17 pointer to buffer to map
18
19 len
20 length in bytes
21
22 gfp_mask
23 allocation flags for bio allocation
24
26 Map the kernel address into a bio suitable for io to a block device.
27 Returns an error pointer in case of error.
28
30Kernel Hackers Manual 3.10 June 2019 BIO_MAP_KERN(9)