Home
last modified time | relevance | path

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

/src/sys/fs/fuse/
H A Dfuse_node.c155 uint64_t nodeid, __enum_uint8(vtype) vtyp) in fuse_vnode_init()
172 vp->v_type = vtyp; in fuse_vnode_init()
206 __enum_uint8(vtype) vtyp, in fuse_vnode_alloc()
215 if (vtyp == VNON) { in fuse_vnode_alloc()
225 if ((*vpp)->v_type == vtyp) { in fuse_vnode_alloc()
240 SDT_PROBE3(fusefs, , node, stale_vnode, *vpp, vtyp, in fuse_vnode_alloc()
248 switch (vtyp) { in fuse_vnode_alloc()
261 fuse_vnode_init(*vpp, fvdat, nodeid, vtyp); in fuse_vnode_alloc()
271 if (data->dataflags & FSESS_ASYNC_READ && vtyp != VFIFO) in fuse_vnode_alloc()
300 __enum_uint8(vtype) vtyp) in fuse_vnode_get()
[all …]
H A Dfuse_internal.h285 fuse_internal_checkentry(struct fuse_entry_out *feo, __enum_uint8(vtype) vtyp) in fuse_internal_checkentry() argument
287 if (vtyp != IFTOVT(feo->attr.mode)) { in fuse_internal_checkentry()
304 __enum_uint8(vtype) vtyp);
311 struct componentname *cnp, __enum_uint8(vtype) vtyp, struct fuse_dispatcher *fdip);
H A Dfuse_internal.c796 __enum_uint8(vtype) vtyp, in fuse_internal_newentry_core()
808 if ((err = fuse_internal_checkentry(feo, vtyp))) { in fuse_internal_newentry_core()
811 err = fuse_vnode_get(mp, feo, feo->nodeid, dvp, vpp, cnp, vtyp); in fuse_internal_newentry_core()
898 __enum_uint8(vtype) vtyp; in fuse_internal_do_getattr()
917 vtyp = IFTOVT(fao->attr.mode); in fuse_internal_do_getattr()
939 if (vtyp != vnode_vtype(vp)) { in fuse_internal_do_getattr()
1147 __enum_uint8(vtype) vtyp; in fuse_internal_setattr()
1223 vtyp = IFTOVT(((struct fuse_attr_out *)fdi.answ)->attr.mode); in fuse_internal_setattr()
1225 if (vnode_vtype(vp) != vtyp) { in fuse_internal_setattr()
1226 if (vnode_vtype(vp) == VNON && vtyp != VNON) { in fuse_internal_setattr()
H A Dfuse_vfsops.c553 __enum_uint8(vtype) vtyp; in fuse_vfsop_vget()
600 vtyp = IFTOVT(feo->attr.mode); in fuse_vfsop_vget()
601 error = fuse_vnode_get(mp, feo, nodeid, NULL, vpp, NULL, vtyp); in fuse_vfsop_vget()
H A Dfuse_node.h270 struct componentname *cnp, __enum_uint8(vtype) vtyp);
H A Dfuse_vnops.c1501 __enum_uint8(vtype) vtyp;
1511 flaa->vtyp); in fuse_lookup_alloc()
1549 __enum_uint8(vtype) vtyp; /* vnode type of target */ in fuse_vnop_lookup()
1584 vtyp = VDIR; in fuse_vnop_lookup()
1588 vtyp = VDIR; in fuse_vnop_lookup()
1661 vtyp = IFTOVT(feo->attr.mode); in fuse_vnop_lookup()
1692 flaa.vtyp = vtyp; in fuse_vnop_lookup()
1712 &vp, cnp, vtyp); in fuse_vnop_lookup()
/src/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c1271 __enum_uint8(vtype) vtyp; in nfsrvd_create()
1289 vtyp = IFTOVT(fxdr_unsigned(u_int32_t, sp->sa_mode)); in nfsrvd_create()
1290 if (vtyp == VNON) in nfsrvd_create()
1291 vtyp = VREG; in nfsrvd_create()
1292 NFSVNO_SETATTRVAL(&nva, type, vtyp); in nfsrvd_create()
1436 __enum_uint8(vtype) vtyp = VNON; in nfsrvd_mknod()
1463 vtyp = nfsv34tov_type(*tl); in nfsrvd_mknod()
1515 vtyp = nfsv34tov_type(*tl); in nfsrvd_mknod()
1520 nva.na_type = vtyp; in nfsrvd_mknod()
1522 (vtyp == VCHR || vtyp == VBLK)) { in nfsrvd_mknod()
[all …]
H A Dnfs_nfsdport.c1327 __enum_uint8(vtype) vtyp; in nfsvno_mknod()
1329 vtyp = nvap->na_type; in nfsvno_mknod()
1340 if (vtyp != VCHR && vtyp != VBLK && vtyp != VSOCK && vtyp != VFIFO) { in nfsvno_mknod()
1346 if (vtyp == VSOCK) { in nfsvno_mknod()
7397 nfsrv_checkwrongsec(struct nfsrv_descript *nd, int nextop, __enum_uint8(vtype) vtyp) in nfsrv_checkwrongsec() argument
7411 if (nextop == NFSV4OP_OPEN && vtyp == VDIR) in nfsrv_checkwrongsec()
/src/sys/fs/nfs/
H A Dnfs_commonsubs.c5596 __enum_uint8(vtype) vtyp; in nfsv4tov_type()
5600 vtyp = VDIR; in nfsv4tov_type()
5603 vtyp = VREG; in nfsv4tov_type()
5606 vtyp = nv34tov_type[ntyp]; in nfsv4tov_type()
5608 return (vtyp); in nfsv4tov_type()
/src/sys/fs/nfsclient/
H A Dnfs_clrpcops.c2399 u_int32_t rdev, __enum_uint8(vtype) vtyp, struct ucred *cred, NFSPROC_T *p, in nfsrpc_mknod()
2415 if (vtyp == VBLK || vtyp == VCHR) { in nfsrpc_mknod()
2417 *tl++ = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2422 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2428 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2433 (vtyp == VCHR || vtyp == VBLK)) { in nfsrpc_mknod()