Home
last modified time | relevance | path

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

12

/freebsd-13.1/sbin/fsdb/
H A Dfsdbutil.c122 case IFDIR: in printstat()
218 if ((DIP(curinode, di_mode) & IFMT) != IFDIR) { in checkactivedir()
231 case IFDIR: in printactive()
H A Dfsdb.c526 case IFDIR: in CMDFUNCSTART()
897 {"dir", IFDIR},
/freebsd-13.1/sbin/fsck_ffs/
H A Ddir.c352 (DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE", in fileerror()
400 ((DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE")); in adjust()
483 lostdir = (DIP(dp, di_mode) & IFMT) == IFDIR; in linkup()
536 if ((DIP(dp, di_mode) & IFMT) != IFDIR) { in linkup()
692 if ((DIP(dp, di_mode) & IFMT) != IFDIR || filesize == 0 || in expanddir()
802 ino = allocino(request, IFDIR|mode); in allocdir()
H A Dpass2.c118 DIP_SET(dp, di_mode, DIP(dp, di_mode) | IFDIR); in pass2()
192 DIP_SET(dp, di_mode, IFDIR); in pass2()
488 (DIP(dp, di_mode) & IFMT) == IFDIR ? DSTATE : FSTATE; in pass2check()
H A Dsuj.c407 if ((mode & IFMT) == IFDIR) { in ino_free()
562 if ((*mode & IFMT) != IFDIR) { in ino_isat()
995 if ((DIP(dp, di_mode) & IFMT) == IFDIR) in ino_reclaim()
1032 if ((mode & IFMT) == IFDIR) in ino_decr()
1076 if (mode == IFDIR && nlink == 1 && sino->si_dotlinks == 0) { in ino_adjust()
1093 if (mode == IFDIR && nlink - sino->si_dotlinks == 0) { in ino_adjust()
1130 if ((mode & IFMT) == IFDIR) in ino_adjust()
1333 if (off && DIP(dp, di_mode) != IFDIR) { in ino_trunc()
H A Dpass1.c290 (mode == IFDIR && DIP(dp, di_size) > MAXDIRSIZE)) { in checkinode()
365 if (mode == IFDIR) { in checkinode()
H A Dinode.c776 (DIP(dp, di_mode) & IFMT) == IFDIR ? "DIR" : "FILE"); in clri()
935 case IFDIR: in allocino()
H A Dfsutil.c108 case IFDIR: in ftypeok()
/freebsd-13.1/sys/ufs/ufs/
H A Ddinode.h109 #define IFDIR 0040000 /* Directory file. */ macro
H A Dufs_lookup.c1506 MPASS((ip->i_mode & IFMT) == IFDIR); in ufs_assert_inode_offset_owner()
1529 MPASS((ip->i_mode & IFMT) == IFDIR); in ufs_set_inode_offset_owner()
H A Dufs_vnops.c1422 if ((fip->i_mode & IFMT) == IFDIR) {
1566 if ((tip->i_mode & IFMT) == IFDIR) {
1958 dmode |= IFDIR;
/freebsd-13.1/sys/fs/ext2fs/
H A Dinode.h145 #define IFDIR 0040000 /* Directory file. */ macro
H A Dext2_alloc.c407 if ((mode & IFMT) == IFDIR) { in ext2_valloc()
1405 if ((mode & IFMT) == IFDIR) { in ext2_nodealloccg()
1502 if ((mode & IFMT) == IFDIR) { in ext2_vfree()
H A Dext2_vnops.c848 if ((ip->i_mode & IFMT) == IFDIR) { in ext2_rename()
979 if ((xp->i_mode & IFMT) == IFDIR) { in ext2_rename()
1317 dmode |= IFDIR; in ext2_mkdir()
/freebsd-13.1/sbin/dump/
H A Dtraverse.c213 if (mode == IFDIR) in mapfiles()
218 mode != IFDIR && in mapfiles()
225 if (mode == IFDIR) { in mapfiles()
433 if (mode == IFDIR) { in searchdir()
H A Dmain.c575 if (mode != IFDIR) in main()
594 if (mode == IFDIR) in main()
/freebsd-13.1/sbin/quotacheck/
H A Dquotacheck.c409 if (mode == IFREG || mode == IFDIR || in chkquota()
417 if (mode == IFREG || mode == IFDIR || in chkquota()
/freebsd-13.1/usr.sbin/quot/
H A Dquot.c212 case IFDIR: in isfree()
393 || (DIP(super, dp, di_mode) & IFMT) == IFDIR) in dofsizes()
/freebsd-13.1/sys/ufs/ffs/
H A Dffs_alloc.c1133 if ((mode & IFMT) == IFDIR)
1144 if ((mode & IFMT) == IFDIR) {
1456 if ((ip->i_mode & IFMT) == IFDIR)
1569 if ((ip->i_mode & IFMT) == IFDIR)
2213 if ((mode & IFMT) == IFDIR) {
2870 if ((mode & IFMT) == IFDIR) {
3323 filetype = IFDIR; in sysctl_ffs_fsck()
3332 filetype == IFDIR ? "directory" : "file", in sysctl_ffs_fsck()
3337 filetype == IFDIR ? "directory" : "file", in sysctl_ffs_fsck()
/freebsd-13.1/sbin/restore/
H A Ddirs.c181 if (curfile.mode == 0 || (curfile.mode & IFMT) != IFDIR) in extractdirs()
208 while (curfile.ino && (curfile.mode & IFMT) == IFDIR) { in skipdirs()
H A Dinteractive.c744 stp->st_mode = IFDIR; in glob_stat()
H A Dtape.c609 case IFDIR: in extractfile()
/freebsd-13.1/tools/diag/prtblknos/
H A Dprtblknos.c115 case IFDIR:
/freebsd-13.1/sbin/newfs/
H A Dmkfs.c894 node.dp1.di_mode = IFDIR | UMASK; in fsinit()
930 node.dp2.di_mode = IFDIR | UMASK; in fsinit()
1013 if (mode & IFDIR) { in alloc()
/freebsd-13.1/stand/libsa/
H A Dufs.c589 if ((DIP(fp, di_mode) & IFMT) != IFDIR) { in ufs_open()

12