Deleted Added
full compact
nfs_var.h (200069) nfs_var.h (200999)
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/fs/nfs/nfs_var.h 200069 2009-12-03 18:03:42Z trasz $
32 * $FreeBSD: head/sys/fs/nfs/nfs_var.h 200999 2009-12-25 20:44:19Z rmacklem $
33 */
34
35/*
36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs
37 */
38
39struct uio;
40struct ucred;

--- 285 unchanged lines hidden (view full) ---

326int nfsrv_atroot(vnode_t, long *);
327void newnfs_timer(void *);
328
329/* nfs_commonacl.c */
330int nfsrv_dissectace(struct nfsrv_descript *, struct acl_entry *,
331 int *, int *, NFSPROC_T *);
332int nfsrv_buildacl(struct nfsrv_descript *, NFSACL_T *, enum vtype,
333 NFSPROC_T *);
33 */
34
35/*
36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs
37 */
38
39struct uio;
40struct ucred;

--- 285 unchanged lines hidden (view full) ---

326int nfsrv_atroot(vnode_t, long *);
327void newnfs_timer(void *);
328
329/* nfs_commonacl.c */
330int nfsrv_dissectace(struct nfsrv_descript *, struct acl_entry *,
331 int *, int *, NFSPROC_T *);
332int nfsrv_buildacl(struct nfsrv_descript *, NFSACL_T *, enum vtype,
333 NFSPROC_T *);
334int nfsrv_aclaccess(vnode_t, accmode_t, u_int32_t, struct ucred *,
335 NFSPROC_T *);
336int nfsrv_setacl(vnode_t, NFSACL_T *, struct ucred *,
337 NFSPROC_T *);
338int nfsrv_compareacl(NFSACL_T *, NFSACL_T *);
339
340/* nfs_clrpcops.c */
341int nfsrpc_null(vnode_t, struct ucred *, NFSPROC_T *);
342int nfsrpc_access(vnode_t, int, struct ucred *, NFSPROC_T *,
343 struct nfsvattr *, int *);

--- 165 unchanged lines hidden (view full) ---

509void ncl_invalcaches(vnode_t);
510
511/* nfs_nfsdport.c */
512int nfsvno_getattr(vnode_t, struct nfsvattr *, struct ucred *,
513 NFSPROC_T *);
514int nfsvno_setattr(vnode_t, struct nfsvattr *, struct ucred *,
515 NFSPROC_T *, struct nfsexstuff *);
516int nfsvno_getfh(vnode_t, fhandle_t *, NFSPROC_T *);
334int nfsrv_setacl(vnode_t, NFSACL_T *, struct ucred *,
335 NFSPROC_T *);
336int nfsrv_compareacl(NFSACL_T *, NFSACL_T *);
337
338/* nfs_clrpcops.c */
339int nfsrpc_null(vnode_t, struct ucred *, NFSPROC_T *);
340int nfsrpc_access(vnode_t, int, struct ucred *, NFSPROC_T *,
341 struct nfsvattr *, int *);

--- 165 unchanged lines hidden (view full) ---

507void ncl_invalcaches(vnode_t);
508
509/* nfs_nfsdport.c */
510int nfsvno_getattr(vnode_t, struct nfsvattr *, struct ucred *,
511 NFSPROC_T *);
512int nfsvno_setattr(vnode_t, struct nfsvattr *, struct ucred *,
513 NFSPROC_T *, struct nfsexstuff *);
514int nfsvno_getfh(vnode_t, fhandle_t *, NFSPROC_T *);
517int nfsvno_accchk(vnode_t, u_int32_t, struct ucred *,
518 struct nfsexstuff *, NFSPROC_T *, int, int);
515int nfsvno_accchk(vnode_t, accmode_t, struct ucred *,
516 struct nfsexstuff *, NFSPROC_T *, int, int, u_int32_t *);
519int nfsvno_namei(struct nfsrv_descript *, struct nameidata *,
520 vnode_t, int, struct nfsexstuff *, NFSPROC_T *, vnode_t *);
521void nfsvno_setpathbuf(struct nameidata *, char **, u_long **);
522void nfsvno_relpathbuf(struct nameidata *);
523int nfsvno_readlink(vnode_t, struct ucred *, NFSPROC_T *, mbuf_t *,
524 mbuf_t *, int *);
525int nfsvno_read(vnode_t, off_t, int, struct ucred *, NFSPROC_T *,
526 mbuf_t *, mbuf_t *);

--- 75 unchanged lines hidden ---
517int nfsvno_namei(struct nfsrv_descript *, struct nameidata *,
518 vnode_t, int, struct nfsexstuff *, NFSPROC_T *, vnode_t *);
519void nfsvno_setpathbuf(struct nameidata *, char **, u_long **);
520void nfsvno_relpathbuf(struct nameidata *);
521int nfsvno_readlink(vnode_t, struct ucred *, NFSPROC_T *, mbuf_t *,
522 mbuf_t *, int *);
523int nfsvno_read(vnode_t, off_t, int, struct ucred *, NFSPROC_T *,
524 mbuf_t *, mbuf_t *);

--- 75 unchanged lines hidden ---