type                9 kernel/elf.h     ushort type;
type               26 kernel/elf.h     uint32 type;
type               56 kernel/exec.c      if(ph.type != ELF_PROG_LOAD)
type               73 kernel/file.c    f->type = FD_NONE;
type               76 kernel/file.c    if(ff.type == FD_PIPE){
type               78 kernel/file.c    } else if(ff.type == FD_INODE || ff.type == FD_DEVICE){
type               93 kernel/file.c    if(f->type == FD_INODE || f->type == FD_DEVICE){
type              114 kernel/file.c    if(f->type == FD_PIPE){
type              116 kernel/file.c    } else if(f->type == FD_DEVICE){
type              120 kernel/file.c    } else if(f->type == FD_INODE){
type              142 kernel/file.c    if(f->type == FD_PIPE){
type              144 kernel/file.c    } else if(f->type == FD_DEVICE){
type              148 kernel/file.c    } else if(f->type == FD_INODE){
type                2 kernel/file.h    enum { FD_NONE, FD_PIPE, FD_INODE, FD_DEVICE } type;
type               24 kernel/file.h    short type;         // copy of disk inode
type              199 kernel/fs.c    ialloc(uint dev, short type)
type              208 kernel/fs.c        if(dip->type == 0){  // a free inode
type              210 kernel/fs.c          dip->type = type;
type              233 kernel/fs.c      dip->type = ip->type;
type              306 kernel/fs.c        ip->type = dip->type;
type              314 kernel/fs.c        if(ip->type == 0)
type              351 kernel/fs.c        ip->type = 0;
type              462 kernel/fs.c      st->type = ip->type;
type              557 kernel/fs.c      if(dp->type != T_DIR)
type              663 kernel/fs.c        if(ip->type != T_DIR){
type               33 kernel/fs.h      short type;           // File type
type               38 kernel/pipe.c    (*f0)->type = FD_PIPE;
type               42 kernel/pipe.c    (*f1)->type = FD_PIPE;
type                8 kernel/stat.h    short type;  // Type of file
type              139 kernel/sysfile.c   if(ip->type == T_DIR){
type              217 kernel/sysfile.c   if(ip->type == T_DIR && !isdirempty(ip)){
type              225 kernel/sysfile.c   if(ip->type == T_DIR){
type              246 kernel/sysfile.c create(char *path, short type, short major, short minor)
type              259 kernel/sysfile.c     if(type == T_FILE && (ip->type == T_FILE || ip->type == T_DEVICE))
type              265 kernel/sysfile.c   if((ip = ialloc(dp->dev, type)) == 0){
type              276 kernel/sysfile.c   if(type == T_DIR){  // Create . and .. entries.
type              285 kernel/sysfile.c   if(type == T_DIR){
type              331 kernel/sysfile.c     if(ip->type == T_DIR && omode != O_RDONLY){
type              338 kernel/sysfile.c   if(ip->type == T_DEVICE && (ip->major < 0 || ip->major >= NDEV)){
type              352 kernel/sysfile.c   if(ip->type == T_DEVICE){
type              353 kernel/sysfile.c     f->type = FD_DEVICE;
type              356 kernel/sysfile.c     f->type = FD_INODE;
type              363 kernel/sysfile.c   if((omode & O_TRUNC) && ip->type == T_FILE){
type              422 kernel/sysfile.c   if(ip->type != T_DIR){
type               93 kernel/virtio.h   uint32 type; // VIRTIO_BLK_T_IN or ..._OUT
type              241 kernel/virtio_disk.c     buf0->type = VIRTIO_BLK_T_OUT; // write the disk
type              243 kernel/virtio_disk.c     buf0->type = VIRTIO_BLK_T_IN; // read the disk
type               41 mkfs/mkfs.c    uint ialloc(ushort type);
type              223 mkfs/mkfs.c    ialloc(ushort type)
type              229 mkfs/mkfs.c      din.type = xshort(type);
type               45 user/ls.c        switch(st.type){
type               48 user/ls.c          printf("%s %d %d %d\n", fmtname(path), st.type, st.ino, (int) st.size);
type               68 user/ls.c            printf("%s %d %d %d\n", fmtname(buf), st.type, st.ino, (int) st.size);
type               17 user/sh.c        int type;
type               21 user/sh.c        int type;
type               27 user/sh.c        int type;
type               36 user/sh.c        int type;
type               42 user/sh.c        int type;
type               48 user/sh.c        int type;
type               71 user/sh.c        switch(cmd->type){
type              203 user/sh.c        cmd->type = EXEC;
type              214 user/sh.c        cmd->type = REDIR;
type              230 user/sh.c        cmd->type = PIPE;
type              243 user/sh.c        cmd->type = LIST;
type              256 user/sh.c        cmd->type = BACK;
type              463 user/sh.c        switch(cmd->type){