From 2c0ea12df5c02b2cc9b5933cbe011e127a31a459 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Wed, 1 Nov 2006 12:42:14 +0000 Subject: [PATCH] - Document two new function g_alloc_bio() and g_duplicate_bio(). - Bump modification date. - Update copyright years. --- share/man/man9/g_bio.9 | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/share/man/man9/g_bio.9 b/share/man/man9/g_bio.9 index a5d24313fef..5dd0df0fde4 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 +.\" Copyright (c) 2004-2006 Pawel Jakub Dawidek .\" 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