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

NAME

6       bio_copy_user - copy user data to bio
7

SYNOPSIS

9       struct bio * bio_copy_user(struct request_queue * q,
10                                  struct rq_map_data * map_data,
11                                  unsigned long uaddr, unsigned int len,
12                                  int write_to_vm, gfp_t gfp_mask);
13

ARGUMENTS

15       q
16           destination block queue
17
18       map_data
19           pointer to the rq_map_data holding pages (if necessary)
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       Prepares and returns a bio for indirect user io, bouncing data to/from
35       kernel pages as necessary. Must be paired with call bio_uncopy_user on
36       io completion.
37
39Kernel Hackers Manual 2.6.         June 2019                  BIO_COPY_USER(9)
Impressum