Home
last modified time | relevance | path

Searched refs:VDIR (Results 1 – 25 of 66) sorted by relevance

123

/dragonfly/sys/vfs/smbfs/
HDsmbfs_vnops.c159 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 …]
HDsmbfs_node.c235 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/
HDtmpfs_subr.c143 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()
HDtmpfs_vnops.c324 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 …]
HDtmpfs_vfsops.c212 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/
HDfuse_vnops.c112 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 …]
HDfuse_node.c102 KKASSERT(dfnp->type == VDIR); in fuse_alloc_node()
194 case VDIR: in fuse_node_vn()
/dragonfly/sys/vfs/autofs/
HDautofs_vnops.c105 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/
HDhammer2_subr.c85 return (VDIR); in hammer2_get_vtype()
110 case VDIR: in hammer2_get_obj_type()
/dragonfly/sys/vfs/nfs/
HDnfs_subs.c89 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()
HDnfs_serv.c244 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 …]
HDnfs_bio.c118 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()
HDnfs_node.c392 if (ap->a_vp->v_type != VDIR) { in nfs_inactive()
466 if (vp->v_type == VDIR) { in nfs_reclaim()
HDnfs_vnops.c330 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/
HDhammer2_subr.c91 return (VDIR); in hammer2_get_vtype()
116 case VDIR: in hammer2_get_obj_type()
/dragonfly/sys/vfs/dirfs/
HDdirfs_subr.c271 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/
HDvfs_helper.c103 case VDIR: in vop_helper_access()
235 if (vp->v_type != VDIR && (*cur_modep & S_ISTXT)) in vop_helper_chmod()
HDvfs_vnops.c266 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()
HDvfs_nlookup.c233 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/
HDfstat.h59 case VDIR: in mtrans()
/dragonfly/sys/sys/
HDvfscache.h98 enum vtype { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VBAD, enumerator
/dragonfly/sys/vfs/msdosfs/
HDmsdosfs_vnops.c202 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/
HDufs_readwrite.c84 } else if (vp->v_type != VREG && vp->v_type != VDIR) in ffs_read()
244 case VDIR: in ffs_write()
/dragonfly/sys/vfs/ext2fs/
HDext2_vnops.c331 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/
HDprocfs_subr.c176 vp->v_type = VDIR; in procfs_allocvp()
191 vp->v_type = VDIR; in procfs_allocvp()

123