Home
last modified time | relevance | path

Searched refs:O_EXCL (Results 1 – 25 of 46) sorted by relevance

12

/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/rust/kernel/fs/
H A Dfile.rs49 pub const O_EXCL: u32 = bindings::O_EXCL; constant
/linux/include/uapi/linux/
H A Dwatch_queue.h9 #define O_NOTIFICATION_PIPE O_EXCL /* Parameter to pipe2() selecting notification pipe */
/linux/arch/x86/kernel/cpu/mce/
H A Ddev-mcelog.c132 (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/tools/testing/selftests/mqueue/
H A 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/include/trace/misc/
H A Dfs.h29 { O_EXCL, "O_EXCL" }, \
/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c39 int fd = open("/tmp/aa", O_RDWR | O_CREAT | O_EXCL, 0600); in main()
/linux/fs/coda/
H A Dfile.c230 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open()
263 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
H A Dcoda_linux.c63 if (flags & O_EXCL) in coda_flags_to_cflags()
/linux/tools/testing/selftests/kvm/
H A Dhardware_disable_test.c141 sem = sem_open("vm_sem", O_CREAT | O_EXCL, 0644, 0); in wait_for_child_setup()
/linux/arch/um/os-Linux/
H A Dmem.c146 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd.h180 #define PIDFD_THREAD O_EXCL
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtask_local_data.h164 tid_fd = syscall(SYS_pidfd_open, sys_gettid(), O_EXCL); in __tld_init_data_p()
/linux/drivers/thermal/intel/int340x_thermal/
H A Dacpi_thermal_rel.c34 (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/fs/pstore/
H A Dblk.c212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); in __register_pstore_blk()
/linux/tools/testing/selftests/coredump/
H A Dcoredump_test_helpers.c304 return openat(fd_tmpfs_detached, ".", O_TMPFILE | O_RDWR | O_EXCL, 0600); in open_coredump_tmpfile()
/linux/tools/testing/selftests/openat2/
H A Dopenat2_test.c
/linux/tools/testing/selftests/mm/
H A Drmap.c359 fd = open(data->filename, O_CREAT | O_RDWR | O_EXCL, 0666); in TEST_F()
/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c151 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
/linux/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c644 sem_open(semaphore_name, O_EXCL | O_CREAT, 0755, in acpi_os_create_semaphore()
/linux/fs/nfs/
H A Dnfs4file.c55 openflags &= ~(O_CREAT|O_EXCL); in nfs4_file_open()
/linux/tools/perf/util/
H A Ddata-convert-json.c383 fd = open(output_name, O_CREAT | O_WRONLY | (opts->force ? O_TRUNC : O_EXCL), 0666); in bt_convert__perf2json()
/linux/drivers/scsi/
H A Dsg.c251 if (flags & O_EXCL) { in open_wait()
295 if ((flags & O_EXCL) && (O_RDONLY == (flags & O_ACCMODE))) in sg_open()
323 if (flags & O_EXCL) { in sg_open()
341 if (flags & O_EXCL) in sg_open()
365 if (flags & O_EXCL) { in sg_open()
/linux/tools/testing/selftests/cgroup/
H A Dcgroup_util.c
/linux/tools/testing/selftests/proc/
H A Dproc-pid-vm.c201 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()

12