Deleted Added
full compact
nfs.h (203119) nfs.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/nfsclient/nfs.h 203119 2010-01-28 16:17:24Z rmacklem $
32 * $FreeBSD: head/sys/fs/nfsclient/nfs.h 207082 2010-04-22 23:51:01Z rmacklem $
33 */
34
35#ifndef _NFSCLIENT_NFS_H_
36#define _NFSCLIENT_NFS_H_
37
38#if defined(_KERNEL)
39
40#ifndef NFS_TPRINTF_INITIAL_DELAY

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

74int ncl_meta_setsize(struct vnode *, struct ucred *, struct thread *,
75 u_quad_t);
76void ncl_doio_directwrite(struct buf *);
77int ncl_bioread(struct vnode *, struct uio *, int, struct ucred *);
78int ncl_biowrite(struct vnode *, struct uio *, int, struct ucred *);
79int ncl_vinvalbuf(struct vnode *, int, struct thread *, int);
80int ncl_asyncio(struct nfsmount *, struct buf *, struct ucred *,
81 struct thread *);
33 */
34
35#ifndef _NFSCLIENT_NFS_H_
36#define _NFSCLIENT_NFS_H_
37
38#if defined(_KERNEL)
39
40#ifndef NFS_TPRINTF_INITIAL_DELAY

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

74int ncl_meta_setsize(struct vnode *, struct ucred *, struct thread *,
75 u_quad_t);
76void ncl_doio_directwrite(struct buf *);
77int ncl_bioread(struct vnode *, struct uio *, int, struct ucred *);
78int ncl_biowrite(struct vnode *, struct uio *, int, struct ucred *);
79int ncl_vinvalbuf(struct vnode *, int, struct thread *, int);
80int ncl_asyncio(struct nfsmount *, struct buf *, struct ucred *,
81 struct thread *);
82int ncl_doio(struct vnode *, struct buf *, struct ucred *, struct thread *);
82int ncl_doio(struct vnode *, struct buf *, struct ucred *, struct thread *,
83 int);
83void ncl_nhinit(void);
84void ncl_nhuninit(void);
85void ncl_nodelock(struct nfsnode *);
86void ncl_nodeunlock(struct nfsnode *);
87int ncl_getattrcache(struct vnode *, struct vattr *);
88int ncl_readrpc(struct vnode *, struct uio *, struct ucred *);
84void ncl_nhinit(void);
85void ncl_nhuninit(void);
86void ncl_nodelock(struct nfsnode *);
87void ncl_nodeunlock(struct nfsnode *);
88int ncl_getattrcache(struct vnode *, struct vattr *);
89int ncl_readrpc(struct vnode *, struct uio *, struct ucred *);
89int ncl_writerpc(struct vnode *, struct uio *, struct ucred *, int *, int *);
90int ncl_writerpc(struct vnode *, struct uio *, struct ucred *, int *, int *,
91 int);
90int ncl_readlinkrpc(struct vnode *, struct uio *, struct ucred *);
91int ncl_readdirrpc(struct vnode *, struct uio *, struct ucred *,
92 struct thread *);
93int ncl_readdirplusrpc(struct vnode *, struct uio *, struct ucred *,
94 struct thread *);
95int ncl_writebp(struct buf *, int, struct thread *);
96int ncl_commit(struct vnode *, u_quad_t, int, struct ucred *, struct thread *);
97void ncl_clearcommit(struct mount *);
98int ncl_fsinfo(struct nfsmount *, struct vnode *, struct ucred *,
99 struct thread *);
100int ncl_init(struct vfsconf *);
101int ncl_uninit(struct vfsconf *);
102int ncl_mountroot(struct mount *);
103int ncl_nfsiodnew(int);
104
105#endif /* _KERNEL */
106
107#endif /* _NFSCLIENT_NFS_H_ */
92int ncl_readlinkrpc(struct vnode *, struct uio *, struct ucred *);
93int ncl_readdirrpc(struct vnode *, struct uio *, struct ucred *,
94 struct thread *);
95int ncl_readdirplusrpc(struct vnode *, struct uio *, struct ucred *,
96 struct thread *);
97int ncl_writebp(struct buf *, int, struct thread *);
98int ncl_commit(struct vnode *, u_quad_t, int, struct ucred *, struct thread *);
99void ncl_clearcommit(struct mount *);
100int ncl_fsinfo(struct nfsmount *, struct vnode *, struct ucred *,
101 struct thread *);
102int ncl_init(struct vfsconf *);
103int ncl_uninit(struct vfsconf *);
104int ncl_mountroot(struct mount *);
105int ncl_nfsiodnew(int);
106
107#endif /* _KERNEL */
108
109#endif /* _NFSCLIENT_NFS_H_ */