bio_alloc 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(9)			 The Linux VFS			  BIO_ALLOC(9)

NAME
       bio_alloc - allocate a new bio, memory pool backed

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

ARGUMENTS
       gfp_mask
	   allocation mask to use

       nr_iovecs
	   number of iovecs

DESCRIPTION
       bio_alloc will allocate a bio and associated bio_vec array that can
       hold at least nr_iovecs entries. Allocations will be done from the
       fs_bio_set. Also see bio_alloc_bioset and bio_kmalloc.

       If __GFP_WAIT is set, then bio_alloc will always be able to allocate a
       bio. This is due to the mempool guarantees. To make this work, callers
       must never allocate more than 1 bio at a time from this pool. Callers
       that need to allocate more than 1 bio must always submit the previously
       allocated bio for IO before attempting to allocate a new one. Failure
       to do so can cause livelocks under memory pressure.

RETURNS
       Pointer to new bio on success, NULL on failure.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013			  BIO_ALLOC(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