diff options
author | pjd <pjd@FreeBSD.org> | 2006-11-01 12:42:14 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-11-01 12:42:14 +0000 |
commit | 83bab600a93c75c7738f74961dd150457420c84f (patch) | |
tree | ec3d0aaf50291e0fd3517d65421eb8ea52c03d8b /share/man/man9/g_bio.9 | |
parent | 87614bd3fef59c2beb2363be8ef70171d2231060 (diff) | |
download | FreeBSD-src-83bab600a93c75c7738f74961dd150457420c84f.zip FreeBSD-src-83bab600a93c75c7738f74961dd150457420c84f.tar.gz |
- Document two new function g_alloc_bio() and g_duplicate_bio().
- Bump modification date.
- Update copyright years.
Diffstat (limited to 'share/man/man9/g_bio.9')
-rw-r--r-- | share/man/man9/g_bio.9 | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/share/man/man9/g_bio.9 b/share/man/man9/g_bio.9 index a5d2431..5dd0df0 100644 --- a/share/man/man9/g_bio.9 +++ b/share/man/man9/g_bio.9 @@ -1,5 +1,5 @@ .\" -.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org> +.\" Copyright (c) 2004-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org> .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 16, 2004 +.Dd November 1, 2006 .Dt G_BIO 9 .Os .Sh NAME @@ -39,7 +39,11 @@ .Ft "struct bio *" .Fn g_new_bio void .Ft "struct bio *" +.Fn g_alloc_bio void +.Ft "struct bio *" .Fn g_clone_bio "struct bio *bp" +.Ft "struct bio *" +.Fn g_duplicate_bio "struct bio *bp" .Ft void .Fn g_destroy_bio "struct bio *bp" .Ft void @@ -140,6 +144,13 @@ function allocates a new, empty .Vt bio structure. .Pp +.Fn g_alloc_bio +- same as +.Fn g_new_bio , +but always succeeds (allocates bio with the +.Dv M_WAITOK +malloc flag). +.Pp The .Fn g_clone_bio function allocates a new @@ -176,6 +187,13 @@ Modify the clone. Schedule the clone on its own consumer. .El .Pp +.Fn g_duplicate_bio +- same as +.Fn g_clone_bio , +but always succeeds (allocates bio with the +.Dv M_WAITOK +malloc flag). +.Pp The .Fn g_destroy_bio function deallocates and destroys the given |