| /linux/tools/include/uapi/asm-generic/ |
| H A D | fcntl.h | |
| /linux/tools/testing/selftests/filesystems/mount_cycle/ |
| H A D | loop_cycle_test.c | 463 ifd = open(img, O_RDWR | O_CREAT | O_EXCL, 0600); in loop_mount() 573 lfd = open(self->dev, O_RDONLY | O_EXCL); in assert_loop_released() 676 ifd = openat(tfd, "img", O_RDWR | O_CREAT | O_EXCL, 0600); in TEST_F() 849 fd = open(at("img/wb.img"), O_RDWR | O_CREAT | O_EXCL, 0600); in holder_zram() 960 out = open(at("p/interp"), O_WRONLY | O_CREAT | O_EXCL, 0755); in holder_binfmt_misc() 1006 bfd = open(at("p/backing"), O_RDWR | O_CREAT | O_EXCL, 0600); in holder_fuse() 1162 fd = open(at("p/lun.img"), O_RDWR | O_CREAT | O_EXCL, 0600); in holder_gadget() 1241 fd = open(at("img/md.img"), O_RDWR | O_CREAT | O_EXCL, 0600); in holder_md() 1255 bfd = open(at("p/bitmap"), O_RDWR | O_CREAT | O_EXCL, 0600); in holder_md() 1378 ifd = open(HOLDER_IMG, O_RDWR | O_CREAT | O_EXCL, 0600); in holder_child()
|
| /linux/rust/kernel/fs/ |
| H A D | file.rs | 49 pub const O_EXCL: u32 = bindings::O_EXCL; constant
|
| /linux/include/uapi/linux/ |
| H A D | watch_queue.h | 9 #define O_NOTIFICATION_PIPE O_EXCL /* Parameter to pipe2() selecting notification pipe */
|
| /linux/fs/smb/client/ |
| H A D | dir.c | 315 if (oflags & O_EXCL) 600 (O_NOFOLLOW | __O_REGULAR) && !(oflags & O_EXCL)) { 616 (oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) 679 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; 1071 if (oflags & O_EXCL)
|
| H A D | file.c | 898 if (flags & O_EXCL) in _cifsFileInfo_put() 900 } else if (flags & O_EXCL) in _cifsFileInfo_put() 901 cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n", in _cifsFileInfo_put() 922 if ((flags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in _cifsFileInfo_put() 1024 * O_CREAT | O_EXCL FILE_CREATE in cifs_do_truncate() 1805 * O_CREAT, O_EXCL and O_TRUNC already had their effect on the in cifs_lock_add_if() 1809 ~(O_CREAT | O_EXCL | O_TRUNC); in cifs_lock_add_if() 3163 oflags &= ~(O_CREAT | O_EXCL | O_TRUN in cifs_strict_readv() [all...] |
| /linux/arch/x86/kernel/cpu/mce/ |
| H A D | dev-mcelog.c | 132 (mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in mce_chrdev_open() 138 if (file->f_flags & O_EXCL) in mce_chrdev_open()
|
| /linux/drivers/xen/ |
| H A D | mcelog.c | 79 (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in xen_mce_chrdev_open() 85 if (file->f_flags & O_EXCL) in xen_mce_chrdev_open()
|
| /linux/tools/testing/selftests/mqueue/ |
| H A 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/include/trace/misc/ |
| H A D | fs.h | 29 { O_EXCL, "O_EXCL" }, \
|
| /linux/tools/testing/selftests/filelock/ |
| H A D | ofdlocks.c | 39 int fd = open("/tmp/aa", O_RDWR | O_CREAT | O_EXCL, 0600); in main()
|
| /linux/fs/coda/ |
| H A D | file.c | 231 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open() 264 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
|
| H A D | coda_linux.c | 63 if (flags & O_EXCL) in coda_flags_to_cflags()
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | hardware_disable_test.c | 144 sem = sem_open("vm_sem", O_CREAT | O_EXCL, 0644, 0); in main()
|
| /linux/arch/um/os-Linux/ |
| H A D | mem.c | 146 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd.h | 196 #define PIDFD_THREAD O_EXCL
|
| /linux/drivers/thermal/intel/int340x_thermal/ |
| H A D | acpi_thermal_rel.c | 34 (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { in acpi_thermal_rel_open() 39 if (file->f_flags & O_EXCL) in acpi_thermal_rel_open()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | task_local_data.h | 164 tid_fd = syscall(SYS_pidfd_open, sys_gettid(), O_EXCL); in __tld_init_data_p()
|
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | scm_pidfd.c | 989 EXPECT_FALSE(msg.tgid_flags & O_EXCL); in TEST() 1007 EXPECT_FALSE(msg.tgid_flags & O_EXCL); in TEST() 1008 EXPECT_TRUE(msg.thread_flags & O_EXCL); in TEST()
|
| /linux/fs/pstore/ |
| H A D | blk.c | 212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); in __register_pstore_blk()
|
| /linux/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | |
| /linux/tools/testing/selftests/mm/ |
| H A D | rmap.c | 359 fd = open(data->filename, O_CREAT | O_RDWR | O_EXCL, 0666); in TEST_F()
|
| /linux/tools/testing/selftests/capabilities/ |
| H A D | test_execve.c | 151 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
|
| /linux/tools/testing/selftests/filesystems/openat2/ |
| H A D | openat2_test.c | 191 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in TEST_F()
|
| /linux/tools/power/acpi/os_specific/service_layers/ |
| H A D | osunixxf.c | 644 sem_open(semaphore_name, O_EXCL | O_CREAT, 0755, in acpi_os_create_semaphore()
|