Searched refs:O_EXLOCK (Results 1 - 21 of 21) sorted by relevance

/macosx-10.10/Libc-1044.1.2/db/db/FreeBSD/
H A Ddb.c59 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
/macosx-10.10/xar-254/xar/lib/
H A Ddata.c50 #ifndef O_EXLOCK
51 #define O_EXLOCK 0 macro
227 context.fd = open(file, O_RDWR|O_TRUNC|O_EXLOCK, 0600);
H A Darchive.c69 #ifndef O_EXLOCK
70 #define O_EXLOCK 0 macro
212 XAR(ret)->fd = open(file, O_WRONLY | O_CREAT | O_TRUNC | O_EXLOCK, 0644);
/macosx-10.10/diskdev_cmds-576/dev_mkdb.tproj/
H A Ddev_mkdb.c121 db = dbopen(dbtmp, O_CREAT|O_EXLOCK|O_RDWR|O_TRUNC,
/macosx-10.10/libutil-38/
H A Dpidfile.c115 O_WRONLY | O_CREAT | O_EXLOCK | O_TRUNC | O_NONBLOCK, mode);
/macosx-10.10/msdosfs-209.1.1/fsck_msdos.tproj/
H A Dcheck.c141 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR | O_EXLOCK, 0);
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dio.d157 inline int O_EXLOCK = 0x0020;
158 #pragma D binding "1.1" O_EXLOCK
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/
H A DSCPLock.c417 wait ? O_WRONLY|O_CREAT|O_EXLOCK
418 : O_WRONLY|O_CREAT|O_EXLOCK|O_NONBLOCK,
448 // O_EXLOCK *not* available, use SCDynamicStore
/macosx-10.10/diskdev_cmds-576/fdisk.tproj/
H A Ddisk.c102 fd = open(disk, mode|O_EXLOCK);
/macosx-10.10/system_cmds-643.1.1/passwd.tproj/
H A Dfile_passwd.c195 fd = open(fname, O_RDONLY | O_EXLOCK);
/macosx-10.10/hfs-285/fsck_hfs/
H A Dfsck_hfs.c672 if (nflag || quick || (fswritefd = open(dev, O_RDWR | (hotmount ? 0 : O_EXLOCK))) < 0) {
790 blockDevice_fd = open( (char *)myNamePtr, O_WRONLY | (hotmount ? 0 : O_EXLOCK) );
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dfcntl.h122 #define O_EXLOCK 0x0020 /* open with exclusive file lock */ macro
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_xattr.c1770 fileflags = FREAD | FWRITE | O_EXLOCK;
2119 fileflags |= O_EXLOCK;
2280 if (fileflags & O_EXLOCK)
2559 if ( (error = VNOP_OPEN(xvp, fileflags & ~(O_EXLOCK | O_SHLOCK), context))) {
2593 if (fileflags & (O_EXLOCK | O_SHLOCK)) {
2596 locktype = (fileflags & O_EXLOCK) ? F_WRLCK : F_RDLCK;
2644 if (fileflags & (O_EXLOCK | O_SHLOCK))
H A Dvfs_syscalls.c3367 if (flags & (O_EXLOCK | O_SHLOCK)) {
3371 if (flags & O_EXLOCK)
/macosx-10.10/hfs-285/CopyHFSMeta/
H A Dutil.c95 fd = open(dev.devname, O_RDONLY | (debug ? 0 : O_EXLOCK));
/macosx-10.10/xnu-2782.1.97/bsd/nfs/
H A Dnfs_syscalls.c692 if (fmode & (O_EXLOCK | O_SHLOCK)) {
696 if (fmode & O_EXLOCK)
H A Dnfs_vnops.c761 /* mode contains some combination of: FREAD, FWRITE, O_SHLOCK, O_EXLOCK */
767 if (ap->a_mode & O_EXLOCK)
1009 // XXX It would be nice if we still had the O_EXLOCK/O_SHLOCK flags that were on the open
1010 // if (fflag & O_EXLOCK)
/macosx-10.10/dyld-353.2.1/launch-cache/
H A Ddsc_extractor.cpp553 int fd = ::open(dylib_path, O_CREAT | O_EXLOCK | O_RDWR, 0644);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_mds/lib/
H A DMDSSession.cpp770 mFD = open(lockFile, O_EXLOCK | O_CREAT | O_RDWR, 0644);
/macosx-10.10/smb-759.0/kernel/smbfs/
H A Dsmbfs_vnops.c608 * O_EXLOCK -> denyRead/denyWrite is always cacheable since we have exclusive
623 if (fmode & O_EXLOCK) {
787 if ((fmode & O_EXLOCK) || (fmode & O_SHLOCK)) {
927 if ((mode & O_EXLOCK) || (mode & O_SHLOCK)) {
956 if (mode & O_EXLOCK) {
1069 * O_EXLOCK/O_SHLOCK code above.
1090 * O_EXLOCK/O_SHLOCK code above.
/macosx-10.10/IOStorageFamily-182.1.1/
H A DIOMediaBSDClient.cpp918 access |= (flags & O_EXLOCK) ? kIOStorageAccessExclusiveLock : 0;

Completed in 573 milliseconds