mention puffs_node_pathconf and puffs_node_advlock

This commit is contained in:
tnn 2016-08-29 01:13:56 +00:00
parent db4bd2c1ca
commit 523a6b00a9
1 changed files with 36 additions and 2 deletions

View File

@ -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 specified in
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 .