Query: bio_alloc
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BIO_ALLOC(9) The Linux VFS BIO_ALLOC(9)NAMEbio_alloc - allocate a new bio, memory pool backedSYNOPSISstruct bio * bio_alloc(gfp_t gfp_mask, int nr_iovecs);ARGUMENTSgfp_mask allocation mask to use nr_iovecs number of iovecsDESCRIPTIONbio_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.RETURNSPointer to new bio on success, NULL on failure.COPYRIGHTKernel Hackers Manual 2.6. July 2010 BIO_ALLOC(9)
Related Man Pages |
---|
bio_f_base64(3) - redhat |
bio(3) - redhat |
bio_f_base64(3) - centos |
probe::ioblock.request(3stap) - centos |
probe::ioblock_trace.request(3stap) - centos |
Similar Topics in the Unix Linux Community |
---|
Migrating to UNIX |
Cut command on RHEL 6.8 compatibility issues |
Update kernel Linux without reboot?! |
Tar Command |
Docker learning Phase-I |