O_TRUNC           155 kern/test/fstest.c 		flags |= O_TRUNC;
O_TRUNC           435 kern/test/fstest.c 	err = vfs_open(name, O_WRONLY|O_CREAT|O_TRUNC, 0664, &vn);
O_TRUNC            57 kern/vfs/device.c 	if (flags & (O_CREAT | O_TRUNC | O_EXCL | O_APPEND)) {
O_TRUNC            98 kern/vfs/vfspath.c 	if (openflags & O_TRUNC) {
O_TRUNC            56 user/bin/cp/cp.c 	tofd = open(to, O_WRONLY|O_CREAT|O_TRUNC);
O_TRUNC           105 user/testbin/badcall/driver.c 	fd = open(TESTFILE, O_RDWR|O_CREAT|O_TRUNC);
O_TRUNC            64 user/testbin/bigfile/bigfile.c 	fileid = open(filename, O_WRONLY|O_CREAT|O_TRUNC);
O_TRUNC           130 user/testbin/f_test/f_test.c 	fileid = open(BIGFILE_NAME, O_WRONLY|O_CREAT|O_TRUNC, 0664);
O_TRUNC           201 user/testbin/f_test/f_test.c 	fd = open(FNAME, O_WRONLY|O_CREAT|O_TRUNC, 0664);
O_TRUNC           265 user/testbin/f_test/f_test.c 		fd = open(dirname, O_WRONLY|O_CREAT|O_TRUNC, 0664);
O_TRUNC            58 user/testbin/filetest/filetest.c 	fd = open(argv[1], O_WRONLY|O_CREAT|O_TRUNC, 0664);
O_TRUNC           246 user/testbin/psort/psort.c 	fd = doopen(path, O_WRONLY|O_CREAT|O_TRUNC, 0664);
O_TRUNC           628 user/testbin/psort/psort.c 		outfds[i] = doopen(name, O_WRONLY|O_CREAT|O_TRUNC, 0664);
O_TRUNC           708 user/testbin/psort/psort.c 	outfd = doopen(outname, O_WRONLY|O_CREAT|O_TRUNC, 0664);
O_TRUNC           987 user/testbin/psort/psort.c 	fd = doopen(name, O_WRONLY|O_CREAT|O_TRUNC, 0664);
O_TRUNC           237 user/testbin/rmdirtest/rmdirtest.c 	fd = open("newfile", O_WRONLY|O_CREAT|O_TRUNC, 0664);
O_TRUNC           107 user/testbin/rmtest/rmtest.c 	file = open(TEST, O_WRONLY | O_CREAT | O_TRUNC, 0664);
O_TRUNC            33 user/uw-testbin/conc-io/conc-io.c   rval = open("TESTFILE", O_RDWR | O_CREAT | O_TRUNC);
O_TRUNC            34 user/uw-testbin/files1/files1.c   f1 = open("FILE1", O_RDWR | O_CREAT | O_TRUNC);
O_TRUNC            38 user/uw-testbin/files1/files1.c   f2 = open("FILE2", O_RDWR | O_CREAT | O_TRUNC);
O_TRUNC            51 user/uw-testbin/files2/files2.c   rc = open("FILE1", O_RDWR | O_CREAT | O_TRUNC);
O_TRUNC            55 user/uw-testbin/files2/files2.c   rc = open("FILE2", O_RDWR | O_CREAT | O_TRUNC);