/xv6-public/ |
H A D | usertests.c | 12 char name[3]; variable 251 name[0] = 'a'; in createtest() 252 name[2] = '\0'; in createtest() 258 name[0] = 'a'; in createtest() 259 name[2] = '\0'; in createtest() 262 unlink(name); in createtest() 588 char name[32]; in createdelete() local 626 name[0] = name[1] = name[2] = 0; in createdelete() 772 char name[14]; in concreate() member 806 if(de.name[0] == 'C' && de.name[2] == '\0'){ in concreate() [all …]
|
H A D | usys.S | 4 #define SYSCALL(name) \ argument 5 .globl name; \ 6 name: \ 7 movl $SYS_ ## name, %eax; \
|
H A D | sleeplock.c | 14 initsleeplock(struct sleeplock *lk, char *name) in initsleeplock() argument 17 lk->name = name; in initsleeplock()
|
H A D | toc.ftr | 5 on the same line as the name, the line number (or, in a few cases, numbers) 6 where the name is defined. Successive lines in an entry list the line 7 numbers where the name is used. For example, this entry:
|
H A D | sysfile.c | 121 char name[DIRSIZ], *new, *old; in sys_link() local 144 if((dp = nameiparent(new, name)) == 0) in sys_link() 147 if(dp->dev != ip->dev || dirlink(dp, name, ip->inum) < 0){ in sys_link() 189 char name[DIRSIZ], *path; in sys_unlink() local 196 if((dp = nameiparent(path, name)) == 0){ in sys_unlink() 204 if(namecmp(name, ".") == 0 || namecmp(name, "..") == 0) in sys_unlink() 207 if((ip = dirlookup(dp, name, &off)) == 0) in sys_unlink() 245 char name[DIRSIZ]; in create() local 247 if((dp = nameiparent(path, name)) == 0) in create() 251 if((ip = dirlookup(dp, name, 0)) != 0){ in create() [all …]
|
H A D | fs.c | 538 if(namecmp(name, de.name) == 0){ in dirlookup() 559 if((ip = dirlookup(dp, name, 0)) != 0){ in dirlink() 572 strncpy(de.name, name, DIRSIZ); in dirlink() 596 skipelem(char *path, char *name) in skipelem() argument 610 memmove(name, s, DIRSIZ); in skipelem() 612 memmove(name, s, len); in skipelem() 613 name[len] = 0; in skipelem() 662 char name[DIRSIZ]; in namei() local 663 return namex(path, 0, name); in namei() 667 nameiparent(char *path, char *name) in nameiparent() argument [all …]
|
H A D | spinlock.c | 13 initlock(struct spinlock *lk, char *name) in initlock() argument 15 lk->name = name; in initlock()
|
H A D | wc.c | 8 wc(int fd, char *name) in wc() argument 32 printf(1, "%d %d %d %s\n", l, w, c, name); in wc()
|
H A D | sleeplock.h | 7 char *name; // Name of lock. member
|
H A D | spinlock.h | 6 char *name; // Name of lock. member
|
H A D | proc.c | 142 safestrcpy(p->name, "initcode", sizeof(p->name)); in userinit() 211 safestrcpy(np->name, curproc->name, sizeof(curproc->name)); in fork() 295 p->name[0] = 0; in wait() 526 cprintf("%d %s %s", p->pid, state, p->name); in procdump()
|
H A D | fs.h | 55 char name[DIRSIZ]; member
|
H A D | proc.h | 51 char name[16]; // Process name (debugging) member
|
H A D | exec.c | 94 safestrcpy(curproc->name, last, sizeof(curproc->name)); in exec()
|
H A D | ls.c | 60 memmove(p, de.name, DIRSIZ); in ls()
|
H A D | trap.c | 92 myproc()->pid, myproc()->name, tf->trapno, in trap()
|
H A D | mkfs.c | 122 strcpy(de.name, "."); in main() 127 strcpy(de.name, ".."); in main() 149 strncpy(de.name, argv[i], DIRSIZ); in main()
|
H A D | syscall.c | 142 curproc->pid, curproc->name, num); in syscall()
|
H A D | dot-bochsrc | 181 # The path should be the name of a disk image file. On Unix, you can use a raw 182 # device name such as /dev/fd0 on Linux. On win32 platforms, use drive letters 574 #screenmode: name="sample" 591 # ethdev: The ethdev value is the name of the network interface on your host 592 # platform. On UNIX machines, you can get the name by running ifconfig. On 593 # Windows machines, you must run niclist to get the name of the ethdev. 597 # script: The script value is optional, and is the name of a script that 601 # Bochs execution. The network interface name is supplied to the script
|