Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpuffs mention puffs_node_pathconf and puffs_node_advlock



details:   https://anonhg.NetBSD.org/src/rev/24e31fcbc1b8
branches:  trunk
changeset: 347505:24e31fcbc1b8
user:      tnn <tnn%NetBSD.org@localhost>
date:      Mon Aug 29 01:13:56 2016 +0000

description:
mention puffs_node_pathconf and puffs_node_advlock

diffstat:

 lib/libpuffs/puffs_ops.3 |  38 ++++++++++++++++++++++++++++++++++++--
 1 files changed, 36 insertions(+), 2 deletions(-)

diffs (66 lines):

diff -r 99f00bf82c11 -r 24e31fcbc1b8 lib/libpuffs/puffs_ops.3
--- a/lib/libpuffs/puffs_ops.3  Sun Aug 28 19:44:44 2016 +0000
+++ b/lib/libpuffs/puffs_ops.3  Mon Aug 29 01:13:56 2016 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: puffs_ops.3,v 1.44 2015/11/12 17:51:05 christos Exp $
+.\"    $NetBSD: puffs_ops.3,v 1.45 2016/08/29 01:13:56 tnn Exp $
 .\"
 .\" Copyright (c) 2007 Antti Kantee.  All rights reserved.
 .\"
@@ -23,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd November 9, 2015
+.Dd August 29, 2016
 .Dt PUFFS_OPS 3
 .Os
 .Sh NAME
@@ -118,6 +118,16 @@
 .Fa "const struct puffs_cred *pcr" "struct timespec *va_ttl" "int xflag"
 .Fc
 .Ft int
+.Fo puffs_node_pathconf
+.Fa "struct puffs_usermount *pu" "puffs_cookie_t opc" "int name"
+.Fa "register_t *retval"
+.Fc
+.Ft int
+.Fo puffs_node_advlock
+.Fa "struct puffs_usermount *pu" "puffs_cookie_t opc" "void *id" "int op"
+.Fa "struct flock *fl" "int flags"
+.Fc
+.Ft int
 .Fo puffs_node_poll
 .Fa "struct puffs_usermount *pu" "puffs_cookie_t opc" "int *events"
 .Fc
@@ -562,6 +572,30 @@
 will be set in
 .Fa xflag
 for Fire-And-Forget operations.
+.It Fn puffs_node_pathconf "pu" "opc" "name" "retval"
+The value of the
+.Xr pathconf 2
+filesystem limit specified in
+.Ar name
+for the node
+.Ar opc
+should be copied to the space pointed to by
+.Ar retval .
+.It Fn puffs_node_advlock "po" "opc" "id" "op" "fl" "flags"
+Manipulate advisory record locks on the node
+.Ar opc .
+The argument
+.Ar id
+is the id token which is changing the lock,
+.Ar op
+is the
+.Xr fcntl 2
+operation to perform,
+.Ar fl
+is the lock descriptor structure and
+.Ar flags
+are the flags as defined in
+.Xr VOP_ADVLOCK 9 .
 .It Fn puffs_node_poll "pu" "opc" "events"
 Poll for events on node
 .Ar opc .



Home | Main Index | Thread Index | Old Index