Home
last modified time | relevance | path

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

/freebsd-13.1/sys/fs/fuse/
H A Dfuse_node.c157 uint64_t nodeid, enum vtype vtyp) in fuse_vnode_init() argument
165 vp->v_type = vtyp; in fuse_vnode_init()
197 enum vtype vtyp, in fuse_vnode_alloc() argument
206 if (vtyp == VNON) { in fuse_vnode_alloc()
216 if ((*vpp)->v_type == vtyp) { in fuse_vnode_alloc()
231 SDT_PROBE3(fusefs, , node, stale_vnode, *vpp, vtyp, in fuse_vnode_alloc()
239 switch (vtyp) { in fuse_vnode_alloc()
252 fuse_vnode_init(*vpp, fvdat, nodeid, vtyp); in fuse_vnode_alloc()
262 if (data->dataflags & FSESS_ASYNC_READ && vtyp != VFIFO) in fuse_vnode_alloc()
290 enum vtype vtyp) in fuse_vnode_get() argument
[all …]
H A Dfuse_internal.h287 fuse_internal_checkentry(struct fuse_entry_out *feo, enum vtype vtyp) in fuse_internal_checkentry() argument
289 if (vtyp != IFTOVT(feo->attr.mode)) { in fuse_internal_checkentry()
306 enum vtype vtyp);
313 struct componentname *cnp, enum vtype vtyp, struct fuse_dispatcher *fdip);
H A Dfuse_internal.c796 enum vtype vtyp, in fuse_internal_newentry_core() argument
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()
902 enum vtype vtyp; in fuse_internal_do_getattr() local
923 vtyp = IFTOVT(fao->attr.mode); in fuse_internal_do_getattr()
940 if (vtyp != vnode_vtype(vp)) { in fuse_internal_do_getattr()
1144 enum vtype vtyp; in fuse_internal_setattr() local
1220 vtyp = IFTOVT(((struct fuse_attr_out *)fdi.answ)->attr.mode); in fuse_internal_setattr()
1222 if (vnode_vtype(vp) != vtyp) { in fuse_internal_setattr()
1223 if (vnode_vtype(vp) == VNON && vtyp != VNON) { in fuse_internal_setattr()
H A Dfuse_vfsops.c543 enum vtype vtyp; in fuse_vfsop_vget() local
577 vtyp = IFTOVT(feo->attr.mode); in fuse_vfsop_vget()
578 error = fuse_vnode_get(mp, feo, nodeid, NULL, vpp, NULL, vtyp); in fuse_vfsop_vget()
H A Dfuse_node.h202 struct componentname *cnp, enum vtype vtyp);
H A Dfuse_vnops.c1346 enum vtype vtyp; member
1356 flaa->vtyp); in fuse_lookup_alloc()
1394 enum vtype vtyp; /* vnode type of target */ in fuse_vnop_lookup() local
1426 vtyp = VDIR; in fuse_vnop_lookup()
1430 vtyp = VDIR; in fuse_vnop_lookup()
1503 vtyp = IFTOVT(feo->attr.mode); in fuse_vnop_lookup()
1541 flaa.vtyp = vtyp; in fuse_vnop_lookup()
1552 &vp, cnp, vtyp); in fuse_vnop_lookup()
/freebsd-13.1/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c1154 enum vtype vtyp; in nfsrvd_create() local
1173 if (vtyp == VNON) in nfsrvd_create()
1174 vtyp = VREG; in nfsrvd_create()
1318 enum vtype vtyp = VNON; in nfsrvd_mknod() local
1387 nva.na_type = vtyp; in nfsrvd_mknod()
1389 (vtyp == VCHR || vtyp == VBLK)) { in nfsrvd_mknod()
1423 if (vtyp == VLNK) in nfsrvd_mknod()
1429 if (vtyp == VDIR) in nfsrvd_mknod()
1450 if ((nd->nd_flag & ND_NFSV4) && (vtyp == VDIR || vtyp == VLNK)) { in nfsrvd_mknod()
1451 if (vtyp == VDIR) { in nfsrvd_mknod()
[all …]
H A Dnfs_nfsdport.c1283 enum vtype vtyp; in nfsvno_mknod() local
1285 vtyp = nvap->na_type; in nfsvno_mknod()
1297 if (vtyp != VCHR && vtyp != VBLK && vtyp != VSOCK && vtyp != VFIFO) { in nfsvno_mknod()
1304 if (vtyp == VSOCK) { in nfsvno_mknod()
6728 nfsrv_checkwrongsec(struct nfsrv_descript *nd, int nextop, enum vtype vtyp) in nfsrv_checkwrongsec() argument
6745 if (nextop == NFSV4OP_OPEN && vtyp == VDIR) in nfsrv_checkwrongsec()
/freebsd-13.1/sys/fs/nfsclient/
H A Dnfs_clrpcops.c1977 u_int32_t rdev, enum vtype vtyp, struct ucred *cred, NFSPROC_T *p, in nfsrpc_mknod() argument
1993 if (vtyp == VBLK || vtyp == VCHR) { in nfsrpc_mknod()
1995 *tl++ = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2000 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2006 *tl = vtonfsv34_type(vtyp); in nfsrpc_mknod()
2011 (vtyp == VCHR || vtyp == VBLK)) { in nfsrpc_mknod()