1BIO_MAP_USER(9)                  The Linux VFS                 BIO_MAP_USER(9)
2
3
4

NAME

6       bio_map_user - map user address into bio
7

SYNOPSIS

9       struct bio * bio_map_user(struct request_queue * q,
10                                 struct block_device * bdev,
11                                 unsigned long uaddr, unsigned int len,
12                                 int write_to_vm, gfp_t gfp_mask);
13

ARGUMENTS

15       q
16           the struct request_queue for the bio
17
18       bdev
19           destination block device
20
21       uaddr
22           start of user address
23
24       len
25           length in bytes
26
27       write_to_vm
28           bool indicating writing to pages or not
29
30       gfp_mask
31           memory allocation flags
32

DESCRIPTION

34       Map the user space address into a bio suitable for io to a block
35       device. Returns an error pointer in case of error.
36
38Kernel Hackers Manual 2.6.         June 2019                   BIO_MAP_USER(9)
Impressum