Home
last modified time | relevance | path

Searched refs:O_CREAT (Results 1 – 25 of 32) sorted by relevance

12

/tools/include/uapi/asm-generic/
Dfcntl.h22 #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/
Dcreate-read.c26 fd = open(path, O_RDWR | O_CREAT, 0600); in main()
Dopen-unlink.c89 fd = open(path, O_WRONLY | O_CREAT, 0600); in main()
/tools/testing/selftests/vm/
Dhugepage-mmap.c70 fd = open(FILE_NAME, O_CREAT | O_RDWR, 0755); in main()
Dgup_benchmark.c81 filed = open(file, O_RDWR|O_CREAT); in main()
/tools/testing/selftests/timers/
Dmqueue-lat.c66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL); in mqueue_lat_test()
/tools/perf/trace/beauty/
Dopen_flags.c84 if (!(flags & O_CREAT)) in syscall_arg__scnprintf_open_flags()
/tools/testing/selftests/kcmp/
Dkcmp_test.c42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
/tools/testing/selftests/mqueue/
Dmq_open_tests.c202 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue()
224 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue_fail()
Dmq_perf_tests.c291 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; in open_queue()
/tools/usb/usbip/src/
Dusbip_attach.c63 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU); in record_connection()
/tools/hv/
Dhv_fcopy_daemon.c75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744); in hv_start_fcopy()
/tools/testing/selftests/exec/
Dexecveat.c141 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/
Ddata.c57 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()
Dgenelf.c542 fd = open(options.output, O_CREAT|O_TRUNC|O_RDWR, 0666); in main()
/tools/include/nolibc/
Dnolibc.h444 #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/
Dio_uring-cp.c243 outfd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
/tools/firmware/
Dihex2fw.c120 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644); in main()
/tools/bpf/
Dbpf_jit_disasm.c306 ofd = open(ofile, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE); in main()
/tools/perf/jvmti/
Djvmti_agent.c284 fd = open(dump_path, O_CREAT|O_TRUNC|O_RDWR, 0666); in jvmti_open()
/tools/testing/selftests/capabilities/
Dtest_execve.c160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
/tools/spi/
Dspidev_test.c149 out_fd = open(output_file, O_WRONLY | O_CREAT | O_TRUNC, 0666); in transfer()
/tools/testing/selftests/memfd/
Dmemfd_test.c450 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/
Dosunixxf.c644 sem_open(semaphore_name, O_EXCL | O_CREAT, 0755, in acpi_os_create_semaphore()
/tools/accounting/
Dgetdelays.c377 fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, in main()

12