Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfs/nfs_var.h
Show First 20 Lines • Show All 434 Lines • ▼ Show 20 Lines | |||||
struct nfsreferral *nfsv4root_getreferral(vnode_t, vnode_t, u_int32_t); | struct nfsreferral *nfsv4root_getreferral(vnode_t, vnode_t, u_int32_t); | ||||
int nfsvno_pathconf(vnode_t, int, long *, struct ucred *, NFSPROC_T *); | int nfsvno_pathconf(vnode_t, int, long *, struct ucred *, NFSPROC_T *); | ||||
int nfsrv_atroot(vnode_t, uint64_t *); | int nfsrv_atroot(vnode_t, uint64_t *); | ||||
int nfs_supportsnfsv4acls(vnode_t); | int nfs_supportsnfsv4acls(vnode_t); | ||||
/* nfs_commonacl.c */ | /* nfs_commonacl.c */ | ||||
int nfsrv_dissectace(struct nfsrv_descript *, struct acl_entry *, | int nfsrv_dissectace(struct nfsrv_descript *, struct acl_entry *, | ||||
bool, int *, int *, NFSPROC_T *); | bool, int *, int *, NFSPROC_T *); | ||||
int nfsrv_buildacl(struct nfsrv_descript *, NFSACL_T *, enum vtype, | int nfsrv_buildacl(struct nfsrv_descript *, NFSACL_T *, __enum_uint8(vtype), | ||||
NFSPROC_T *); | NFSPROC_T *); | ||||
int nfsrv_compareacl(NFSACL_T *, NFSACL_T *); | int nfsrv_compareacl(NFSACL_T *, NFSACL_T *); | ||||
/* nfs_clrpcops.c */ | /* nfs_clrpcops.c */ | ||||
int nfsrpc_null(vnode_t, struct ucred *, NFSPROC_T *); | int nfsrpc_null(vnode_t, struct ucred *, NFSPROC_T *); | ||||
int nfsrpc_access(vnode_t, int, struct ucred *, NFSPROC_T *, | int nfsrpc_access(vnode_t, int, struct ucred *, NFSPROC_T *, | ||||
struct nfsvattr *, int *); | struct nfsvattr *, int *); | ||||
int nfsrpc_accessrpc(vnode_t, u_int32_t, struct ucred *, | int nfsrpc_accessrpc(vnode_t, u_int32_t, struct ucred *, | ||||
Show All 21 Lines | int nfsrpc_lookup(vnode_t, char *, int, struct ucred *, NFSPROC_T *, | ||||
uint32_t); | uint32_t); | ||||
int nfsrpc_readlink(vnode_t, struct uio *, struct ucred *, | int nfsrpc_readlink(vnode_t, struct uio *, struct ucred *, | ||||
NFSPROC_T *, struct nfsvattr *, int *); | NFSPROC_T *, struct nfsvattr *, int *); | ||||
int nfsrpc_read(vnode_t, struct uio *, struct ucred *, NFSPROC_T *, | int nfsrpc_read(vnode_t, struct uio *, struct ucred *, NFSPROC_T *, | ||||
struct nfsvattr *, int *); | struct nfsvattr *, int *); | ||||
int nfsrpc_write(vnode_t, struct uio *, int *, int *, | int nfsrpc_write(vnode_t, struct uio *, int *, int *, | ||||
struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, int, int); | struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, int, int); | ||||
int nfsrpc_mknod(vnode_t, char *, int, struct vattr *, u_int32_t, | int nfsrpc_mknod(vnode_t, char *, int, struct vattr *, u_int32_t, | ||||
enum vtype, struct ucred *, NFSPROC_T *, struct nfsvattr *, | __enum_uint8(vtype), struct ucred *, NFSPROC_T *, struct nfsvattr *, | ||||
struct nfsvattr *, struct nfsfh **, int *, int *); | struct nfsvattr *, struct nfsfh **, int *, int *); | ||||
int nfsrpc_create(vnode_t, char *, int, struct vattr *, nfsquad_t, | int nfsrpc_create(vnode_t, char *, int, struct vattr *, nfsquad_t, | ||||
int, struct ucred *, NFSPROC_T *, struct nfsvattr *, struct nfsvattr *, | int, struct ucred *, NFSPROC_T *, struct nfsvattr *, struct nfsvattr *, | ||||
struct nfsfh **, int *, int *); | struct nfsfh **, int *, int *); | ||||
int nfsrpc_remove(vnode_t, char *, int, vnode_t, struct ucred *, NFSPROC_T *, | int nfsrpc_remove(vnode_t, char *, int, vnode_t, struct ucred *, NFSPROC_T *, | ||||
struct nfsvattr *, int *); | struct nfsvattr *, int *); | ||||
int nfsrpc_rename(vnode_t, vnode_t, char *, int, vnode_t, vnode_t, char *, int, | int nfsrpc_rename(vnode_t, vnode_t, char *, int, vnode_t, vnode_t, char *, int, | ||||
struct ucred *, NFSPROC_T *, struct nfsvattr *, struct nfsvattr *, | struct ucred *, NFSPROC_T *, struct nfsvattr *, struct nfsvattr *, | ||||
▲ Show 20 Lines • Show All 275 Lines • ▼ Show 20 Lines | |||||
int nfsvno_setxattr(struct vnode *, char *, int, struct mbuf *, char *, | int nfsvno_setxattr(struct vnode *, char *, int, struct mbuf *, char *, | ||||
struct ucred *, struct thread *); | struct ucred *, struct thread *); | ||||
int nfsvno_rmxattr(struct nfsrv_descript *, struct vnode *, char *, | int nfsvno_rmxattr(struct nfsrv_descript *, struct vnode *, char *, | ||||
struct ucred *, struct thread *); | struct ucred *, struct thread *); | ||||
int nfsvno_listxattr(struct vnode *, uint64_t, struct ucred *, struct thread *, | int nfsvno_listxattr(struct vnode *, uint64_t, struct ucred *, struct thread *, | ||||
u_char **, uint32_t *, bool *); | u_char **, uint32_t *, bool *); | ||||
void nfsm_trimtrailing(struct nfsrv_descript *, struct mbuf *, char *, int, | void nfsm_trimtrailing(struct nfsrv_descript *, struct mbuf *, char *, int, | ||||
int); | int); | ||||
bool nfsrv_checkwrongsec(struct nfsrv_descript *, int, enum vtype); | bool nfsrv_checkwrongsec(struct nfsrv_descript *, int, __enum_uint8(vtype)); | ||||
void nfsrv_checknospc(void); | void nfsrv_checknospc(void); | ||||
/* nfs_commonkrpc.c */ | /* nfs_commonkrpc.c */ | ||||
int newnfs_nmcancelreqs(struct nfsmount *); | int newnfs_nmcancelreqs(struct nfsmount *); | ||||
void newnfs_set_sigmask(struct thread *, sigset_t *); | void newnfs_set_sigmask(struct thread *, sigset_t *); | ||||
void newnfs_restore_sigmask(struct thread *, sigset_t *); | void newnfs_restore_sigmask(struct thread *, sigset_t *); | ||||
int newnfs_msleep(struct thread *, void *, struct mtx *, int, char *, int); | int newnfs_msleep(struct thread *, void *, struct mtx *, int, char *, int); | ||||
int newnfs_request(struct nfsrv_descript *, struct nfsmount *, | int newnfs_request(struct nfsrv_descript *, struct nfsmount *, | ||||
Show All 16 Lines |