O_CREATE          319 kernel/sysfile.c   if(omode & O_CREATE){
O_CREATE           71 user/grind.c         close(open("grindir/../a", O_CREATE|O_RDWR));
O_CREATE           73 user/grind.c         close(open("grindir/../grindir/../b", O_CREATE|O_RDWR));
O_CREATE           85 user/grind.c         fd = open("/grindir/../a", O_CREATE|O_RDWR);
O_CREATE           88 user/grind.c         fd = open("/./grindir/./../b", O_CREATE|O_RDWR);
O_CREATE           95 user/grind.c         close(open("a/../a/./a", O_CREATE|O_RDWR));
O_CREATE           99 user/grind.c         close(open("grindir/../b/b", O_CREATE|O_RDWR));
O_CREATE          135 user/grind.c           close(open("a", O_CREATE|O_RDWR));
O_CREATE          187 user/grind.c           fd = open("x", O_CREATE|O_RDWR);
O_CREATE          199 user/grind.c         int fd1 = open("c", O_CREATE|O_RDWR);
O_CREATE          390 user/sh.c            cmd = redircmd(cmd, q, eq, O_WRONLY|O_CREATE|O_TRUNC, 1);
O_CREATE          393 user/sh.c            cmd = redircmd(cmd, q, eq, O_WRONLY|O_CREATE, 1);
O_CREATE           33 user/stressfs.c   fd = open(path, O_CREATE | O_RDWR);
O_CREATE           41 user/usertests.c     int fd = open("copyin1", O_CREATE|O_WRONLY);
O_CREATE          128 user/usertests.c     int fd = open((char *)addr, O_CREATE|O_WRONLY);
O_CREATE          154 user/usertests.c   int fd = open(b, O_CREATE | O_WRONLY);
O_CREATE          224 user/usertests.c   int fd = open(b, O_CREATE | O_WRONLY);
O_CREATE          263 user/usertests.c   fd = open("rwsbrk", O_CREATE|O_WRONLY);
O_CREATE          298 user/usertests.c   int fd1 = open("truncfile", O_CREATE|O_WRONLY|O_TRUNC);
O_CREATE          356 user/usertests.c   int fd1 = open("truncfile", O_CREATE|O_TRUNC|O_WRONLY);
O_CREATE          377 user/usertests.c   close(open("truncfile", O_CREATE|O_TRUNC|O_WRONLY));
O_CREATE          407 user/usertests.c     int fd = open("truncfile", O_CREATE|O_WRONLY|O_TRUNC);
O_CREATE          547 user/usertests.c   fd = open("small", O_CREATE|O_RDWR);
O_CREATE          586 user/usertests.c   fd = open("big", O_CREATE|O_RDWR);
O_CREATE          647 user/usertests.c     fd = open(name, O_CREATE|O_RDWR);
O_CREATE          696 user/usertests.c     fd = open("echo-ok", O_CREATE|O_WRONLY);
O_CREATE         1017 user/usertests.c         close(open("stopforking", O_CREATE|O_RDWR));
O_CREATE         1025 user/usertests.c   close(open("stopforking", O_CREATE|O_RDWR));
O_CREATE         1104 user/usertests.c   fd = open("sharedfd", O_CREATE|O_RDWR);
O_CREATE         1172 user/usertests.c       fd = open(fname, O_CREATE | O_RDWR);
O_CREATE         1238 user/usertests.c         fd = open(name, O_CREATE | O_RDWR);
O_CREATE         1297 user/usertests.c   fd = open("unlinkread", O_CREATE | O_RDWR);
O_CREATE         1315 user/usertests.c   fd1 = open("unlinkread", O_CREATE | O_RDWR);
O_CREATE         1344 user/usertests.c   fd = open("lf1", O_CREATE|O_RDWR);
O_CREATE         1418 user/usertests.c       fd = open(file, O_CREATE | O_RDWR);
O_CREATE         1510 user/usertests.c       close(open("x", O_RDWR | O_CREATE));
O_CREATE         1536 user/usertests.c   fd = open("dd/ff", O_CREATE | O_RDWR);
O_CREATE         1554 user/usertests.c   fd = open("dd/dd/ff", O_CREATE | O_RDWR);
O_CREATE         1621 user/usertests.c   if(open("dd/ff/ff", O_CREATE|O_RDWR) >= 0){
O_CREATE         1625 user/usertests.c   if(open("dd/xx/ff", O_CREATE|O_RDWR) >= 0){
O_CREATE         1629 user/usertests.c   if(open("dd", O_CREATE) >= 0){
O_CREATE         1712 user/usertests.c     fd = open("bigwrite", O_CREATE | O_RDWR);
O_CREATE         1738 user/usertests.c   fd = open("bigfile.dat", O_CREATE | O_RDWR);
O_CREATE         1799 user/usertests.c   fd = open("123456789012345/123456789012345/123456789012345", O_CREATE);
O_CREATE         1872 user/usertests.c   fd = open("dirfile", O_CREATE);
O_CREATE         1887 user/usertests.c   fd = open("dirfile/xx", O_CREATE);
O_CREATE         1941 user/usertests.c     fd = open("", O_CREATE);
O_CREATE         1944 user/usertests.c     fd = open("xx", O_CREATE);
O_CREATE         2249 user/usertests.c   fd = open("sbrk", O_CREATE|O_WRONLY);
O_CREATE         2322 user/usertests.c     fd = open("bigarg-ok", O_CREATE);
O_CREATE         2360 user/usertests.c     int fd = open(name, O_CREATE|O_RDWR);
O_CREATE         2551 user/usertests.c   int fd = open(p, O_RDWR|O_CREATE);
O_CREATE         2671 user/usertests.c   fd = open("bd", O_CREATE);
O_CREATE         2726 user/usertests.c           int fd = open(name, O_CREATE | O_RDWR);
O_CREATE         2768 user/usertests.c     int fd = open("junk", O_CREATE|O_WRONLY);
O_CREATE         2778 user/usertests.c   int fd = open("junk", O_CREATE|O_WRONLY);
O_CREATE         2847 user/usertests.c     int fd = open(name, O_CREATE|O_RDWR|O_TRUNC);
O_CREATE         2878 user/usertests.c     int fd = open(name, O_CREATE|O_RDWR|O_TRUNC);
O_CREATE         2923 user/usertests.c     int fd = open(name, O_CREATE|O_RDWR|O_TRUNC);