/Linux-v5.4/include/uapi/asm-generic/ |
D | fcntl.h | 23 #ifndef O_CREAT 24 #define O_CREAT 00000100 /* not fcntl */ macro 94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/Linux-v5.4/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)
|
/Linux-v5.4/fs/cifs/ |
D | dir.c | 328 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create() 330 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) in cifs_do_create() 332 else if ((oflags & O_CREAT) == O_CREAT) in cifs_do_create() 490 if (!(oflags & O_CREAT)) { in cifs_atomic_open() 539 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open() 586 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create()
|
/Linux-v5.4/arch/parisc/include/uapi/asm/ |
D | fcntl.h | 7 #define O_CREAT 000000400 /* not fcntl */ macro
|
/Linux-v5.4/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()
|
/Linux-v5.4/arch/alpha/include/uapi/asm/ |
D | fcntl.h | 5 #define O_CREAT 01000 /* not fcntl */ macro
|
/Linux-v5.4/arch/sparc/include/uapi/asm/ |
D | fcntl.h | 7 #define O_CREAT 0x0200 /* not fcntl */ macro
|
/Linux-v5.4/arch/mips/include/uapi/asm/ |
D | fcntl.h | 17 #define O_CREAT 0x0100 /* not fcntl */ macro
|
/Linux-v5.4/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()
|
/Linux-v5.4/include/linux/ |
D | fcntl.h | 9 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
/Linux-v5.4/tools/testing/selftests/timers/ |
D | mqueue-lat.c | 66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL); in mqueue_lat_test()
|
/Linux-v5.4/tools/perf/trace/beauty/ |
D | open_flags.c | 84 if (!(flags & O_CREAT)) in syscall_arg__scnprintf_open_flags()
|
/Linux-v5.4/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()
|
/Linux-v5.4/arch/powerpc/boot/ |
D | mktree.c | 87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) { in main()
|
/Linux-v5.4/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
|
/Linux-v5.4/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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/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
|
/Linux-v5.4/tools/usb/usbip/src/ |
D | usbip_attach.c | 63 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU); in record_connection()
|
/Linux-v5.4/tools/hv/ |
D | hv_fcopy_daemon.c | 75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744); in hv_start_fcopy()
|
/Linux-v5.4/arch/arm/vdso/ |
D | vdsomunge.c | 179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main()
|
/Linux-v5.4/fs/ceph/ |
D | file.c | 40 ceph_sys2wire(O_CREAT); in ceph_flags_sys2wire() 187 int op = (flags & O_CREAT) ? CEPH_MDS_OP_CREATE : CEPH_MDS_OP_OPEN; in prepare_open_request() 189 if (flags & (O_WRONLY|O_RDWR|O_CREAT|O_TRUNC)) in prepare_open_request() 360 flags = file->f_flags & ~(O_CREAT|O_EXCL); in ceph_open() 456 if (flags & O_CREAT) { in ceph_atomic_open() 478 if (flags & O_CREAT) { in ceph_atomic_open() 495 (flags & (O_CREAT|O_TRUNC)) ? dir : NULL, in ceph_atomic_open() 501 if ((flags & O_CREAT) && !req->r_reply_info.head->is_dentry) in ceph_atomic_open()
|
/Linux-v5.4/fs/coda/ |
D | coda_linux.c | 60 if (flags & O_CREAT) in coda_flags_to_cflags()
|