Deleted Added
full compact
nfs_var.h (205941) nfs_var.h (207082)
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 205941 2010-03-30 23:11:50Z rmacklem $
32 * $FreeBSD: head/sys/fs/nfs/nfs_var.h 207082 2010-04-22 23:51:01Z rmacklem $
33 */
34
35/*
36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs
37 */
38
39struct uio;
40struct ucred;

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

364int nfsrpc_lookup(vnode_t, char *, int, struct ucred *, NFSPROC_T *,
365 struct nfsvattr *, struct nfsvattr *, struct nfsfh **, int *, int *,
366 void *);
367int nfsrpc_readlink(vnode_t, struct uio *, struct ucred *,
368 NFSPROC_T *, struct nfsvattr *, int *, void *);
369int nfsrpc_read(vnode_t, struct uio *, struct ucred *, NFSPROC_T *,
370 struct nfsvattr *, int *, void *);
371int nfsrpc_write(vnode_t, struct uio *, int *, u_char *,
33 */
34
35/*
36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs
37 */
38
39struct uio;
40struct ucred;

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

364int nfsrpc_lookup(vnode_t, char *, int, struct ucred *, NFSPROC_T *,
365 struct nfsvattr *, struct nfsvattr *, struct nfsfh **, int *, int *,
366 void *);
367int nfsrpc_readlink(vnode_t, struct uio *, struct ucred *,
368 NFSPROC_T *, struct nfsvattr *, int *, void *);
369int nfsrpc_read(vnode_t, struct uio *, struct ucred *, NFSPROC_T *,
370 struct nfsvattr *, int *, void *);
371int nfsrpc_write(vnode_t, struct uio *, int *, u_char *,
372 struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, void *);
372 struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, void *, int);
373int nfsrpc_mknod(vnode_t, char *, int, struct vattr *, u_int32_t,
374 enum vtype, struct ucred *, NFSPROC_T *, struct nfsvattr *,
375 struct nfsvattr *, struct nfsfh **, int *, int *, void *);
376int nfsrpc_create(vnode_t, char *, int, struct vattr *, nfsquad_t,
377 int, struct ucred *, NFSPROC_T *, struct nfsvattr *, struct nfsvattr *,
378 struct nfsfh **, int *, int *, void *);
379int nfsrpc_remove(vnode_t, char *, int, vnode_t, struct ucred *, NFSPROC_T *,
380 struct nfsvattr *, int *, void *);

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

497 struct nfsnode **);
498int nfscl_procdoesntexist(u_int8_t *);
499int nfscl_maperr(NFSPROC_T *, int, uid_t, gid_t);
500
501/* nfs_clsubs.c */
502void nfscl_init(void);
503
504/* nfs_clbio.c */
373int nfsrpc_mknod(vnode_t, char *, int, struct vattr *, u_int32_t,
374 enum vtype, struct ucred *, NFSPROC_T *, struct nfsvattr *,
375 struct nfsvattr *, struct nfsfh **, int *, int *, void *);
376int nfsrpc_create(vnode_t, char *, int, struct vattr *, nfsquad_t,
377 int, struct ucred *, NFSPROC_T *, struct nfsvattr *, struct nfsvattr *,
378 struct nfsfh **, int *, int *, void *);
379int nfsrpc_remove(vnode_t, char *, int, vnode_t, struct ucred *, NFSPROC_T *,
380 struct nfsvattr *, int *, void *);

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

497 struct nfsnode **);
498int nfscl_procdoesntexist(u_int8_t *);
499int nfscl_maperr(NFSPROC_T *, int, uid_t, gid_t);
500
501/* nfs_clsubs.c */
502void nfscl_init(void);
503
504/* nfs_clbio.c */
505int ncl_flush(vnode_t, int, struct ucred *, NFSPROC_T *, int);
505int ncl_flush(vnode_t, int, struct ucred *, NFSPROC_T *, int, int);
506
507/* nfs_clnode.c */
508void ncl_invalcaches(vnode_t);
509
510/* nfs_nfsdport.c */
511int nfsvno_getattr(vnode_t, struct nfsvattr *, struct ucred *,
512 NFSPROC_T *);
513int nfsvno_setattr(vnode_t, struct nfsvattr *, struct ucred *,

--- 87 unchanged lines hidden ---
506
507/* nfs_clnode.c */
508void ncl_invalcaches(vnode_t);
509
510/* nfs_nfsdport.c */
511int nfsvno_getattr(vnode_t, struct nfsvattr *, struct ucred *,
512 NFSPROC_T *);
513int nfsvno_setattr(vnode_t, struct nfsvattr *, struct ucred *,

--- 87 unchanged lines hidden ---