Query: bio_alloc_pages
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BIO_ALLOC_PAGES(9) The Linux VFS BIO_ALLOC_PAGES(9)NAMEbio_alloc_pages - allocates a single page for each bvec in a bioSYNOPSISint bio_alloc_pages(struct bio * bio, gfp_t gfp_mask);ARGUMENTSbio bio to allocate pages for gfp_mask flags for allocationDESCRIPTIONAllocates pages up to bio->bi_vcnt. Returns 0 on success, -ENOMEM on failure. On failure, any allocated pages are freed.COPYRIGHTKernel Hackers Manual 3.10 June 2014 BIO_ALLOC_PAGES(9)