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 43 exec.c if(ph.type != ELF_PROG_LOAD)
type 69 file.c f->type = FD_NONE;
type 72 file.c if(ff.type == FD_PIPE)
type 74 file.c else if(ff.type == FD_INODE){
type 85 file.c if(f->type == FD_INODE){
type 102 file.c if(f->type == FD_PIPE)
type 104 file.c if(f->type == FD_INODE){
type 123 file.c if(f->type == FD_PIPE)
type 125 file.c if(f->type == FD_INODE){
type 2 file.h enum { FD_NONE, FD_PIPE, FD_INODE } type;
type 19 file.h short type; // copy of disk inode
type 177 fs.c ialloc(uint dev, short type)
type 186 fs.c if(dip->type == 0){ // a free inode
type 188 fs.c dip->type = type;
type 207 fs.c dip->type = ip->type;
type 284 fs.c ip->type = dip->type;
type 292 fs.c if(ip->type == 0)
type 328 fs.c ip->type = 0;
type 427 fs.c st->type = ip->type;
type 440 fs.c if(ip->type == T_DEV){
type 468 fs.c if(ip->type == T_DEV){
type 511 fs.c if(dp->type != T_DIR)
type 617 fs.c if(ip->type != T_DIR){
type 29 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 56 mmu.h uint type : 4; // Segment type (see STS_ constants)
type 69 mmu.h #define SEG(type, base, lim, dpl) (struct segdesc) \
type 71 mmu.h ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \
type 73 mmu.h #define SEG16(type, base, lim, dpl) (struct segdesc) \
type 75 mmu.h ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \
type 198 mmu.h uint type : 4; // type(STS_{TG,IG32,TG32})
type 219 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 37 pipe.c (*f0)->type = FD_PIPE;
type 41 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 203 sh.c cmd->type = EXEC;
type 214 sh.c cmd->type = REDIR;
type 230 sh.c cmd->type = PIPE;
type 243 sh.c cmd->type = LIST;
type 256 sh.c cmd->type = BACK;
type 463 sh.c switch(cmd->type){
type 6 stat.h short type; // Type of file
type 131 sysfile.c if(ip->type == T_DIR){
type 210 sysfile.c if(ip->type == T_DIR && !isdirempty(ip)){
type 218 sysfile.c if(ip->type == T_DIR){
type 239 sysfile.c create(char *path, short type, short major, short minor)
type 252 sysfile.c if(type == T_FILE && ip->type == T_FILE)
type 258 sysfile.c if((ip = ialloc(dp->dev, type)) == 0)
type 267 sysfile.c if(type == T_DIR){ // Create . and .. entries.
type 308 sysfile.c if(ip->type == T_DIR && omode != O_RDONLY){
type 325 sysfile.c f->type = FD_INODE;
type 382 sysfile.c if(ip->type != T_DIR){