bio_alloc_bioset man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

BIO_ALLOC_BIOSET(9)		 The Linux VFS		   BIO_ALLOC_BIOSET(9)

NAME
       bio_alloc_bioset - allocate a bio for I/O

SYNOPSIS
       struct bio * bio_alloc_bioset(gfp_t gfp_mask, int nr_iovecs,
				     struct bio_set * bs);

ARGUMENTS
       gfp_mask
	   the GFP_ mask given to the slab allocator

       nr_iovecs
	   number of iovecs to pre-allocate

       bs
	   the bio_set to allocate from. If NULL, just use kmalloc

DESCRIPTION
       bio_alloc_bioset will first try its own 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. If a NULL bs is passed
       in, we will fall back to just using kmalloc to allocate the required
       memory.

       Note that the caller must set ->bi_destructor on succesful return of a
       bio, to do the appropriate freeing of the bio once the reference count
       drops to zero.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		   BIO_ALLOC_BIOSET(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net