Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfs/nfsport.h
Show First 20 Lines • Show All 872 Lines • ▼ Show 20 Lines | |||||
#define NFS_LATTR_NOSHRINK 1 | #define NFS_LATTR_NOSHRINK 1 | ||||
/* | /* | ||||
* Prototypes for functions where the arguments vary for different ports. | * Prototypes for functions where the arguments vary for different ports. | ||||
*/ | */ | ||||
int nfscl_loadattrcache(struct vnode **, struct nfsvattr *, void *, void *, | int nfscl_loadattrcache(struct vnode **, struct nfsvattr *, void *, void *, | ||||
int, int); | int, int); | ||||
int newnfs_realign(struct mbuf **, int); | int newnfs_realign(struct mbuf **, int); | ||||
bool ncl_pager_setsize(struct vnode *vp, u_quad_t *nsizep); | |||||
/* | /* | ||||
* If the port runs on an SMP box that can enforce Atomic ops with low | * If the port runs on an SMP box that can enforce Atomic ops with low | ||||
* overheads, define these as atomic increments/decrements. If not, | * overheads, define these as atomic increments/decrements. If not, | ||||
* don't worry about it, since these are used for stats that can be | * don't worry about it, since these are used for stats that can be | ||||
* "out by one" without disastrous consequences. | * "out by one" without disastrous consequences. | ||||
*/ | */ | ||||
#define NFSINCRGLOBAL(a) ((a)++) | #define NFSINCRGLOBAL(a) ((a)++) | ||||
▲ Show 20 Lines • Show All 194 Lines • Show Last 20 Lines |