bio_copy_kern(9)

bio_copy_kern9

Copy kernel address into bio

Usage

struct bio * bio_copy_kern(struct request_queue * q, void * data, unsigned int len, gfp_t gfp_mask, int reading);

Arguments

q

the struct request_queue for the bio

data

pointer to buffer to copy

len

length in bytes

gfp_mask

allocation flags for bio and page allocation

reading

data direction is READ

Overview

copy the kernel address into a bio suitable for io to a block device. Returns an error pointer in case of error.

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

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

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