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

/freebsd-10-stable/sys/fs/fuse/
H A Dfuse_node.c132 uint64_t nodeid, enum vtype vtyp)
140 vp->v_type = vtyp;
176 enum vtype vtyp,
185 if (vtyp == VNON) {
195 MPASS((*vpp)->v_type == vtyp && (*vpp)->v_data != NULL);
206 fuse_vnode_init(*vpp, fvdat, nodeid, vtyp);
234 enum vtype vtyp)
241 err = fuse_vnode_alloc(mp, td, nodeid, vtyp, vpp);
131 fuse_vnode_init(struct vnode *vp, struct fuse_vnode_data *fvdat, uint64_t nodeid, enum vtype vtyp) argument
173 fuse_vnode_alloc(struct mount *mp, struct thread *td, uint64_t nodeid, enum vtype vtyp, struct vnode **vpp) argument
229 fuse_vnode_get(struct mount *mp, uint64_t nodeid, struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, enum vtype vtyp) argument
H A Dfuse_internal.h300 fuse_internal_checkentry(struct fuse_entry_out *feo, enum vtype vtyp) argument
303 "feo=%p, vtype=%d\n", feo, vtyp);
305 if (vtyp != IFTOVT(feo->attr.mode)) {
307 "EINVAL -- %x != %x\n", vtyp, IFTOVT(feo->attr.mode));
333 enum vtype vtyp);
348 enum vtype vtyp,
H A Dfuse_node.h119 enum vtype vtyp);
H A Dfuse_internal.c469 enum vtype vtyp,
481 if ((err = fuse_internal_checkentry(feo, vtyp))) {
484 err = fuse_vnode_get(mp, feo->nodeid, dvp, vpp, cnp, vtyp);
466 fuse_internal_newentry_core(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, enum vtype vtyp, struct fuse_dispatcher *fdip) argument
H A Dfuse_vnops.c1515 enum vtype vtyp; local
1577 vtyp = vnode_vtype(vp);
1579 if (fsai->valid & FATTR_SIZE && vtyp == VDIR) {
1583 if (vfs_isrdonly(vnode_mount(vp)) && (fsai->valid & ~FATTR_SIZE || vtyp == VREG)) {
1602 vtyp = IFTOVT(((struct fuse_attr_out *)fdi.answ)->attr.mode);
1604 if (vnode_vtype(vp) != vtyp) {
1605 if (vnode_vtype(vp) == VNON && vtyp != VNON) {
/freebsd-10-stable/sys/nfsclient/
H A Dnfs_subs.c462 enum vtype vtyp; local
479 vtyp = nfsv3tov_type(fp->fa_type);
485 vtyp = nfsv2tov_type(fp->fa_type);
506 if (vtyp == VNON || (vtyp == VREG && (vmode & S_IFMT) != 0))
507 vtyp = IFTOVT(vmode);
514 if (vtyp == VCHR && rdev == 0xffffffff)
515 vtyp = VFIFO;
527 if (vp->v_type != vtyp) {
528 vp->v_type = vtyp;
[all...]
/freebsd-10-stable/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c981 enum vtype vtyp; local
998 vtyp = IFTOVT(fxdr_unsigned(u_int32_t, sp->sa_mode));
999 if (vtyp == VNON)
1000 vtyp = VREG;
1001 NFSVNO_SETATTRVAL(&nva, type, vtyp);
1145 enum vtype vtyp = VNON; local
1169 vtyp = nfsv34tov_type(*tl);
1208 vtyp = nfsv34tov_type(*tl);
1213 nva.na_type = vtyp;
1215 (vtyp
[all...]
H A Dnfs_nfsdport.c879 enum vtype vtyp; local
881 vtyp = nvap->na_type;
893 if (vtyp != VCHR && vtyp != VBLK && vtyp != VSOCK && vtyp != VFIFO) {
900 if (vtyp == VSOCK) {
/freebsd-10-stable/sys/nfsserver/
H A Dnfs_serv.c1479 enum vtype vtyp; local
1521 vtyp = nfsv3tov_type(*tl);
1522 if (vtyp != VCHR && vtyp != VBLK && vtyp != VSOCK && vtyp != VFIFO) {
1528 if (vtyp == VCHR || vtyp == VBLK) {
1542 vap->va_type = vtyp;
1545 if (vtyp
[all...]
/freebsd-10-stable/sys/fs/nfsclient/
H A Dnfs_clrpcops.c1790 u_int32_t rdev, enum vtype vtyp, struct ucred *cred, NFSPROC_T *p,
1806 if (vtyp == VBLK || vtyp == VCHR) {
1808 *tl++ = vtonfsv34_type(vtyp);
1813 *tl = vtonfsv34_type(vtyp);
1819 *tl = vtonfsv34_type(vtyp);
1824 (vtyp == VCHR || vtyp == VBLK)) {
1789 nfsrpc_mknod(vnode_t dvp, char *name, int namelen, struct vattr *vap, u_int32_t rdev, enum vtype vtyp, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff) argument

Completed in 151 milliseconds