Home
last modified time | relevance | path

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

/freebsd/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.h268 struct componentname *cnp, __enum_uint8(vtype) vtyp);
H A Dfuse_vnops.c1502 __enum_uint8(vtype) vtyp; in fuse_vnop_link()
1512 flaa->vtyp);
1550 __enum_uint8(vtype) vtyp; /* vnode type of target */ in fuse_vnop_lookup()
1585 vtyp = VDIR; in fuse_vnop_lookup()
1589 vtyp = VDIR; in fuse_vnop_lookup()
1662 vtyp = IFTOVT(feo->attr.mode); in fuse_vnop_lookup()
1693 flaa.vtyp = vtyp; in fuse_vnop_lookup()
1713 &vp, cnp, vtyp); in fuse_vnop_lookup()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c1317 __enum_uint8(vtype) vtyp; in nfsrvd_create()
1335 vtyp = IFTOVT(fxdr_unsigned(u_int32_t, sp->sa_mode)); in nfsrvd_create()
1336 if (vtyp == VNON) in nfsrvd_create()
1337 vtyp = VREG; in nfsrvd_create()
1338 NFSVNO_SETATTRVAL(&nva, type, vtyp); in nfsrvd_create()
1482 __enum_uint8(vtype) vtyp = VNON; in nfsrvd_mknod()
1509 vtyp = nfsv34tov_type(*tl); in nfsrvd_mknod()
1561 vtyp = nfsv34tov_type(*tl); in nfsrvd_mknod()
1566 nva.na_type = vtyp; in nfsrvd_mknod()
1568 (vtyp == VCHR || vtyp == VBLK)) { in nfsrvd_mknod()
[all …]
H A Dnfs_nfsdport.c1445 __enum_uint8(vtype) vtyp; in nfsvno_mknod()
1447 vtyp = nvap->na_type; in nfsvno_mknod()
1458 if (vtyp != VCHR && vtyp != VBLK && vtyp != VSOCK && vtyp != VFIFO) { in nfsvno_mknod()
1464 if (vtyp == VSOCK) { in nfsvno_mknod()
8525 nfsrv_checkwrongsec(struct nfsrv_descript *nd, int nextop, __enum_uint8(vtype) vtyp) in nfsrv_checkwrongsec() argument
8539 if (nextop == NFSV4OP_OPEN && vtyp == VDIR) in nfsrv_checkwrongsec()
/freebsd/sys/fs/nfs/
H A Dnfs_commonsubs.c5654 __enum_uint8(vtype) vtyp; in nfsv4tov_type()
5658 vtyp = VDIR; in nfsv4tov_type()
5661 vtyp = VREG; in nfsv4tov_type()
5664 vtyp = nv34tov_type[ntyp]; in nfsv4tov_type()
5666 return (vtyp); in nfsv4tov_type()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clrpcops.c2409 u_int32_t rdev, __enum_uint8(vtype) vtyp, struct ucred *cred, NFSPROC_T *p, in nfsrpc_mknod()
2425 if (vtyp == VBLK || vtyp == VCHR) { in nfsrpc_mknod()
2427 *tl++ = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2432 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2438 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2443 (vtyp == VCHR || vtyp == VBLK)) { in nfsrpc_mknod()