Home
last modified time | relevance | path

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

12345

/linux-5.19.10/tools/testing/selftests/openat2/
Dopenat2_test.c171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
184 .how.flags = O_PATH | O_CREAT, .err = -EINVAL }, in test_openat2_flags()
200 .how.flags = O_CREAT, .how.mode = 0600 }, in test_openat2_flags()
205 .how.flags = O_CREAT, in test_openat2_flags()
208 .how.flags = O_CREAT, in test_openat2_flags()
228 .how.flags = O_CREAT, in test_openat2_flags()
258 path = (test->how.flags & O_CREAT) ? "/tmp/ksft.openat2_tmpfile" : "."; in test_openat2_flags()
291 if (test->how.flags & O_CREAT) in test_openat2_flags()
292 fdflags |= O_CREAT; in test_openat2_flags()
Dresolve_test.c286 .path = "newfile1", .how.flags = O_CREAT, in test_openat2_opath_tests()
291 .path = "/newfile2", .how.flags = O_CREAT, in test_openat2_opath_tests()
296 .path = "/creatlink", .how.flags = O_CREAT, in test_openat2_opath_tests()
455 if (!(test->how.flags & O_CREAT)) in test_openat2_opath_tests()
Dhelpers.c49 int fd = openat(dfd, path, O_CREAT, 0700); in touchat()
/linux-5.19.10/tools/include/uapi/asm-generic/
Dfcntl.h23 #ifndef O_CREAT
24 #define O_CREAT 00000100 /* not fcntl */ macro
94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
/linux-5.19.10/include/uapi/asm-generic/
Dfcntl.h23 #ifndef O_CREAT
24 #define O_CREAT 00000100 /* not fcntl */ macro
94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
/linux-5.19.10/fs/cifs/
Ddir.c272 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
274 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) in cifs_do_create()
276 else if ((oflags & O_CREAT) == O_CREAT) in cifs_do_create()
437 if (!(oflags & O_CREAT)) { in cifs_atomic_open()
486 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open()
536 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create()
/linux-5.19.10/arch/parisc/include/uapi/asm/
Dfcntl.h6 #define O_CREAT 000000400 /* not fcntl */ macro
/linux-5.19.10/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()
/linux-5.19.10/arch/mips/include/uapi/asm/
Dfcntl.h17 #define O_CREAT 0x0100 /* not fcntl */ macro
/linux-5.19.10/arch/alpha/include/uapi/asm/
Dfcntl.h5 #define O_CREAT 01000 /* not fcntl */ macro
/linux-5.19.10/arch/sparc/include/uapi/asm/
Dfcntl.h7 #define O_CREAT 0x0200 /* not fcntl */ macro
/linux-5.19.10/tools/testing/selftests/vm/
Dhugepage-mmap.c70 fd = open(FILE_NAME, O_CREAT | O_RDWR, 0755); in main()
/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/tools/testing/selftests/timers/
Dmqueue-lat.c66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL); in mqueue_lat_test()
/linux-5.19.10/include/trace/events/
Dfs.h28 { O_CREAT, "O_CREAT" }, \
/linux-5.19.10/tools/perf/trace/beauty/
Dopen_flags.c84 if (!(flags & O_CREAT)) in syscall_arg__scnprintf_open_flags()
/linux-5.19.10/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()
/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.h14 #define O_CREAT 0x40 macro
Darch-i386.h14 #define O_CREAT 0x40 macro
Darch-mips.h16 #define O_CREAT 0x0100 macro
/linux-5.19.10/tools/testing/selftests/firmware/
Dfw_namespace.c57 fd = open(fw_path, O_WRONLY | O_CREAT, 0600); in setup_fw()
/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()

12345