type 11 asm.h #define SEG_ASM(type,base,lim) \ type 13 asm.h .byte (((base) >> 16) & 0xff), (0x90 | (type)), \ type 9 elf.h ushort type; type 26 elf.h uint type; type 46 exec.c if(ph.type != ELF_PROG_LOAD) type 70 file.c f->type = FD_NONE; type 73 file.c if(ff.type == FD_PIPE) type 75 file.c else if(ff.type == FD_INODE){ type 86 file.c if(f->type == FD_INODE){ type 103 file.c if(f->type == FD_PIPE) type 105 file.c if(f->type == FD_INODE){ type 124 file.c if(f->type == FD_PIPE) type 126 file.c if(f->type == FD_INODE){ type 2 file.h enum { FD_NONE, FD_PIPE, FD_INODE } type; type 20 file.h short type; // copy of disk inode type 195 fs.c ialloc(uint dev, short type) type 204 fs.c if(dip->type == 0){ // a free inode type 206 fs.c dip->type = type; type 228 fs.c dip->type = ip->type; type 301 fs.c ip->type = dip->type; type 309 fs.c if(ip->type == 0) type 342 fs.c ip->type = 0; type 444 fs.c st->type = ip->type; type 458 fs.c if(ip->type == T_DEV){ type 487 fs.c if(ip->type == T_DEV){ type 530 fs.c if(dp->type != T_DIR) type 636 fs.c if(ip->type != T_DIR){ type 30 fs.h short type; // File type type 44 ls.c switch(st.type){ type 46 ls.c printf(1, "%s %d %d %d\n", fmtname(path), st.type, st.ino, st.size); type 66 ls.c printf(1, "%s %d %d %d\n", fmtname(buf), st.type, st.ino, st.size); type 41 mkfs.c uint ialloc(ushort type); type 224 mkfs.c ialloc(ushort type) type 230 mkfs.c din.type = xshort(type); type 30 mmu.h uint type : 4; // Segment type (see STS_ constants) type 43 mmu.h #define SEG(type, base, lim, dpl) (struct segdesc) \ type 45 mmu.h ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \ type 47 mmu.h #define SEG16(type, base, lim, dpl) (struct segdesc) \ type 49 mmu.h ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \ type 153 mmu.h uint type : 4; // type(STS_{IG32,TG32}) type 174 mmu.h (gate).type = (istrap) ? STS_TG32 : STS_IG32; \ type 9 mp.h uchar type; // MP system config type type 30 mp.h uchar type; // entry type (0) type 41 mp.h uchar type; // entry type (2) type 38 pipe.c (*f0)->type = FD_PIPE; type 42 pipe.c (*f1)->type = FD_PIPE; type 17 sh.c int type; type 21 sh.c int type; type 27 sh.c int type; type 36 sh.c int type; type 42 sh.c int type; type 48 sh.c int type; type 70 sh.c switch(cmd->type){ type 202 sh.c cmd->type = EXEC; type 213 sh.c cmd->type = REDIR; type 229 sh.c cmd->type = PIPE; type 242 sh.c cmd->type = LIST; type 255 sh.c cmd->type = BACK; type 462 sh.c switch(cmd->type){ type 6 stat.h short type; // Type of file type 134 sysfile.c if(ip->type == T_DIR){ type 213 sysfile.c if(ip->type == T_DIR && !isdirempty(ip)){ type 221 sysfile.c if(ip->type == T_DIR){ type 242 sysfile.c create(char *path, short type, short major, short minor) type 254 sysfile.c if(type == T_FILE && ip->type == T_FILE) type 260 sysfile.c if((ip = ialloc(dp->dev, type)) == 0) type 269 sysfile.c if(type == T_DIR){ // Create . and .. entries. type 310 sysfile.c if(ip->type == T_DIR && omode != O_RDONLY){ type 327 sysfile.c f->type = FD_INODE; type 384 sysfile.c if(ip->type != T_DIR){