Home
last modified time | relevance | path

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

/freebsd-11-stable/sbin/fsdb/
HDfsdbutil.c124 case IFDIR: in printstat()
341 if ((DIP(curinode, di_mode) & IFMT) != IFDIR) { in checkactivedir()
354 case IFDIR: in printactive()
HDfsdb.c516 case IFDIR: in CMDFUNCSTART()
888 {"dir", IFDIR},
/freebsd-11-stable/sbin/fsck_ffs/
HDdir.c345 (DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE", in fileerror()
389 ((DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE")); in adjust()
469 lostdir = (DIP(dp, di_mode) & IFMT) == IFDIR; in linkup()
516 if ((DIP(dp, di_mode) & IFMT) != IFDIR) { in linkup()
695 ino = allocino(request, IFDIR|mode); in allocdir()
HDpass2.c112 DIP_SET(dp, di_mode, DIP(dp, di_mode) | IFDIR); in pass2()
183 DIP_SET(dp, di_mode, IFDIR); in pass2()
476 (DIP(dp, di_mode) & IFMT) == IFDIR ? DSTATE : FSTATE; in pass2check()
HDsuj.c630 if ((mode & IFMT) == IFDIR) { in ino_free()
878 if ((*mode & IFMT) != IFDIR) { in ino_isat()
1290 if ((DIP(ip, di_mode) & IFMT) == IFDIR) in ino_reclaim()
1325 if ((mode & IFMT) == IFDIR) in ino_decr()
1366 if (mode == IFDIR && nlink == 1 && sino->si_dotlinks == 0) { in ino_adjust()
1383 if (mode == IFDIR && nlink - sino->si_dotlinks == 0) { in ino_adjust()
1418 if ((mode & IFMT) == IFDIR) in ino_adjust()
1612 if (off && DIP(ip, di_mode) != IFDIR) { in ino_trunc()
HDpass1.c286 (mode == IFDIR && DIP(dp, di_size) > MAXDIRSIZE)) { in checkinode()
359 if (mode == IFDIR) { in checkinode()
HDinode.c539 (DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE"); in clri()
688 case IFDIR: in allocino()
HDfsutil.c102 case IFDIR: in ftypeok()
/freebsd-11-stable/sys/ufs/ufs/
HDdinode.h107 #define IFDIR 0040000 /* Directory file. */ macro
HDufs_vnops.c1256 if ((fip->i_mode & IFMT) == IFDIR) {
1388 if ((tip->i_mode & IFMT) == IFDIR) {
1780 dmode |= IFDIR;
/freebsd-11-stable/sys/fs/ext2fs/
HDinode.h138 #define IFDIR 0040000 /* Directory file. */ macro
HDext2_alloc.c393 if ((mode & IFMT) == IFDIR) { in ext2_valloc()
1155 if ((mode & IFMT) == IFDIR) { in ext2_nodealloccg()
1253 if ((mode & IFMT) == IFDIR) { in ext2_vfree()
HDext2_vnops.c806 if ((ip->i_mode & IFMT) == IFDIR) { in ext2_rename()
938 if ((xp->i_mode & IFMT) == IFDIR) { in ext2_rename()
1263 dmode |= IFDIR; in ext2_mkdir()
/freebsd-11-stable/sbin/dump/
HDtraverse.c211 if (mode == IFDIR) in mapfiles()
216 mode != IFDIR && in mapfiles()
223 if (mode == IFDIR) { in mapfiles()
431 if (mode == IFDIR) { in searchdir()
HDmain.c558 if (mode != IFDIR) in main()
577 if (mode == IFDIR) in main()
/freebsd-11-stable/sbin/quotacheck/
HDquotacheck.c410 if (mode == IFREG || mode == IFDIR || in chkquota()
418 if (mode == IFREG || mode == IFDIR || in chkquota()
/freebsd-11-stable/usr.sbin/quot/
HDquot.c211 case IFDIR: in isfree()
392 || (DIP(super, dp, di_mode) & IFMT) == IFDIR) in dofsizes()
/freebsd-11-stable/sys/ufs/ffs/
HDffs_alloc.c1052 if ((mode & IFMT) == IFDIR)
1063 if ((mode & IFMT) == IFDIR) {
1364 if ((ip->i_mode & IFMT) == IFDIR)
1469 if ((ip->i_mode & IFMT) == IFDIR)
2143 if ((mode & IFMT) == IFDIR) {
2535 if ((mode & IFMT) == IFDIR) {
2906 filetype = IFDIR; in sysctl_ffs_fsck()
2915 filetype == IFDIR ? "directory" : "file", in sysctl_ffs_fsck()
2920 filetype == IFDIR ? "directory" : "file", in sysctl_ffs_fsck()
HDffs_softdep.c5314 if ((ip->i_mode & IFMT) == IFDIR)
5851 if ((ip->i_mode & IFMT) == IFDIR)
10935 if ((jaddref->ja_mode & IFMT) == IFDIR)
11901 if ((jaddref->ja_mode & IFMT) == IFDIR)
/freebsd-11-stable/sbin/restore/
HDdirs.c178 if (curfile.mode == 0 || (curfile.mode & IFMT) != IFDIR) in extractdirs()
205 while (curfile.ino && (curfile.mode & IFMT) == IFDIR) { in skipdirs()
HDinteractive.c742 stp->st_mode = IFDIR; in glob_stat()
HDtape.c607 case IFDIR: in extractfile()
/freebsd-11-stable/sbin/newfs/
HDmkfs.c874 node.dp1.di_mode = IFDIR | UMASK; in fsinit()
910 node.dp2.di_mode = IFDIR | UMASK; in fsinit()
993 if (mode & IFDIR) { in alloc()
/freebsd-11-stable/stand/libsa/
HDufs.c579 if ((DIP(fp, di_mode) & IFMT) != IFDIR) {
HDnandfs.c657 if ((node->inode->i_mode & IFMT) != IFDIR) { in nandfs_lookup_path()