nfsport.h (7763814fc9c27a98fefcbf582d7a936ea43af23a) | nfsport.h (8bde6d15d1fa9a947c2bdc5eddae36cfbb1076dc) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1989, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Rick Macklem at The University of Guelph. --- 987 unchanged lines hidden (view full) --- 996 997/* 998 * Prototypes for functions where the arguments vary for different ports. 999 */ 1000int nfscl_loadattrcache(struct vnode **, struct nfsvattr *, void *, void *, 1001 int, int); 1002int newnfs_realign(struct mbuf **, int); 1003bool ncl_pager_setsize(struct vnode *vp, u_quad_t *nsizep); | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1989, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Rick Macklem at The University of Guelph. --- 987 unchanged lines hidden (view full) --- 996 997/* 998 * Prototypes for functions where the arguments vary for different ports. 999 */ 1000int nfscl_loadattrcache(struct vnode **, struct nfsvattr *, void *, void *, 1001 int, int); 1002int newnfs_realign(struct mbuf **, int); 1003bool ncl_pager_setsize(struct vnode *vp, u_quad_t *nsizep); |
1004void ncl_copy_vattr(struct vattr *dst, struct vattr *src); |
|
1004 1005/* 1006 * If the port runs on an SMP box that can enforce Atomic ops with low 1007 * overheads, define these as atomic increments/decrements. If not, 1008 * don't worry about it, since these are used for stats that can be 1009 * "out by one" without disastrous consequences. 1010 */ 1011#define NFSINCRGLOBAL(a) ((a)++) --- 196 unchanged lines hidden --- | 1005 1006/* 1007 * If the port runs on an SMP box that can enforce Atomic ops with low 1008 * overheads, define these as atomic increments/decrements. If not, 1009 * don't worry about it, since these are used for stats that can be 1010 * "out by one" without disastrous consequences. 1011 */ 1012#define NFSINCRGLOBAL(a) ((a)++) --- 196 unchanged lines hidden --- |