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.h270 struct componentname *cnp, __enum_uint8(vtype) vtyp);
H A Dfuse_vnops.c1509 __enum_uint8(vtype) vtyp;
1519 flaa->vtyp); in fuse_lookup_alloc()
1557 __enum_uint8(vtype) vtyp; /* vnode type of target */ in fuse_vnop_lookup()
1592 vtyp = VDIR; in fuse_vnop_lookup()
1596 vtyp = VDIR; in fuse_vnop_lookup()
1669 vtyp = IFTOVT(feo->attr.mode); in fuse_vnop_lookup()
1700 flaa.vtyp = vtyp; in fuse_vnop_lookup()
1720 &vp, cnp, vtyp); in fuse_vnop_lookup()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c1289 __enum_uint8(vtype) vtyp; in nfsrvd_create()
1307 vtyp = IFTOVT(fxdr_unsigned(u_int32_t, sp->sa_mode)); in nfsrvd_create()
1308 if (vtyp == VNON) in nfsrvd_create()
1309 vtyp = VREG; in nfsrvd_create()
1310 NFSVNO_SETATTRVAL(&nva, type, vtyp); in nfsrvd_create()
1454 __enum_uint8(vtype) vtyp = VNON; in nfsrvd_mknod()
1481 vtyp = nfsv34tov_type(*tl); in nfsrvd_mknod()
1533 vtyp = nfsv34tov_type(*tl); in nfsrvd_mknod()
1538 nva.na_type = vtyp; in nfsrvd_mknod()
1540 (vtyp == VCHR || vtyp == VBLK)) { in nfsrvd_mknod()
[all …]
H A Dnfs_nfsdport.c1328 __enum_uint8(vtype) vtyp; in nfsvno_mknod()
1330 vtyp = nvap->na_type; in nfsvno_mknod()
1341 if (vtyp != VCHR && vtyp != VBLK && vtyp != VSOCK && vtyp != VFIFO) { in nfsvno_mknod()
1347 if (vtyp == VSOCK) { in nfsvno_mknod()
7398 nfsrv_checkwrongsec(struct nfsrv_descript *nd, int nextop, __enum_uint8(vtype) vtyp) in nfsrv_checkwrongsec() argument
7412 if (nextop == NFSV4OP_OPEN && vtyp == VDIR) in nfsrv_checkwrongsec()
/freebsd/sys/fs/nfs/
H A Dnfs_commonsubs.c5651 __enum_uint8(vtype) vtyp; in nfsv4tov_type()
5655 vtyp = VDIR; in nfsv4tov_type()
5658 vtyp = VREG; in nfsv4tov_type()
5661 vtyp = nv34tov_type[ntyp]; in nfsv4tov_type()
5663 return (vtyp); in nfsv4tov_type()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clrpcops.c2360 u_int32_t rdev, __enum_uint8(vtype) vtyp, struct ucred *cred, NFSPROC_T *p, in nfsrpc_mknod()
2376 if (vtyp == VBLK || vtyp == VCHR) { in nfsrpc_mknod()
2378 *tl++ = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2383 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2389 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2394 (vtyp == VCHR || vtyp == VBLK)) { in nfsrpc_mknod()