Home
last modified time | relevance | path

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

12

/freebsd/sbin/fsdb/
H A Dfsdbutil.c117 case IFDIR: in printstat()
210 if ((DIP(curinode, di_mode) & IFMT) != IFDIR) { in checkactivedir()
223 case IFDIR: in printactive()
H A Dfsdb.c561 case IFDIR: in CMDFUNCSTART()
932 {"dir", IFDIR},
/freebsd/sbin/fsck_ffs/
H A Ddir.c443 (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 Dpass2.c110 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 Dsuj.c450 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 Dfsutil.c100 case IFDIR: in ftypeok()
1215 (mode == IFDIR && filesize > MAXDIRSIZE)) { in chkfilesize()
H A Dpass1.c382 if (mode == IFDIR) { in checkinode()
H A Dinode.c1246 (DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE"); in clri()
1409 case IFDIR: in allocino()
/freebsd/sys/ufs/ufs/
H A Ddinode.h106 #define IFDIR 0040000 /* Directory file. */ macro
H A Dufs_lookup.c1467 MPASS((ip->i_mode & IFMT) == IFDIR); in ufs_assert_inode_offset_owner()
1490 MPASS((ip->i_mode & IFMT) == IFDIR); in ufs_set_inode_offset_owner()
H A Dufs_vnops.c1451 if ((fip->i_mode & IFMT) == IFDIR) { in ufs_rename()
1626 if ((tip->i_mode & IFMT) == IFDIR) { in ufs_rename()
2019 dmode |= IFDIR; in ufs_mkdir()
/freebsd/sys/fs/ext2fs/
H A Dinode.h146 #define IFDIR 0040000 /* Directory file. */ macro
H A Dext2_alloc.c404 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 Dext2_vnops.c847 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 Dtraverse.c205 if (mode == IFDIR) in mapfiles()
210 mode != IFDIR && in mapfiles()
217 if (mode == IFDIR) { in mapfiles()
425 if (mode == IFDIR) { in searchdir()
H A Dmain.c563 if (mode != IFDIR) in main()
582 if (mode == IFDIR) in main()
/freebsd/sys/ufs/ffs/
H A Dffs_alloc.c1135 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 Dquotacheck.c395 if (mode == IFREG || mode == IFDIR || in chkquota()
403 if (mode == IFREG || mode == IFDIR || in chkquota()
/freebsd/usr.sbin/quot/
H A Dquot.c209 case IFDIR: in isfree()
390 || (DIP(super, dp, di_mode) & IFMT) == IFDIR) in dofsizes()
/freebsd/sbin/restore/
H A Ddirs.c173 if (curfile.mode == 0 || (curfile.mode & IFMT) != IFDIR) in extractdirs()
200 while (curfile.ino && (curfile.mode & IFMT) == IFDIR) { in skipdirs()
H A Dinteractive.c735 stp->st_mode = IFDIR; in glob_stat()
H A Dtape.c601 case IFDIR: in extractfile()
/freebsd/tools/diag/prtblknos/
H A Dprtblknos.c111 case IFDIR: in prtblknos()
/freebsd/sbin/newfs/
H A Dmkfs.c926 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 Dufs.c583 if ((DIP(fp, di_mode) & IFMT) != IFDIR) { in ufs_open()

12