Lines Matching refs:theLock
224 LOCK_T theLock; in admin_lock() local
552 tResult = lock_acquire(&theLock, &fd, RFlag, kFlag, oFlag, in admin_lock()
558 theLock._lrLock.lockKey); in admin_lock()
563 theLock._lrLock.lockObject); in admin_lock()
797 LOCK_T theLock; in lock_release() local
807 result = _findLock(&theLock, &recordNum, a_fd, a_object, a_key); in lock_release()
867 (void) _decrementLockCount(a_fd, &theLock); in lock_release()
898 LOCK_T theLock; in lock_status() local
911 pld = &theLock._lrLockData[0]; in lock_status()
912 pll = &theLock._lrLock; in lock_status()
913 pls = sizeof (theLock._lrLockData); in lock_status()
1735 LOCK_T theLock; in _addLock() local
1756 bzero(&theLock, sizeof (theLock)); in _addLock()
1760 (void) strlcpy(theLock._lrLock.lockObject, a_object, in _addLock()
1762 (void) strlcpy(theLock._lrLock.lockKey, key, LOCK_KEY_MAXLEN); in _addLock()
1763 theLock._lrLock.lockCount = 1; in _addLock()
1764 theLock._lrLock.lockPid = (a_pid > 0 ? a_pid : 0); in _addLock()
1765 theLock._lrLock.lockRecordNum = (pos == 0 ? 0 : (pos/sizeof (LOCK_T))); in _addLock()
1766 theLock._lrLock.lockExclusive = a_exclusive; in _addLock()
1767 theLock._lrLock.lockZoneId = (a_zid >= 0 ? a_zid : -1); in _addLock()
1773 pos, theLock._lrLock.lockObject, theLock._lrLock.lockKey, in _addLock()
1774 theLock._lrLock.lockPid, theLock._lrLock.lockZoneId); in _addLock()
1778 result = pwrite(a_fd, &theLock, LOCK_SIZE, pos); in _addLock()