Home
last modified time | relevance | path

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

12

/f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/freebsd/sys/
H A Dfile.h36 #define FEXCL O_EXCL
/f-stack/freebsd/contrib/openzfs/lib/libuutil/
H A Duu_open.c58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600); in uu_open_tmp()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dtmpfile_003_pos.c46 fd = open(penv[0], O_RDWR|O_TMPFILE|O_EXCL, 0666); in main()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mkfiles/
H A Dmkfiles.c54 if ((fd = open(buf, O_CREAT | O_EXCL, O_RDWR)) == -1) { in main()
/f-stack/freebsd/contrib/zlib/
H A Dgzlib.c105 #ifdef O_EXCL
152 #ifdef O_EXCL
236 #ifdef O_EXCL
237 (exclusive ? O_EXCL : 0) |
/f-stack/freebsd/contrib/zstd/zlibWrapper/
H A Dgzlib.c105 #ifdef O_EXCL
152 #ifdef O_EXCL
236 #ifdef O_EXCL
237 (exclusive ? O_EXCL : 0) |
/f-stack/freebsd/sys/
H A Dfcntl.h106 #define O_EXCL 0x0800 /* error if already exists */ macro
/f-stack/freebsd/contrib/openzfs/cmd/zpool/os/linux/
H A Dzpool_vdev_os.c328 flags |= O_EXCL; in check_disk()
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvnode.h129 #define FEXCL O_EXCL
/f-stack/freebsd/kern/
H A Duipc_sem.c553 if ((flags & (O_CREAT | O_EXCL)) == in ksem_create()
554 (O_CREAT | O_EXCL)) in ksem_create()
645 if ((uap->oflag & ~(O_CREAT | O_EXCL)) != 0) in sys_ksem_open()
982 if ((uap->oflag & ~(O_CREAT | O_EXCL)) != 0) in freebsd32_ksem_open()
H A Dvfs_vnops.c232 if ((fmode & (O_CREAT | O_EXCL | O_DIRECTORY)) == (O_CREAT | in vn_open_cred()
233 O_EXCL | O_DIRECTORY)) in vn_open_cred()
246 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0) in vn_open_cred()
256 if (fmode & O_EXCL) in vn_open_cred()
296 if (fmode & O_EXCL) { in vn_open_cred()
H A Duipc_shm.c1066 if ((flags & ~(O_ACCMODE | O_CREAT | O_EXCL | O_TRUNC | O_CLOEXEC)) != 0) in kern_shm_open2()
1173 else if ((flags & (O_CREAT | O_EXCL)) == in kern_shm_open2()
1174 (O_CREAT | O_EXCL)) in kern_shm_open2()
H A Duipc_mqueue.c2084 if ((flags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) { in kern_kmq_open()
H A Dkern_sig.c3700 flags |= O_EXCL; in corefile_open()
H A Dkern_descrip.c4219 { O_EXCL, KF_FLAG_EXCL }, in xlate_fflags()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c244 if ((fd = open(path, O_RDWR|O_DIRECT|O_EXCL)) < 0) { in zpool_label_disk()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c49 flags |= O_EXCL; in zfs_file_open()
/f-stack/freebsd/contrib/dev/acpica/os_specific/service_layers/
H A Dosunixxf.c898 Sem = sem_open (SemaphoreName, O_EXCL|O_CREAT, 0755, InitialUnits); in AcpiOsCreateSemaphore()
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c898 if ((fd = open(path, O_WRONLY|O_EXCL)) < 0) { in zero_label()
996 fd = open(devpath, O_RDWR|O_EXCL); in make_disks()
/f-stack/dpdk/drivers/raw/ifpga/base/
H A Dopae_hw_api.c330 shm_id = shm_open(shm_name, O_CREAT | O_EXCL | O_RDWR, 0666); in opae_shm_open()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_files.c281 fd = open((const char *) name, O_CREAT|O_EXCL|O_RDWR, in ngx_open_tempfile()
/f-stack/freebsd/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c1327 fd = open(slice->rn_name, O_RDONLY | O_EXCL); in zpool_find_import_impl()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c1027 if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR|O_EXCL)) < 0) {
/f-stack/app/redis-5.0.5/src/
H A Dreplication.c1844 dfd = open(tmpfile,O_CREAT|O_WRONLY|O_EXCL,0644); in syncWithMaster()
/f-stack/freebsd/contrib/openzfs/contrib/pyzfs/libzfs_core/test/
H A Dtest_libzfs_core.py139 fd = os.open('/dev/zfs', os.O_EXCL)

12