Deleted Added
full compact
nfs_subs.c (36503) nfs_subs.c (36511)
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

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs_subs.c 8.8 (Berkeley) 5/22/95
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

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs_subs.c 8.8 (Berkeley) 5/22/95
37 * $Id: nfs_subs.c,v 1.55 1998/05/24 14:41:53 peter Exp $
37 * $Id: nfs_subs.c,v 1.56 1998/05/31 17:27:50 peter Exp $
38 */
39
40/*
41 * These functions support the macros and help fiddle mbuf chains for
42 * the nfs op functions. They do things like create the rpc header and
43 * copy data between mbuf chains and uio lists.
44 */
45#include <sys/param.h>

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

1026
1027/*
1028 * Copy a string into mbufs for the hard cases...
1029 */
1030int
1031nfsm_strtmbuf(mb, bpos, cp, siz)
1032 struct mbuf **mb;
1033 char **bpos;
38 */
39
40/*
41 * These functions support the macros and help fiddle mbuf chains for
42 * the nfs op functions. They do things like create the rpc header and
43 * copy data between mbuf chains and uio lists.
44 */
45#include <sys/param.h>

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

1026
1027/*
1028 * Copy a string into mbufs for the hard cases...
1029 */
1030int
1031nfsm_strtmbuf(mb, bpos, cp, siz)
1032 struct mbuf **mb;
1033 char **bpos;
1034 char *cp;
1034 const char *cp;
1035 long siz;
1036{
1037 register struct mbuf *m1 = 0, *m2;
1038 long left, xfer, len, tlen;
1039 u_long *tl;
1040 int putsize;
1041
1042 putsize = 1;

--- 1131 unchanged lines hidden ---
1035 long siz;
1036{
1037 register struct mbuf *m1 = 0, *m2;
1038 long left, xfer, len, tlen;
1039 u_long *tl;
1040 int putsize;
1041
1042 putsize = 1;

--- 1131 unchanged lines hidden ---