Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfsclient/nfs_clcomsubs.c
Show All 39 Lines | |||||
* These functions support the macros and help fiddle mbuf chains for | * These functions support the macros and help fiddle mbuf chains for | ||||
* the nfs op functions. They do things like create the rpc header and | * the nfs op functions. They do things like create the rpc header and | ||||
* copy data between mbuf chains and uio lists. | * copy data between mbuf chains and uio lists. | ||||
*/ | */ | ||||
#include <fs/nfs/nfsport.h> | #include <fs/nfs/nfsport.h> | ||||
extern struct nfsstatsv1 nfsstatsv1; | extern struct nfsstatsv1 nfsstatsv1; | ||||
extern int ncl_mbuf_mlen; | extern int ncl_mbuf_mlen; | ||||
extern enum vtype newnv2tov_type[8]; | extern __enum_uint8(vtype) newnv2tov_type[8]; | ||||
extern enum vtype nv34tov_type[8]; | extern __enum_uint8(vtype) nv34tov_type[8]; | ||||
NFSCLSTATEMUTEX; | NFSCLSTATEMUTEX; | ||||
/* | /* | ||||
* copies a uio scatter/gather list to an mbuf chain. | * copies a uio scatter/gather list to an mbuf chain. | ||||
* NOTE: can only handle iovcnt == 1 | * NOTE: can only handle iovcnt == 1 | ||||
*/ | */ | ||||
void | void | ||||
nfsm_uiombuf(struct nfsrv_descript *nd, struct uio *uiop, int siz) | nfsm_uiombuf(struct nfsrv_descript *nd, struct uio *uiop, int siz) | ||||
▲ Show 20 Lines • Show All 382 Lines • Show Last 20 Lines |