/freebsd/sbin/fsdb/ |
H A D | fsdbutil.c | 117 case IFDIR: in printstat() 210 if ((DIP(curinode, di_mode) & IFMT) != IFDIR) { in checkactivedir() 223 case IFDIR: in printactive()
|
H A D | fsdb.c | 561 case IFDIR: in CMDFUNCSTART() 932 {"dir", IFDIR},
|
/freebsd/sbin/fsck_ffs/ |
H A D | dir.c | 443 (DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE", in fileerror() 491 ((DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE")); in adjust() 576 lostdir = (DIP(dp, di_mode) & IFMT) == IFDIR; in linkup() 630 if ((DIP(dp, di_mode) & IFMT) != IFDIR) { in linkup() 801 if ((DIP(dp, di_mode) & IFMT) != IFDIR || filesize == 0 || in expanddir() 920 ino = allocino(request, IFDIR|mode); in allocdir()
|
H A D | pass2.c | 110 DIP_SET(dp, di_mode, DIP(dp, di_mode) | IFDIR); in pass2() 184 DIP_SET(dp, di_mode, IFDIR); in pass2() 532 (DIP(dp, di_mode) & IFMT) == IFDIR ? DSTATE : FSTATE; in pass2check()
|
H A D | suj.c | 450 if ((mode & IFMT) == IFDIR) { in ino_free() 613 if ((*mode & IFMT) != IFDIR) { in ino_isat() 1046 if ((DIP(dp, di_mode) & IFMT) == IFDIR) in ino_reclaim() 1085 if ((mode & IFMT) == IFDIR) in ino_decr() 1129 if (mode == IFDIR && nlink == 1 && sino->si_dotlinks == 0) { in ino_adjust() 1146 if (mode == IFDIR && nlink - sino->si_dotlinks == 0) { in ino_adjust() 1183 if ((mode & IFMT) == IFDIR) in ino_adjust() 1392 if (off && DIP(dp, di_mode) != IFDIR) { in ino_trunc() 2424 if ((DIP(dp, di_mode) & IFMT) != IFDIR) { in suj_check()
|
H A D | fsutil.c | 100 case IFDIR: in ftypeok() 1215 (mode == IFDIR && filesize > MAXDIRSIZE)) { in chkfilesize()
|
H A D | pass1.c | 382 if (mode == IFDIR) { in checkinode()
|
H A D | inode.c | 1246 (DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE"); in clri() 1409 case IFDIR: in allocino()
|
/freebsd/sys/ufs/ufs/ |
H A D | dinode.h | 106 #define IFDIR 0040000 /* Directory file. */ macro
|
H A D | ufs_lookup.c | 1469 MPASS((ip->i_mode & IFMT) == IFDIR); in ufs_assert_inode_offset_owner() 1492 MPASS((ip->i_mode & IFMT) == IFDIR); in ufs_set_inode_offset_owner()
|
H A D | ufs_vnops.c | 1451 if ((fip->i_mode & IFMT) == IFDIR) { in ufs_rename() 1626 if ((tip->i_mode & IFMT) == IFDIR) { in ufs_rename() 2020 dmode |= IFDIR; in ufs_mkdir()
|
/freebsd/sys/fs/ext2fs/ |
H A D | inode.h | 146 #define IFDIR 0040000 /* Directory file. */ macro
|
H A D | ext2_alloc.c | 404 if ((mode & IFMT) == IFDIR) { in ext2_valloc() 1403 if ((mode & IFMT) == IFDIR) { in ext2_nodealloccg() 1500 if ((mode & IFMT) == IFDIR) { in ext2_vfree()
|
H A D | ext2_vnops.c | 847 if ((ip->i_mode & IFMT) == IFDIR) { in ext2_rename() 978 if ((xp->i_mode & IFMT) == IFDIR) { in ext2_rename() 1321 dmode |= IFDIR; in ext2_mkdir()
|
/freebsd/sbin/dump/ |
H A D | traverse.c | 205 if (mode == IFDIR) in mapfiles() 210 mode != IFDIR && in mapfiles() 217 if (mode == IFDIR) { in mapfiles() 425 if (mode == IFDIR) { in searchdir()
|
H A D | main.c | 563 if (mode != IFDIR) in main() 582 if (mode == IFDIR) in main()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 1135 if ((mode & IFMT) == IFDIR) in ffs_valloc() 1146 if ((mode & IFMT) == IFDIR) { in ffs_valloc() 1183 if ((mode & IFMT) == IFDIR) in ffs_valloc() 1475 if ((ip->i_mode & IFMT) == IFDIR) in ffs_blkpref_ufs1() 1587 if ((ip->i_mode & IFMT) == IFDIR) in ffs_blkpref_ufs2() 2235 if ((mode & IFMT) == IFDIR) { in ffs_nodealloccg() 2888 if ((mode & IFMT) == IFDIR) { in ffs_freefile() 3399 filetype = IFDIR; in sysctl_ffs_fsck() 3408 filetype == IFDIR ? "directory" : "file", in sysctl_ffs_fsck() 3413 filetype == IFDIR ? "directory" : "file", in sysctl_ffs_fsck()
|
/freebsd/sbin/quotacheck/ |
H A D | quotacheck.c | 395 if (mode == IFREG || mode == IFDIR || in chkquota() 403 if (mode == IFREG || mode == IFDIR || in chkquota()
|
/freebsd/usr.sbin/quot/ |
H A D | quot.c | 209 case IFDIR: in isfree() 390 || (DIP(super, dp, di_mode) & IFMT) == IFDIR) in dofsizes()
|
/freebsd/sbin/restore/ |
H A D | dirs.c | 173 if (curfile.mode == 0 || (curfile.mode & IFMT) != IFDIR) in extractdirs() 200 while (curfile.ino && (curfile.mode & IFMT) == IFDIR) { in skipdirs()
|
H A D | interactive.c | 735 stp->st_mode = IFDIR; in glob_stat()
|
H A D | tape.c | 601 case IFDIR: in extractfile()
|
/freebsd/tools/diag/prtblknos/ |
H A D | prtblknos.c | 111 case IFDIR: in prtblknos()
|
/freebsd/sbin/newfs/ |
H A D | mkfs.c | 926 node.dp1.di_mode = IFDIR | UMASK; in fsinit() 963 node.dp2.di_mode = IFDIR | UMASK; in fsinit() 1047 if (mode & IFDIR) { in alloc()
|
/freebsd/stand/libsa/ |
H A D | ufs.c | 583 if ((DIP(fp, di_mode) & IFMT) != IFDIR) { in ufs_open()
|