/linux-master/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 6 #define O_TRUNC 02000 /* not fcntl */ macro
|
/linux-master/arch/mips/include/uapi/asm/ |
H A D | fcntl.h | 18 #define O_TRUNC 0x0200 /* not fcntl */ macro
|
/linux-master/arch/sparc/include/uapi/asm/ |
H A D | fcntl.h | 8 #define O_TRUNC 0x0400 /* not fcntl */ macro
|
/linux-master/include/uapi/asm-generic/ |
H A D | fcntl.h | 32 #ifndef O_TRUNC 33 #define O_TRUNC 00001000 /* not fcntl */ macro
|
/linux-master/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 32 #ifndef O_TRUNC 33 #define O_TRUNC 00001000 /* not fcntl */ macro
|
/linux-master/include/linux/ |
H A D | fcntl.h | 10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | raw_tp_test_run.c | 35 comm_fd = open("/proc/self/comm", O_WRONLY|O_TRUNC);
|
H A D | test_overhead.c | 24 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC);
|
/linux-master/include/trace/misc/ |
H A D | fs.h | 31 { O_TRUNC, "O_TRUNC" }, \
|
/linux-master/tools/testing/selftests/fchmodat2/ |
H A D | fchmodat2_test.c | 32 ret = openat(dfd, "regfile", O_CREAT | O_WRONLY | O_TRUNC, 0644);
|
/linux-master/arch/powerpc/boot/ |
H A D | mktree.c | 87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_rename.c | 56 ctx.fd = open("/proc/self/comm", O_WRONLY|O_TRUNC);
|
/linux-master/tools/objtool/ |
H A D | objtool.c | 38 d = open(name, O_CREAT|O_WRONLY|O_TRUNC, 0644);
|
/linux-master/security/apparmor/include/ |
H A D | file.h | 120 if (flags & O_TRUNC)
|
/linux-master/arch/arm/vdso/ |
H A D | vdsomunge.c | 179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
|
/linux-master/tools/hv/ |
H A D | hv_fcopy_daemon.c | 75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744);
|
/linux-master/kernel/trace/ |
H A D | trace_recursion_record.c | 187 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) {
|
/linux-master/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644);
|
/linux-master/tools/usb/usbip/src/ |
H A D | usbip_attach.c | 63 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU);
|
/linux-master/fs/vboxsf/ |
H A D | file.c | 72 if (file->f_flags & O_TRUNC) 78 if (file->f_flags & O_TRUNC)
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 1936 dst_fd = open(dst_path, O_WRONLY | O_TRUNC | O_CLOEXEC); 3455 * Checks read right: truncate and open with O_TRUNC work, unless the 3459 EXPECT_EQ(0, test_open(file_r, O_RDONLY | O_TRUNC)); 3460 EXPECT_EQ(EACCES, test_open(file_r, O_WRONLY | O_TRUNC)); 3464 * Checks write right: truncate and open with O_TRUNC work, unless the 3468 EXPECT_EQ(EACCES, test_open(file_w, O_RDONLY | O_TRUNC)); 3469 EXPECT_EQ(0, test_open(file_w, O_WRONLY | O_TRUNC)); 3477 EXPECT_EQ(EACCES, test_open(file_none, O_RDONLY | O_TRUNC)); 3478 EXPECT_EQ(EACCES, test_open(file_none, O_WRONLY | O_TRUNC)); 3539 EXPECT_EQ(0, test_open(file_rwt, O_RDONLY | O_TRUNC)); [all...] |
/linux-master/tools/perf/util/ |
H A D | data.c | 60 ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR); 306 fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC,
|
/linux-master/tools/testing/selftests/exec/ |
H A D | execveat.c | 157 int out_fd = open(dest, O_RDWR|O_CREAT|O_TRUNC, 0755); 406 fd = open("subdir.ephemeral/script", O_RDWR|O_CREAT|O_TRUNC, 0755);
|
/linux-master/tools/firmware/ |
H A D | ihex2fw.c | 120 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644);
|
/linux-master/tools/bpf/ |
H A D | bpf_jit_disasm.c | 309 ofd = open(ofile, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE);
|