table of contents
other versions
- wheezy 3.2.78-1
BIO_MAP_USER(9) | The Linux VFS | BIO_MAP_USER(9) |
NAME¶
bio_map_user - map user address into bioSYNOPSIS¶
struct
bio * bio_map_user(struct request_queue * q,
struct block_device * bdev,
unsigned long uaddr,
unsigned int len, int write_to_vm,
gfp_t gfp_mask);
ARGUMENTS¶
qthe struct request_queue for the bio
bdev
destination block device
uaddr
start of user address
len
length in bytes
write_to_vm
bool indicating writing to pages or not
gfp_mask
memory allocation flags
DESCRIPTION¶
Map the user space address into a bio suitable for io to a block device. Returns an error pointer in case of error.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |