1BIO_KMALLOC(9) The Linux VFS BIO_KMALLOC(9)
23
4
NAME
6bio_kmalloc - allocate a bio for I/O using kmalloc
7
SYNOPSIS
9struct bio * bio_kmalloc(gfp_t gfp_mask, int nr_iovecs);
10
ARGUMENTS
12gfp_mask
13the GFP_ mask given to the slab allocator
1415
nr_iovecs
16number of iovecs to pre-allocate
17
DESCRIPTION
19Allocate a new bio with nr_iovecs bvecs. If gfp_mask contains
20__GFP_WAIT, the allocation is guaranteed to succeed.
21
COPYRIGHT
23Kernel Hackers Manual 2.6. November 2011 BIO_KMALLOC(9)