BIO_ALLOC

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

bio_alloc - allocate a bio for I/O  

SYNOPSIS

"SYNOPSIS"

struct bio * bio_alloc (int gfp_mask, int nr_iovecs);  

ARGUMENTS

gfp_mask
the GFP_ mask given to the slab allocator
nr_iovecs
number of iovecs to pre-allocate
 

DESCRIPTION

bio_alloc will first try it's on mempool to satisfy the allocation. If __GFP_WAIT is set then we will block on the internal pool waiting for a &struct bio to become free.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:25 GMT, October 06, 2005