Home
last modified time | relevance | path

Searched refs:vtyp (Results 1 – 5 of 5) sorted by relevance

/netbsd/src/sys/nfs/
Dnfs_clntsubs.c155 enum vtype vtyp; in nfs_loadattrcache() local
166 vtyp = nfsv3tov_type(fp->fa_type); in nfs_loadattrcache()
173 vtyp = nfsv2tov_type(fp->fa_type); in nfs_loadattrcache()
175 if (vtyp == VNON || vtyp == VREG) in nfs_loadattrcache()
176 vtyp = IFTOVT(vmode); in nfs_loadattrcache()
186 if (vtyp == VCHR && rdev == 0xffffffff) in nfs_loadattrcache()
187 vtyp = VFIFO; in nfs_loadattrcache()
201 vp->v_type = vtyp; in nfs_loadattrcache()
225 vap->va_type = vtyp; in nfs_loadattrcache()
233 switch (vtyp) { in nfs_loadattrcache()
Dnfs_serv.c1677 enum vtype vtyp; in nfsrv_mknod() local
1706 vtyp = nfsv3tov_type(*tl); in nfsrv_mknod()
1707 if (vtyp != VCHR && vtyp != VBLK && vtyp != VSOCK && vtyp != VFIFO) { in nfsrv_mknod()
1714 if (vtyp == VCHR || vtyp == VBLK) { in nfsrv_mknod()
1743 va.va_type = vtyp; in nfsrv_mknod()
1744 if (vtyp == VSOCK) { in nfsrv_mknod()
/netbsd/src/sys/fs/nfs/server/
Dnfs_nfsdserv.c991 enum vtype vtyp; in nfsrvd_create() local
1008 vtyp = IFTOVT(fxdr_unsigned(u_int32_t, sp->sa_mode)); in nfsrvd_create()
1009 if (vtyp == VNON) in nfsrvd_create()
1010 vtyp = VREG; in nfsrvd_create()
1011 NFSVNO_SETATTRVAL(&nva, type, vtyp); in nfsrvd_create()
1155 enum vtype vtyp = VNON; in nfsrvd_mknod() local
1179 vtyp = nfsv34tov_type(*tl); in nfsrvd_mknod()
1218 vtyp = nfsv34tov_type(*tl); in nfsrvd_mknod()
1223 nva.na_type = vtyp; in nfsrvd_mknod()
1225 (vtyp == VCHR || vtyp == VBLK)) { in nfsrvd_mknod()
[all …]
Dnfs_nfsdport.c891 enum vtype vtyp; in nfsvno_mknod() local
893 vtyp = nvap->na_type; in nfsvno_mknod()
905 if (vtyp != VCHR && vtyp != VBLK && vtyp != VSOCK && vtyp != VFIFO) { in nfsvno_mknod()
912 if (vtyp == VSOCK) { in nfsvno_mknod()
/netbsd/src/sys/fs/nfs/client/
Dnfs_clrpcops.c1760 u_int32_t rdev, enum vtype vtyp, struct ucred *cred, NFSPROC_T *p, in nfsrpc_mknod() argument
1776 if (vtyp == VBLK || vtyp == VCHR) { in nfsrpc_mknod()
1778 *tl++ = vtonfsv34_type(vtyp); in nfsrpc_mknod()
1783 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
1789 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
1794 (vtyp == VCHR || vtyp == VBLK)) { in nfsrpc_mknod()