Searched refs:O_EXLOCK (Results 1 - 21 of 21) sorted by relevance
/macosx-10.10.1/Libc-1044.1.2/db/db/FreeBSD/ |
H A D | db.c | 59 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
|
/macosx-10.10.1/xar-254/xar/lib/ |
H A D | data.c | 50 #ifndef O_EXLOCK 51 #define O_EXLOCK 0 macro 227 context.fd = open(file, O_RDWR|O_TRUNC|O_EXLOCK, 0600);
|
H A D | archive.c | 69 #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.1/diskdev_cmds-576/dev_mkdb.tproj/ |
H A D | dev_mkdb.c | 121 db = dbopen(dbtmp, O_CREAT|O_EXLOCK|O_RDWR|O_TRUNC,
|
/macosx-10.10.1/libutil-38/ |
H A D | pidfile.c | 115 O_WRONLY | O_CREAT | O_EXLOCK | O_TRUNC | O_NONBLOCK, mode);
|
/macosx-10.10.1/msdosfs-209.1.1/fsck_msdos.tproj/ |
H A D | check.c | 141 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR | O_EXLOCK, 0);
|
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/dtrace/scripts/ |
H A D | io.d | 157 inline int O_EXLOCK = 0x0020; 158 #pragma D binding "1.1" O_EXLOCK
|
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/ |
H A D | SCPLock.c | 417 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.1/diskdev_cmds-576/fdisk.tproj/ |
H A D | disk.c | 102 fd = open(disk, mode|O_EXLOCK);
|
/macosx-10.10.1/system_cmds-643.1.1/passwd.tproj/ |
H A D | file_passwd.c | 195 fd = open(fname, O_RDONLY | O_EXLOCK);
|
/macosx-10.10.1/hfs-285/fsck_hfs/ |
H A D | fsck_hfs.c | 672 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.1/xnu-2782.1.97/bsd/sys/ |
H A D | fcntl.h | 122 #define O_EXLOCK 0x0020 /* open with exclusive file lock */ macro
|
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_xattr.c | 1770 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 D | vfs_syscalls.c | 3367 if (flags & (O_EXLOCK | O_SHLOCK)) { 3371 if (flags & O_EXLOCK)
|
/macosx-10.10.1/hfs-285/CopyHFSMeta/ |
H A D | util.c | 95 fd = open(dev.devname, O_RDONLY | (debug ? 0 : O_EXLOCK));
|
/macosx-10.10.1/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_syscalls.c | 692 if (fmode & (O_EXLOCK | O_SHLOCK)) { 696 if (fmode & O_EXLOCK)
|
H A D | nfs_vnops.c | 761 /* 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.1/dyld-353.2.1/launch-cache/ |
H A D | dsc_extractor.cpp | 553 int fd = ::open(dylib_path, O_CREAT | O_EXLOCK | O_RDWR, 0644);
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_mds/lib/ |
H A D | MDSSession.cpp | 770 mFD = open(lockFile, O_EXLOCK | O_CREAT | O_RDWR, 0644);
|
/macosx-10.10.1/smb-759.0/kernel/smbfs/ |
H A D | smbfs_vnops.c | 608 * 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.1/IOStorageFamily-182.1.1/ |
H A D | IOMediaBSDClient.cpp | 918 access |= (flags & O_EXLOCK) ? kIOStorageAccessExclusiveLock : 0;
|
Completed in 216 milliseconds