table of contents
other versions
- wheezy 3.2.78-1
BIO_COPY_KERN(9) | The Linux VFS | BIO_COPY_KERN(9) |
NAME¶
bio_copy_kern - copy kernel address into bioSYNOPSIS¶
struct
bio * bio_copy_kern(struct request_queue * q,
void * data, unsigned int len,
gfp_t gfp_mask, int reading);
ARGUMENTS¶
qthe 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
DESCRIPTION¶
copy the kernel 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. |