/tools/include/uapi/asm-generic/ |
D | fcntl.h | 22 #ifndef O_CREAT 23 #define O_CREAT 00000100 /* not fcntl */ macro 93 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/tools/testing/selftests/efivarfs/ |
D | create-read.c | 26 fd = open(path, O_RDWR | O_CREAT, 0600); in main()
|
D | open-unlink.c | 89 fd = open(path, O_WRONLY | O_CREAT, 0600); in main()
|
/tools/testing/selftests/vm/ |
D | hugepage-mmap.c | 70 fd = open(FILE_NAME, O_CREAT | O_RDWR, 0755); in main()
|
D | gup_benchmark.c | 81 filed = open(file, O_RDWR|O_CREAT); in main()
|
/tools/testing/selftests/timers/ |
D | mqueue-lat.c | 66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL); in mqueue_lat_test()
|
/tools/perf/trace/beauty/ |
D | open_flags.c | 84 if (!(flags & O_CREAT)) in syscall_arg__scnprintf_open_flags()
|
/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
|
/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 202 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue() 224 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue_fail()
|
D | mq_perf_tests.c | 291 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; in open_queue()
|
/tools/usb/usbip/src/ |
D | usbip_attach.c | 63 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU); in record_connection()
|
/tools/hv/ |
D | hv_fcopy_daemon.c | 75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744); in hv_start_fcopy()
|
/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()
|
/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()
|
D | genelf.c | 542 fd = open(options.output, O_CREAT|O_TRUNC|O_RDWR, 0666); in main()
|
/tools/include/nolibc/ |
D | nolibc.h | 444 #define O_CREAT 0x40 macro 624 #define O_CREAT 0x40 macro 809 #define O_CREAT 0x40 macro 1006 #define O_CREAT 0x40 macro 1214 #define O_CREAT 0x0100 macro 1409 #define O_CREAT 0x100 macro
|
/tools/io_uring/ |
D | io_uring-cp.c | 243 outfd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
|
/tools/firmware/ |
D | ihex2fw.c | 120 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644); in main()
|
/tools/bpf/ |
D | bpf_jit_disasm.c | 306 ofd = open(ofile, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE); in main()
|
/tools/perf/jvmti/ |
D | jvmti_agent.c | 284 fd = open(dump_path, O_CREAT|O_TRUNC|O_RDWR, 0666); in jvmti_open()
|
/tools/testing/selftests/capabilities/ |
D | test_execve.c | 160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
|
/tools/spi/ |
D | spidev_test.c | 149 out_fd = open(output_file, O_WRONLY | O_CREAT | O_TRUNC, 0666); in transfer()
|
/tools/testing/selftests/memfd/ |
D | memfd_test.c | 450 O_RDWR | O_CREAT | O_TRUNC, in mfd_assert_shrink() 468 O_RDWR | O_CREAT | O_TRUNC, in mfd_fail_shrink()
|
/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 644 sem_open(semaphore_name, O_EXCL | O_CREAT, 0755, in acpi_os_create_semaphore()
|
/tools/accounting/ |
D | getdelays.c | 377 fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, in main()
|