Home
last modified time | relevance | path

Searched refs:O_TRUNC (Results 1 – 25 of 87) sorted by relevance

1234

/linux-5.19.10/tools/include/uapi/asm-generic/
Dfcntl.h32 #ifndef O_TRUNC
33 #define O_TRUNC 00001000 /* not fcntl */ macro
/linux-5.19.10/include/uapi/asm-generic/
Dfcntl.h32 #ifndef O_TRUNC
33 #define O_TRUNC 00001000 /* not fcntl */ macro
/linux-5.19.10/arch/mips/include/uapi/asm/
Dfcntl.h18 #define O_TRUNC 0x0200 /* not fcntl */ macro
/linux-5.19.10/arch/alpha/include/uapi/asm/
Dfcntl.h6 #define O_TRUNC 02000 /* not fcntl */ macro
/linux-5.19.10/arch/sparc/include/uapi/asm/
Dfcntl.h8 #define O_TRUNC 0x0400 /* not fcntl */ macro
/linux-5.19.10/include/linux/
Dfcntl.h10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
/linux-5.19.10/include/trace/events/
Dfs.h31 { O_TRUNC, "O_TRUNC" }, \
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Draw_tp_test_run.c35 comm_fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_raw_tp_test_run()
Dtest_overhead.c24 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_task_rename()
/linux-5.19.10/fs/vboxsf/
Dfile.c72 if (file->f_flags & O_TRUNC) in vboxsf_file_open()
78 if (file->f_flags & O_TRUNC) in vboxsf_file_open()
/linux-5.19.10/tools/objtool/
Dobjtool.c38 d = open(name, O_CREAT|O_WRONLY|O_TRUNC, 0644); in objtool_create_backup()
/linux-5.19.10/tools/include/nolibc/
Darch-arm.h17 #define O_TRUNC 0x200 macro
Darch-i386.h17 #define O_TRUNC 0x200 macro
Darch-mips.h17 #define O_TRUNC 0x0200 macro
Darch-riscv.h17 #define O_TRUNC 0x1000 macro
Darch-aarch64.h17 #define O_TRUNC 0x200 macro
Darch-x86_64.h17 #define O_TRUNC 0x200 macro
/linux-5.19.10/arch/powerpc/boot/
Dmktree.c87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) { in main()
/linux-5.19.10/tools/testing/selftests/kcmp/
Dkcmp_test.c42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
/linux-5.19.10/tools/testing/selftests/exec/
Dexecveat.c143 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-5.19.10/tools/testing/selftests/bpf/benchs/
Dbench_rename.c56 ctx.fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in setup_ctx()
/linux-5.19.10/kernel/trace/
Dtrace_recursion_record.c187 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) { in recursed_function_open()
/linux-5.19.10/tools/usb/usbip/src/
Dusbip_attach.c63 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU); in record_connection()
/linux-5.19.10/arch/arm/vdso/
Dvdsomunge.c179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main()
/linux-5.19.10/tools/perf/util/
Ddata.c56 ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR); in perf_data__create_dir()
291 fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC, in open_file_write()

1234