O_RDWR            361 kernel/sysfile.c   f->writable = (omode & O_WRONLY) || (omode & O_RDWR);
O_RDWR             88 mkfs/mkfs.c      fsfd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666);
O_RDWR             71 user/grind.c         close(open("grindir/../a", O_CREATE|O_RDWR));
O_RDWR             73 user/grind.c         close(open("grindir/../grindir/../b", O_CREATE|O_RDWR));
O_RDWR             85 user/grind.c         fd = open("/grindir/../a", O_CREATE|O_RDWR);
O_RDWR             88 user/grind.c         fd = open("/./grindir/./../b", O_CREATE|O_RDWR);
O_RDWR             95 user/grind.c         close(open("a/../a/./a", O_CREATE|O_RDWR));
O_RDWR             99 user/grind.c         close(open("grindir/../b/b", O_CREATE|O_RDWR));
O_RDWR            135 user/grind.c           close(open("a", O_CREATE|O_RDWR));
O_RDWR            187 user/grind.c           fd = open("x", O_CREATE|O_RDWR);
O_RDWR            199 user/grind.c         int fd1 = open("c", O_CREATE|O_RDWR);
O_RDWR             19 user/init.c      if(open("console", O_RDWR) < 0){
O_RDWR             21 user/init.c        open("console", O_RDWR);
O_RDWR            152 user/sh.c        while((fd = open("console", O_RDWR)) >= 0){
O_RDWR             33 user/stressfs.c   fd = open(path, O_CREATE | O_RDWR);
O_RDWR            504 user/usertests.c     int fd = open("oidir", O_RDWR);
O_RDWR            547 user/usertests.c   fd = open("small", O_CREATE|O_RDWR);
O_RDWR            586 user/usertests.c   fd = open("big", O_CREATE|O_RDWR);
O_RDWR            647 user/usertests.c     fd = open(name, O_CREATE|O_RDWR);
O_RDWR           1017 user/usertests.c         close(open("stopforking", O_CREATE|O_RDWR));
O_RDWR           1025 user/usertests.c   close(open("stopforking", O_CREATE|O_RDWR));
O_RDWR           1104 user/usertests.c   fd = open("sharedfd", O_CREATE|O_RDWR);
O_RDWR           1172 user/usertests.c       fd = open(fname, O_CREATE | O_RDWR);
O_RDWR           1238 user/usertests.c         fd = open(name, O_CREATE | O_RDWR);
O_RDWR           1297 user/usertests.c   fd = open("unlinkread", O_CREATE | O_RDWR);
O_RDWR           1305 user/usertests.c   fd = open("unlinkread", O_RDWR);
O_RDWR           1315 user/usertests.c   fd1 = open("unlinkread", O_CREATE | O_RDWR);
O_RDWR           1344 user/usertests.c   fd = open("lf1", O_CREATE|O_RDWR);
O_RDWR           1418 user/usertests.c       fd = open(file, O_CREATE | O_RDWR);
O_RDWR           1510 user/usertests.c       close(open("x", O_RDWR | O_CREATE));
O_RDWR           1536 user/usertests.c   fd = open("dd/ff", O_CREATE | O_RDWR);
O_RDWR           1554 user/usertests.c   fd = open("dd/dd/ff", O_CREATE | O_RDWR);
O_RDWR           1621 user/usertests.c   if(open("dd/ff/ff", O_CREATE|O_RDWR) >= 0){
O_RDWR           1625 user/usertests.c   if(open("dd/xx/ff", O_CREATE|O_RDWR) >= 0){
O_RDWR           1633 user/usertests.c   if(open("dd", O_RDWR) >= 0){
O_RDWR           1712 user/usertests.c     fd = open("bigwrite", O_CREATE | O_RDWR);
O_RDWR           1738 user/usertests.c   fd = open("bigfile.dat", O_CREATE | O_RDWR);
O_RDWR           1909 user/usertests.c   fd = open(".", O_RDWR);
O_RDWR           2360 user/usertests.c     int fd = open(name, O_CREATE|O_RDWR);
O_RDWR           2551 user/usertests.c   int fd = open(p, O_RDWR|O_CREATE);
O_RDWR           2554 user/usertests.c   fd = open(p, O_RDWR);
O_RDWR           2726 user/usertests.c           int fd = open(name, O_CREATE | O_RDWR);
O_RDWR           2847 user/usertests.c     int fd = open(name, O_CREATE|O_RDWR|O_TRUNC);
O_RDWR           2878 user/usertests.c     int fd = open(name, O_CREATE|O_RDWR|O_TRUNC);
O_RDWR           2923 user/usertests.c     int fd = open(name, O_CREATE|O_RDWR|O_TRUNC);