Changeset View
Changeset View
Standalone View
Standalone View
head/sys/fs/nfsclient/nfs_clvnops.c
Show First 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | static int nfs_renamerpc(struct vnode *fdvp, struct vnode *fvp, | ||||
char *fnameptr, int fnamelen, struct vnode *tdvp, struct vnode *tvp, | char *fnameptr, int fnamelen, struct vnode *tdvp, struct vnode *tvp, | ||||
char *tnameptr, int tnamelen, struct ucred *cred, struct thread *td); | char *tnameptr, int tnamelen, struct ucred *cred, struct thread *td); | ||||
static int nfs_renameit(struct vnode *sdvp, struct vnode *svp, | static int nfs_renameit(struct vnode *sdvp, struct vnode *svp, | ||||
struct componentname *scnp, struct sillyrename *sp); | struct componentname *scnp, struct sillyrename *sp); | ||||
/* | /* | ||||
* Global variables | * Global variables | ||||
*/ | */ | ||||
#define DIRHDSIZ (sizeof (struct dirent) - (MAXNAMLEN + 1)) | |||||
SYSCTL_DECL(_vfs_nfs); | SYSCTL_DECL(_vfs_nfs); | ||||
static int nfsaccess_cache_timeout = NFS_MAXATTRTIMO; | static int nfsaccess_cache_timeout = NFS_MAXATTRTIMO; | ||||
SYSCTL_INT(_vfs_nfs, OID_AUTO, access_cache_timeout, CTLFLAG_RW, | SYSCTL_INT(_vfs_nfs, OID_AUTO, access_cache_timeout, CTLFLAG_RW, | ||||
&nfsaccess_cache_timeout, 0, "NFS ACCESS cache timeout"); | &nfsaccess_cache_timeout, 0, "NFS ACCESS cache timeout"); | ||||
static int nfs_prime_access_cache = 0; | static int nfs_prime_access_cache = 0; | ||||
SYSCTL_INT(_vfs_nfs, OID_AUTO, prime_access_cache, CTLFLAG_RW, | SYSCTL_INT(_vfs_nfs, OID_AUTO, prime_access_cache, CTLFLAG_RW, | ||||
▲ Show 20 Lines • Show All 3,322 Lines • Show Last 20 Lines |