| /dragonfly/sys/vfs/smbfs/ |
| HD | smbfs_vnops.c | 159 if (vp->v_type != VREG && vp->v_type != VDIR) { in smbfs_open() 163 if (vp->v_type == VDIR) { in smbfs_open() 230 if (vp->v_type != VDIR) in smbfs_closel() 235 if (vp->v_type == VDIR) { in smbfs_closel() 323 case VDIR: in smbfs_setattr() 429 if (vp->v_type != VREG && vp->v_type != VDIR) in smbfs_read() 509 if (vp->v_type == VDIR || np->n_opencount || VREFCNT(vp) > 1) in smbfs_remove() 548 if (fvp->v_type == VDIR) { in smbfs_rename() 717 if (vp->v_type != VDIR) in smbfs_readdir() 894 if (vp->v_type == VDIR) { in smbfs_advlock() [all …]
|
| HD | smbfs_node.c | 235 vp->v_type = fap->fa_attr & SMB_FA_DIR ? VDIR : VREG; in smbfs_node_alloc() 370 } else if (vp->v_type == VDIR) { in smbfs_attr_cacheenter() 393 } else if (vp->v_type == VDIR) { in smbfs_attr_cachelookup()
|
| /dragonfly/sys/vfs/tmpfs/ |
| HD | tmpfs_subr.c | 143 case VDIR: in tmpfs_alloc_node() 238 case VDIR: in tmpfs_free_node() 492 case VDIR: in tmpfs_alloc_vp() 543 KKASSERT(dnode->tn_type == VDIR); in tmpfs_alloc_file() 552 if (vap->va_type == VDIR && dnode->tn_links >= LINK_MAX) { in tmpfs_alloc_file() 613 if (node && node->tn_type == VDIR) { in tmpfs_dir_attach_locked() 665 if (node && node->tn_type == VDIR && node->tn_dir.tn_parent) { in tmpfs_dir_detach_locked() 917 case VDIR: in tmpfs_dir_getdents() 1248 case VDIR: in tmpfs_chsize()
|
| HD | tmpfs_vnops.c | 324 case VDIR: in tmpfs_access() 1112 if (vp->v_type == VDIR) { in tmpfs_nremove() 1190 if (vp->v_type == VDIR) { in tmpfs_nlink() 1339 if (fnode->tn_type == VDIR && tnode->tn_type == VDIR) { in tmpfs_nrename() 1344 } else if (fnode->tn_type == VDIR && tnode->tn_type != VDIR) { in tmpfs_nrename() 1347 } else if (fnode->tn_type != VDIR && tnode->tn_type == VDIR) { in tmpfs_nrename() 1351 KKASSERT(fnode->tn_type != VDIR && in tmpfs_nrename() 1352 tnode->tn_type != VDIR); in tmpfs_nrename() 1431 if (de->td_node->tn_type == VDIR) { in tmpfs_nrename() 1485 KKASSERT(vap->va_type == VDIR); in tmpfs_nmkdir() [all …]
|
| HD | tmpfs_vfsops.c | 212 error = tmpfs_alloc_node(tmp, VDIR, root_uid, root_gid, in tmpfs_mount() 349 if (node->tn_type == VDIR) { in tmpfs_unmount() 427 (*vpp)->v_type = VDIR; in tmpfs_root()
|
| /dragonfly/sys/vfs/fuse/ |
| HD | fuse_vnops.c | 112 case VDIR: in fuse_vop_access() 176 if (vp->v_type == VDIR) in fuse_vop_open() 280 if (vp->v_type == VDIR) in fuse_vop_fsync() 396 if (vp->v_type == VDIR) { in fuse_vop_setattr() 557 vtyp = VDIR; in fuse_vop_nresolve() 623 if (vp->v_type == VDIR) in fuse_vop_nlink() 915 if (IFTOVT(feo->attr.mode) != VDIR) { in fuse_vop_nmkdir() 920 error = fuse_alloc_node(fmp, dfnp, feo->nodeid, VDIR, &vp); in fuse_vop_nmkdir() 1190 if (ffnp->type == VDIR && tfnp->type == VDIR) { in fuse_vop_nrename() 1192 } else if (ffnp->type == VDIR && tfnp->type != VDIR) { in fuse_vop_nrename() [all …]
|
| HD | fuse_node.c | 102 KKASSERT(dfnp->type == VDIR); in fuse_alloc_node() 194 case VDIR: in fuse_node_vn()
|
| /dragonfly/sys/vfs/autofs/ |
| HD | autofs_vnops.c | 105 KASSERT(vp->v_type == VDIR, ("!VDIR")); in autofs_getattr() 121 vap->va_type = VDIR; in autofs_getattr() 309 KASSERT(vp->v_type == VDIR, ("!VDIR")); in autofs_readdir() 594 vp->v_type = VDIR; in autofs_node_vn()
|
| /dragonfly/sys/vfs/hammer2/ |
| HD | hammer2_subr.c | 85 return (VDIR); in hammer2_get_vtype() 110 case VDIR: in hammer2_get_obj_type()
|
| /dragonfly/sys/vfs/nfs/ |
| HD | nfs_subs.c | 89 VNON, VREG, VDIR, VBLK, VCHR, VLNK, VNON, VNON enumerator 92 VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO enumerator 907 if (vap->va_type == VDIR) { in nfs_getattrcache() 1060 if (dp->v_type != VDIR) { in nfs_namei() 1396 if (vp->v_type != VDIR) in nfs_invaldir() 1417 case VDIR: in nfs_setvtype()
|
| HD | nfs_serv.c | 244 if (vp->v_type == VDIR) in nfsrv3_access() 252 if (vp->v_type == VDIR) in nfsrv3_access() 449 if (vp->v_type == VDIR) { in nfsrv_setattr() 551 if (vp->v_type == VDIR && nfs_pub.np_index != NULL) { in nfsrv_lookup() 857 error = (vp->v_type == VDIR) ? EISDIR : EACCES; in nfsrv_read() 1106 error = (vp->v_type == VDIR) ? EISDIR : EACCES; in nfsrv_write() 1399 error = (vp->v_type == VDIR) ? EISDIR : EACCES; in nfsrv_writegather() 2079 if (vp->v_type == VDIR) { in nfsrv_remove() 2288 if (fvp->v_type == VDIR && tvp->v_type != VDIR) { in nfsrv_rename() 2294 } else if (fvp->v_type != VDIR && tvp->v_type == VDIR) { in nfsrv_rename() [all …]
|
| HD | nfs_bio.c | 118 if (vp->v_type != VDIR && in nfs_bioread() 144 if ((np->n_flag & NLMODIFIED) && vp->v_type == VDIR) { in nfs_bioread() 168 if (vp->v_type == VDIR) { in nfs_bioread() 283 case VDIR: in nfs_bioread() 423 case VDIR: in nfs_bioread() 1010 case VDIR: in nfs_startio() 1134 case VDIR: in nfs_doio()
|
| HD | nfs_node.c | 392 if (ap->a_vp->v_type != VDIR) { in nfs_inactive() 466 if (vp->v_type == VDIR) { in nfs_reclaim()
|
| HD | nfs_vnops.c | 330 case VDIR: in nfs_access() 375 if (vp->v_type != VDIR) { in nfs_access() 449 } else if (vp->v_type == VDIR) { in nfs_access() 516 if (vp->v_type != VREG && vp->v_type != VDIR && vp->v_type != VLNK) { in nfs_open() 569 if (vp->v_type == VDIR) { in nfs_open() 584 if (vp->v_type == VDIR) in nfs_open() 785 case VDIR: in nfs_setattr() 1133 if (dvp->v_type != VDIR) in nfs_lookup() 1862 if (vp->v_type == VDIR) { in nfs_remove() 2018 tvp->v_type != VDIR && !nfs_sillyrename(tdvp, tvp, tcnp)) { in nfs_rename() [all …]
|
| /dragonfly/usr.sbin/makefs/hammer2/ |
| HD | hammer2_subr.c | 91 return (VDIR); in hammer2_get_vtype() 116 case VDIR: in hammer2_get_obj_type()
|
| /dragonfly/sys/vfs/dirfs/ |
| HD | dirfs_subr.c | 271 case VDIR: in dirfs_alloc_vp() 316 ret = VDIR; in dirfs_nodetype() 583 if (dnp->dn_type & VDIR) { in dirfs_open_helper() 769 case VDIR: in dirfs_node_chsize()
|
| /dragonfly/sys/kern/ |
| HD | vfs_helper.c | 103 case VDIR: in vop_helper_access() 235 if (vp->v_type != VDIR && (*cur_modep & S_ISTXT)) in vop_helper_chmod()
|
| HD | vfs_vnops.c | 266 if (vp->v_type != VDIR && (fmode & O_DIRECTORY)) { in vn_open() 272 if (vp->v_type == VDIR) { in vn_open() 865 case VDIR: in vn_stat() 988 case VDIR: in vn_ioctl() 1246 (vp->v_type == VREG || vp->v_type == VDIR)) { in vn_seek()
|
| HD | vfs_nlookup.c | 233 if (vp->v_type != VDIR || fp->f_nchandle.ncp == NULL) { in nlookup_init_at() 1667 case VDIR: in naccess() 1679 case VDIR: in naccess() 1721 if (lva.va_type == VDIR && in naccess() 1815 case VDIR: in naccess_lva()
|
| /dragonfly/usr.bin/fstat/ |
| HD | fstat.h | 59 case VDIR: in mtrans()
|
| /dragonfly/sys/sys/ |
| HD | vfscache.h | 98 enum vtype { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VBAD, enumerator
|
| /dragonfly/sys/vfs/msdosfs/ |
| HD | msdosfs_vnops.c | 202 file_mode &= (ap->a_vp->v_type == VDIR ? pmp->pm_dirmask : pmp->pm_mask); in msdosfs_access() 244 (ap->a_vp->v_type == VDIR ? pmp->pm_dirmask : pmp->pm_mask); in msdosfs_getattr() 373 case VDIR: in msdosfs_setattr() 410 if (vp->v_type != VDIR) { in msdosfs_setattr() 439 if (vp->v_type != VDIR) { in msdosfs_setattr() 597 case VDIR: in msdosfs_write() 851 if (ap->a_vp->v_type == VDIR) in msdosfs_remove()
|
| /dragonfly/sys/vfs/ufs/ |
| HD | ufs_readwrite.c | 84 } else if (vp->v_type != VREG && vp->v_type != VDIR) in ffs_read() 244 case VDIR: in ffs_write()
|
| /dragonfly/sys/vfs/ext2fs/ |
| HD | ext2_vnops.c | 331 case VDIR: in ext2_setattr() 394 if (vp->v_type != VDIR && (mode & S_ISTXT)) in ext2_chmod() 1163 tvp->v_type = VDIR; /* Rest init'd in getnewvnode(). */ in ext2_mkdir() 1614 if (ap->a_vp->v_type == VDIR || ap->a_vp->v_type == VFIFO) in ext2_pathconf() 1684 case VDIR: in ext2_vinit() 1774 if (tvp->v_type == VREG || tvp->v_type == VDIR) in ext2_makeinode() 1835 } else if (vp->v_type != VREG && vp->v_type != VDIR) in ext2_read() 1954 case VDIR: in ext2_write()
|
| /dragonfly/sys/vfs/procfs/ |
| HD | procfs_subr.c | 176 vp->v_type = VDIR; in procfs_allocvp() 191 vp->v_type = VDIR; in procfs_allocvp()
|