/Linux-v5.4/include/uapi/asm-generic/ |
D | fcntl.h | 32 #ifndef O_TRUNC 33 #define O_TRUNC 00001000 /* not fcntl */ macro
|
/Linux-v5.4/tools/include/uapi/asm-generic/ |
D | fcntl.h | 31 #ifndef O_TRUNC 32 #define O_TRUNC 00001000 /* not fcntl */ macro
|
/Linux-v5.4/arch/alpha/include/uapi/asm/ |
D | fcntl.h | 6 #define O_TRUNC 02000 /* not fcntl */ macro
|
/Linux-v5.4/arch/sparc/include/uapi/asm/ |
D | fcntl.h | 8 #define O_TRUNC 0x0400 /* not fcntl */ macro
|
/Linux-v5.4/arch/mips/include/uapi/asm/ |
D | fcntl.h | 18 #define O_TRUNC 0x0200 /* not fcntl */ macro
|
/Linux-v5.4/include/linux/ |
D | fcntl.h | 9 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
/Linux-v5.4/Documentation/filesystems/ |
D | mandatory-locking.txt | 92 O_TRUNC flag set should be rejected. The Linux implementation follows the SVID 93 definition, which is the "Right Thing", since only calls with O_TRUNC can 96 HP-UX even disallows open() with O_TRUNC for a file with advisory locks, not 134 4. Calls to open() with O_TRUNC, or to creat(), on a existing file that has
|
/Linux-v5.4/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.4/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
|
/Linux-v5.4/tools/testing/selftests/exec/ |
D | execveat.c | 141 int out_fd = open(dest, O_RDWR|O_CREAT|O_TRUNC, 0755); in exe_cp() 384 fd = open("subdir.ephemeral/script", O_RDWR|O_CREAT|O_TRUNC, 0755); in prerequisites()
|
/Linux-v5.4/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() 266 fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC, in open_file_write()
|
/Linux-v5.4/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.4/samples/bpf/ |
D | test_overhead_user.c | 39 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_task_rename()
|
/Linux-v5.4/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.4/tools/hv/ |
D | hv_fcopy_daemon.c | 75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744); in hv_start_fcopy()
|
/Linux-v5.4/arch/arm/vdso/ |
D | vdsomunge.c | 179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main()
|
/Linux-v5.4/kernel/trace/ |
D | trace_dynevent.c | 181 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) { in dyn_event_open()
|
/Linux-v5.4/fs/coda/ |
D | coda_linux.c | 57 if (flags & O_TRUNC) in coda_flags_to_cflags()
|
/Linux-v5.4/security/apparmor/include/ |
D | file.h | 229 if (flags & O_TRUNC) in aa_map_file_to_perms()
|
/Linux-v5.4/tools/io_uring/ |
D | io_uring-cp.c | 243 outfd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
|
/Linux-v5.4/arch/alpha/boot/tools/ |
D | objstrip.c | 99 ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666); in main()
|
/Linux-v5.4/tools/firmware/ |
D | ihex2fw.c | 120 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644); in main()
|
/Linux-v5.4/fs/nfs/ |
D | nfs4file.c | 66 if (openflags & O_TRUNC) { in nfs4_file_open()
|
/Linux-v5.4/tools/bpf/ |
D | bpf_jit_disasm.c | 306 ofd = open(ofile, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE); in main()
|
/Linux-v5.4/fs/ |
D | open.c | 812 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in do_dentry_open() 1003 if (flags & O_TRUNC) in build_open_flags() 1155 return ksys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); in SYSCALL_DEFINE2()
|