table of contents
other versions
- jessie 3.16.56-1+deb8u1
BIO_ALLOC_PAGES(9) | The Linux VFS | BIO_ALLOC_PAGES(9) |
NAME¶
bio_alloc_pages - allocates a single page for each bvec in a bioSYNOPSIS¶
int
bio_alloc_pages(struct bio * bio,
gfp_t gfp_mask);
ARGUMENTS¶
biobio to allocate pages for
gfp_mask
flags for allocation
DESCRIPTION¶
Allocates pages up to bio->bi_vcnt. Returns 0 on success, -ENOMEM on failure. On failure, any allocated pages are freed.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |