Searched refs:O_CREAT (Results 1 - 25 of 105) sorted by relevance

12345

/linux-master/arch/parisc/include/uapi/asm/
H A Dfcntl.h6 #define O_CREAT 000000400 /* not fcntl */ macro
/linux-master/arch/alpha/include/uapi/asm/
H A Dfcntl.h5 #define O_CREAT 01000 /* not fcntl */ macro
/linux-master/arch/mips/include/uapi/asm/
H A Dfcntl.h17 #define O_CREAT 0x0100 /* not fcntl */ macro
/linux-master/tools/testing/selftests/efivarfs/
H A Dcreate-read.c26 fd = open(path, O_RDWR | O_CREAT, 0600);
H A Dopen-unlink.c89 fd = open(path, O_WRONLY | O_CREAT, 0600);
/linux-master/tools/testing/selftests/openat2/
H A Dopenat2_test.c167 /* O_TMPFILE is incompatible with O_PATH and O_CREAT. */
170 { .name = "incompatible flags (O_TMPFILE | O_CREAT)",
171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL },
183 { .name = "incompatible flags (O_PATH | O_CREAT)",
184 .how.flags = O_PATH | O_CREAT, .err = -EINVAL },
199 { .name = "valid how.mode and O_CREAT",
200 .how.flags = O_CREAT, .how.mode = 0600 },
204 { .name = "invalid how.mode and O_CREAT",
205 .how.flags = O_CREAT,
207 { .name = "invalid (very large) how.mode and O_CREAT",
[all...]
H A Dhelpers.c49 int fd = openat(dfd, path, O_CREAT, 0700);
/linux-master/arch/sparc/include/uapi/asm/
H A Dfcntl.h7 #define O_CREAT 0x0200 /* not fcntl */ macro
/linux-master/include/uapi/asm-generic/
H A Dfcntl.h23 #ifndef O_CREAT
24 #define O_CREAT 00000100 /* not fcntl */ macro
/linux-master/tools/include/uapi/asm-generic/
H A Dfcntl.h23 #ifndef O_CREAT
24 #define O_CREAT 00000100 /* not fcntl */ macro
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dfs_kfuncs.c20 fd = open(testfile, O_CREAT | O_RDONLY, 0644);
73 fd = open(testfile, O_CREAT | O_RDWR, 0644);
/linux-master/include/linux/
H A Dfcntl.h10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
/linux-master/tools/perf/trace/beauty/
H A Dopen_flags.c84 if (!(flags & O_CREAT))
/linux-master/tools/testing/selftests/timers/
H A Dmqueue-lat.c66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL);
/linux-master/include/trace/misc/
H A Dfs.h28 { O_CREAT, "O_CREAT" }, \
/linux-master/tools/testing/selftests/fchmodat2/
H A Dfchmodat2_test.c32 ret = openat(dfd, "regfile", O_CREAT | O_WRONLY | O_TRUNC, 0644);
/linux-master/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c215 int fd = shm_open(filename, O_CREAT | O_RDWR, 0600);
289 false, 4, O_CREAT | O_RDWR, 0600) == KSFT_PASS)
297 true, 4, O_CREAT | O_RDWR, 0600)) {
/linux-master/fs/smb/client/
H A Ddir.c288 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
290 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC))
292 else if ((oflags & O_CREAT) == O_CREAT)
461 if (!(oflags & O_CREAT)) {
509 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
560 unsigned oflags = O_EXCL | O_CREAT | O_RDW
[all...]
/linux-master/arch/powerpc/boot/
H A Dmktree.c87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait.c126 fd = open(SHM_PATH, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
/linux-master/tools/testing/selftests/filelock/
H A Dofdlocks.c39 int fd = open("/tmp/aa", O_RDWR | O_CREAT | O_EXCL, 0600);
/linux-master/tools/objtool/
H A Dobjtool.c38 d = open(name, O_CREAT|O_WRONLY|O_TRUNC, 0644);
/linux-master/tools/testing/selftests/firmware/
H A Dfw_namespace.c53 fd = open(fw_path, O_WRONLY | O_CREAT, 0600);
/linux-master/security/apparmor/include/
H A Dfile.h122 if (flags & O_CREAT)
/linux-master/arch/arm/vdso/
H A Dvdsomunge.c179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);

Completed in 187 milliseconds

12345