/xv6-public/ |
H A D | file.c | 70 f->type = FD_NONE; in fileclose() 73 if(ff.type == FD_PIPE) in fileclose() 75 else if(ff.type == FD_INODE){ in fileclose() 86 if(f->type == FD_INODE){ in filestat() 103 if(f->type == FD_PIPE) in fileread() 105 if(f->type == FD_INODE){ in fileread() 124 if(f->type == FD_PIPE) in filewrite() 126 if(f->type == FD_INODE){ in filewrite()
|
H A D | asm.h | 11 #define SEG_ASM(type,base,lim) \ argument 13 .byte (((base) >> 16) & 0xff), (0x90 | (type)), \
|
H A D | mmu.h | 30 uint type : 4; // Segment type (see STS_ constants) member 43 #define SEG(type, base, lim, dpl) (struct segdesc) \ argument 45 ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \ 47 #define SEG16(type, base, lim, dpl) (struct segdesc) \ argument 49 ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \ 153 uint type : 4; // type(STS_{IG32,TG32}) member 174 (gate).type = (istrap) ? STS_TG32 : STS_IG32; \
|
H A D | mp.h | 9 uchar type; // MP system config type member 30 uchar type; // entry type (0) member 41 uchar type; // entry type (2) member
|
H A D | file.h | 2 enum { FD_NONE, FD_PIPE, FD_INODE } type; member 20 short type; // copy of disk inode member
|
H A D | sysfile.c | 134 if(ip->type == T_DIR){ in sys_link() 213 if(ip->type == T_DIR && !isdirempty(ip)){ in sys_unlink() 221 if(ip->type == T_DIR){ in sys_unlink() 242 create(char *path, short type, short major, short minor) in create() argument 254 if(type == T_FILE && ip->type == T_FILE) in create() 260 if((ip = ialloc(dp->dev, type)) == 0) in create() 269 if(type == T_DIR){ // Create . and .. entries. in create() 310 if(ip->type == T_DIR && omode != O_RDONLY){ in sys_open() 327 f->type = FD_INODE; in sys_open() 384 if(ip->type != T_DIR){ in sys_chdir()
|
H A D | sh.c | 17 int type; member 21 int type; member 27 int type; member 36 int type; member 42 int type; member 48 int type; member 70 switch(cmd->type){ in runcmd() 202 cmd->type = EXEC; in execcmd() 229 cmd->type = PIPE; in pipecmd() 242 cmd->type = LIST; in listcmd() [all …]
|
H A D | elf.h | 9 ushort type; member 26 uint type; member
|
H A D | fs.c | 195 ialloc(uint dev, short type) in ialloc() argument 206 dip->type = type; in ialloc() 228 dip->type = ip->type; in iupdate() 301 ip->type = dip->type; in ilock() 309 if(ip->type == 0) in ilock() 342 ip->type = 0; in iput() 444 st->type = ip->type; in stati() 458 if(ip->type == T_DEV){ in readi() 487 if(ip->type == T_DEV){ in writei() 530 if(dp->type != T_DIR) in dirlookup() [all …]
|
H A D | ls.c | 44 switch(st.type){ in ls() 46 printf(1, "%s %d %d %d\n", fmtname(path), st.type, st.ino, st.size); in ls() 66 printf(1, "%s %d %d %d\n", fmtname(buf), st.type, st.ino, st.size); in ls()
|
H A D | stat.h | 6 short type; // Type of file member
|
H A D | fs.h | 30 short type; // File type member
|
H A D | pipe.c | 38 (*f0)->type = FD_PIPE; in pipealloc() 42 (*f1)->type = FD_PIPE; in pipealloc()
|
H A D | dot-bochsrc | 227 # type= type of attached device [disk|cdrom] 270 # ata3-slave: type=cdrom, path=iso.sample, status=inserted 274 #ata0-slave: type=cdrom, path=D:, status=inserted 275 #ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted 276 #ata0-slave: type=cdrom, path="drive", status=inserted 277 #ata0-slave: type=cdrom, path=/dev/rcd0d, status=inserted 358 # %e : 1 character event type ('i'nfo, 'd'ebug, 'p'anic, 'e'rror) 421 # mouse option setting 'type=serial' or 'type=serial_wheel') and 'socket' 537 # With the mouse type option you can select the type of mouse to emulate. 545 # mouse: enabled=1, type=imps2 [all …]
|
H A D | mkfs.c | 41 uint ialloc(ushort type); 224 ialloc(ushort type) in ialloc() argument 230 din.type = xshort(type); in ialloc()
|
H A D | exec.c | 46 if(ph.type != ELF_PROG_LOAD) in exec()
|
H A D | gdbutil | 175 EXPR must evaluate to a descriptor value. It can be of any C type. 187 printf "type = "
|