bio_map_user(9)

bio_map_user9

Map user address into bio

Usage

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

q

the 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

Overview

Map the user space address into a bio suitable for io to a block device. Returns an error pointer in case of error.

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.