Module Name:    src
Committed By:   tnn
Date:           Mon Aug 29 01:13:56 UTC 2016

Modified Files:
        src/lib/libpuffs: puffs_ops.3

Log Message:
mention puffs_node_pathconf and puffs_node_advlock


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/lib/libpuffs/puffs_ops.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libpuffs/puffs_ops.3
diff -u src/lib/libpuffs/puffs_ops.3:1.44 src/lib/libpuffs/puffs_ops.3:1.45
--- src/lib/libpuffs/puffs_ops.3:1.44	Thu Nov 12 17:51:05 2015
+++ src/lib/libpuffs/puffs_ops.3	Mon Aug 29 01:13:56 2016
@@ -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 @@ with cached attribute time to live speci
 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 .

Reply via email to