/Linux-v5.10/tools/include/uapi/asm-generic/ |
D | fcntl.h | 31 #ifndef O_TRUNC 32 #define O_TRUNC 00001000 /* not fcntl */ macro
|
/Linux-v5.10/include/uapi/asm-generic/ |
D | fcntl.h | 32 #ifndef O_TRUNC 33 #define O_TRUNC 00001000 /* not fcntl */ macro
|
/Linux-v5.10/arch/alpha/include/uapi/asm/ |
D | fcntl.h | 6 #define O_TRUNC 02000 /* not fcntl */ macro
|
/Linux-v5.10/arch/sparc/include/uapi/asm/ |
D | fcntl.h | 8 #define O_TRUNC 0x0400 /* not fcntl */ macro
|
/Linux-v5.10/arch/mips/include/uapi/asm/ |
D | fcntl.h | 18 #define O_TRUNC 0x0200 /* not fcntl */ macro
|
/Linux-v5.10/include/linux/ |
D | fcntl.h | 10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | raw_tp_test_run.c | 38 comm_fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_raw_tp_test_run()
|
D | trampoline_count.c | 20 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_task_rename()
|
D | test_overhead.c | 24 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_task_rename()
|
/Linux-v5.10/fs/vboxsf/ |
D | file.c | 50 if (file->f_flags & O_TRUNC) in vboxsf_file_open() 56 if (file->f_flags & O_TRUNC) in vboxsf_file_open()
|
/Linux-v5.10/Documentation/filesystems/ |
D | mandatory-locking.rst | 99 O_TRUNC flag set should be rejected. The Linux implementation follows the SVID 100 definition, which is the "Right Thing", since only calls with O_TRUNC can 103 HP-UX even disallows open() with O_TRUNC for a file with advisory locks, not 141 4. Calls to open() with O_TRUNC, or to creat(), on a existing file that has
|
/Linux-v5.10/arch/powerpc/boot/ |
D | mktree.c | 87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) { in main()
|
/Linux-v5.10/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
|
/Linux-v5.10/tools/testing/selftests/exec/ |
D | execveat.c | 143 int out_fd = open(dest, O_RDWR|O_CREAT|O_TRUNC, 0755); in exe_cp() 390 fd = open("subdir.ephemeral/script", O_RDWR|O_CREAT|O_TRUNC, 0755); in prerequisites()
|
/Linux-v5.10/tools/perf/util/ |
D | data.c | 57 ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR); in perf_data__create_dir() 273 fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC, in open_file_write()
|
/Linux-v5.10/tools/include/nolibc/ |
D | nolibc.h | 447 #define O_TRUNC 0x200 macro 627 #define O_TRUNC 0x200 macro 812 #define O_TRUNC 0x200 macro 1009 #define O_TRUNC 0x200 macro 1215 #define O_TRUNC 0x0200 macro 1412 #define O_TRUNC 0x1000 macro
|
/Linux-v5.10/samples/bpf/ |
D | test_overhead_user.c | 39 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_task_rename()
|
/Linux-v5.10/tools/testing/selftests/bpf/benchs/ |
D | bench_rename.c | 56 ctx.fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in setup_ctx()
|
/Linux-v5.10/arch/arm/vdso/ |
D | vdsomunge.c | 179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main()
|
/Linux-v5.10/tools/usb/usbip/src/ |
D | usbip_attach.c | 63 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU); in record_connection()
|
/Linux-v5.10/tools/hv/ |
D | hv_fcopy_daemon.c | 75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744); in hv_start_fcopy()
|
/Linux-v5.10/fs/coda/ |
D | coda_linux.c | 57 if (flags & O_TRUNC) in coda_flags_to_cflags()
|
/Linux-v5.10/tools/io_uring/ |
D | io_uring-cp.c | 243 outfd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
|
/Linux-v5.10/security/apparmor/include/ |
D | file.h | 229 if (flags & O_TRUNC) in aa_map_file_to_perms()
|
/Linux-v5.10/arch/alpha/boot/tools/ |
D | objstrip.c | 99 ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666); in main()
|