Home
last modified time | relevance | path

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

/freebsd-12.1/sys/fs/fuse/
H A Dfuse_node.c156 uint64_t nodeid, enum vtype vtyp) in fuse_vnode_init() argument
164 vp->v_type = vtyp; in fuse_vnode_init()
195 enum vtype vtyp, in fuse_vnode_alloc() argument
204 if (vtyp == VNON) { in fuse_vnode_alloc()
214 if ((*vpp)->v_type != vtyp) { in fuse_vnode_alloc()
221 SDT_PROBE3(fusefs, , node, stale_vnode, *vpp, vtyp, in fuse_vnode_alloc()
234 switch (vtyp) { in fuse_vnode_alloc()
247 fuse_vnode_init(*vpp, fvdat, nodeid, vtyp); in fuse_vnode_alloc()
257 if (data->dataflags & FSESS_ASYNC_READ && vtyp != VFIFO) in fuse_vnode_alloc()
285 enum vtype vtyp) in fuse_vnode_get() argument
[all …]
H A Dfuse_internal.h283 fuse_internal_checkentry(struct fuse_entry_out *feo, enum vtype vtyp) in fuse_internal_checkentry() argument
285 if (vtyp != IFTOVT(feo->attr.mode)) { in fuse_internal_checkentry()
302 enum vtype vtyp);
309 struct componentname *cnp, enum vtype vtyp, struct fuse_dispatcher *fdip);
H A Dfuse_internal.c766 enum vtype vtyp, in fuse_internal_newentry_core() argument
778 if ((err = fuse_internal_checkentry(feo, vtyp))) { in fuse_internal_newentry_core()
781 err = fuse_vnode_get(mp, feo, feo->nodeid, dvp, vpp, cnp, vtyp); in fuse_internal_newentry_core()
871 enum vtype vtyp; in fuse_internal_do_getattr() local
890 vtyp = IFTOVT(fao->attr.mode); in fuse_internal_do_getattr()
903 if (vtyp != vnode_vtype(vp)) { in fuse_internal_do_getattr()
1085 enum vtype vtyp; in fuse_internal_setattr() local
1160 vtyp = IFTOVT(((struct fuse_attr_out *)fdi.answ)->attr.mode); in fuse_internal_setattr()
1162 if (vnode_vtype(vp) != vtyp) { in fuse_internal_setattr()
1163 if (vnode_vtype(vp) == VNON && vtyp != VNON) { in fuse_internal_setattr()
H A Dfuse_vfsops.c536 enum vtype vtyp; in fuse_vfsop_vget() local
568 vtyp = IFTOVT(feo->attr.mode); in fuse_vfsop_vget()
569 error = fuse_vnode_get(mp, feo, nodeid, NULL, vpp, NULL, vtyp); in fuse_vfsop_vget()
H A Dfuse_vnops.c948 enum vtype vtyp; member
958 flaa->vtyp); in fuse_lookup_alloc()
993 enum vtype vtyp; /* vnode type of target */ in fuse_vnop_lookup() local
1018 vtyp = VDIR; in fuse_vnop_lookup()
1023 vtyp = VDIR; in fuse_vnop_lookup()
1093 vtyp = IFTOVT(feo->attr.mode); in fuse_vnop_lookup()
1128 flaa.vtyp = vtyp; in fuse_vnop_lookup()
1139 &vp, cnp, vtyp); in fuse_vnop_lookup()
H A Dfuse_node.h187 struct componentname *cnp, enum vtype vtyp);
/freebsd-12.1/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c1078 enum vtype vtyp; in nfsrvd_create() local
1096 if (vtyp == VNON) in nfsrvd_create()
1097 vtyp = VREG; in nfsrvd_create()
1242 enum vtype vtyp = VNON; in nfsrvd_mknod() local
1310 nva.na_type = vtyp; in nfsrvd_mknod()
1312 (vtyp == VCHR || vtyp == VBLK)) { in nfsrvd_mknod()
1346 if (vtyp == VLNK) in nfsrvd_mknod()
1352 if (vtyp == VDIR) in nfsrvd_mknod()
1373 if ((nd->nd_flag & ND_NFSV4) && (vtyp == VDIR || vtyp == VLNK)) { in nfsrvd_mknod()
1374 if (vtyp == VDIR) { in nfsrvd_mknod()
[all …]
H A Dnfs_nfsdport.c1065 enum vtype vtyp; in nfsvno_mknod() local
1067 vtyp = nvap->na_type; in nfsvno_mknod()
1079 if (vtyp != VCHR && vtyp != VBLK && vtyp != VSOCK && vtyp != VFIFO) { in nfsvno_mknod()
1086 if (vtyp == VSOCK) { in nfsvno_mknod()
/freebsd-12.1/sys/fs/nfsclient/
H A Dnfs_clrpcops.c1886 u_int32_t rdev, enum vtype vtyp, struct ucred *cred, NFSPROC_T *p, in nfsrpc_mknod() argument
1902 if (vtyp == VBLK || vtyp == VCHR) { in nfsrpc_mknod()
1904 *tl++ = vtonfsv34_type(vtyp); in nfsrpc_mknod()
1909 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
1915 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
1920 (vtyp == VCHR || vtyp == VBLK)) { in nfsrpc_mknod()