HomeSort by: relevance | last modified time | path
    Searched refs:e2di_mode (Results 1 - 11 of 11) sorted by relevancy

  /src/sbin/fsck_ext2fs/
inode.c 143 if ((fs2h16(dp->e2di_mode) & IFMT) == IFREG)
153 if ((fs2h16(dp->e2di_mode) & IFMT) == IFREG) {
160 (unsigned long long)size, fs2h16(dp->e2di_mode) & IFMT);
180 mode = fs2h16(dp->e2di_mode) & IFMT;
581 (fs2h16(dp->e2di_mode) & IFMT) == IFDIR ? "DIR" : "FILE");
652 printf("MODE=%o\n", fs2h16(dp->e2di_mode));
724 dp->e2di_mode = h2fs16(type);
pass1.c 169 mode = fs2h16(dp->e2di_mode) & IFMT;
174 dp->e2di_mode || inosize(dp))) {
223 dp->e2di_mode = h2fs16(IFREG|0600);
pass2.c 131 dp->e2di_mode = h2fs16((fs2h16(dp->e2di_mode) & ~IFMT) | IFDIR);
180 dino.e2di_mode = h2fs16(IFDIR);
409 (fs2h16(dp->e2di_mode) & IFMT) == IFDIR ? DSTATE : FSTATE;
utilities.c 91 switch (fs2h16(dp->e2di_mode) & IFMT) {
104 printf("bad file type 0%o\n", fs2h16(dp->e2di_mode));
dir.c 313 (fs2h16(dp->e2di_mode) & IFMT) == IFDIR ? "DIR" : "FILE", pathbuf);
329 ((fs2h16(dp->e2di_mode) & IFMT) == IFDIR ? "DIR" : "FILE"));
406 lostdir = (fs2h16(dp->e2di_mode) & IFMT) == IFDIR;
448 if ((fs2h16(dp->e2di_mode) & IFMT) != IFDIR) {
  /src/sys/ufs/ext2fs/
ext2fs_dinode.h 111 uint16_t e2di_mode; /* 0: IFMT, permissions; see below. */ member in struct:ext2fs_dinode
146 #define i_e2fs_mode i_din.e2fs_din->e2di_mode
ext2fs_bswap.c 92 new->e2di_mode = bswap16(old->e2di_mode);
  /src/sbin/newfs_ext2fs/
mke2fs.c 943 node.e2di_mode = EXT2_IFDIR | EXT2_LOSTFOUNDUMASK;
953 node.e2di_blocks[0] = alloc(sblock.e2fs_bsize, node.e2di_mode);
990 node.e2di_mode = EXT2_IFDIR | EXT2_UMASK;
1000 node.e2di_blocks[0] = alloc(node.e2di_size, node.e2di_mode);
1085 node.e2di_mode = EXT2_IFREG | EXT2_RESIZEINOUMASK;
1157 alloc(sblock.e2fs_bsize, node.e2di_mode);
1376 if ((ip->e2di_mode & EXT2_IFMT) != EXT2_IFLNK) {
  /src/sys/lib/libsa/
ext2fs.c 583 if ((fp->f_di.e2di_mode & EXT2_IFMT) != EXT2_IFDIR) {
617 if ((fp->f_di.e2di_mode & EXT2_IFMT) == EXT2_IFLNK) {
799 sb->st_mode = fp->f_di.e2di_mode;
936 new->e2di_mode = bswap16(old->e2di_mode);
  /src/usr.sbin/pstat/
pstat.c 544 type = dip.e2di_mode & S_IFMT;
545 if (S_ISCHR(dip.e2di_mode) || S_ISBLK(dip.e2di_mode)) {
  /src/usr.bin/fstat/
fstat.c 821 fsp->mode = dinode.e2di_mode;

Completed in 21 milliseconds