Home
last modified time | relevance | path

Searched refs:lockObject (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_locks.c587 char lockObject[LOCK_OBJECT_MAXLEN+2]; in _z_lock_zone_object() local
622 lockObject, sizeof (lockObject)); in _z_lock_zone_object()
628 if (strcmp(lockObject, a_lockObject) == 0) { in _z_lock_zone_object()
630 lockObject, lockKey); in _z_lock_zone_object()
635 _z_echoDebug(DBG_ZONES_LCK_OBJ_NOTFOUND, lockObject, in _z_lock_zone_object()
880 char lockObject[LOCK_OBJECT_MAXLEN+2]; in _z_unlock_zone_object() local
919 lockObject, sizeof (lockObject)); in _z_unlock_zone_object()
925 if (strcmp(lockObject, a_lockObject) == 0) { in _z_unlock_zone_object()
926 _z_echoDebug(DBG_ZONES_ULK_OBJ_FOUND, lockObject, in _z_unlock_zone_object()
932 _z_echoDebug(DBG_ZONES_ULK_OBJ_NOTFOUND, lockObject, lockKey); in _z_unlock_zone_object()
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c144 char lockObject[LOCK_OBJECT_MAXLEN+1]; member
554 theLock._lrLock.lockObject); in admin_lock()
688 a_theLock->_lrLock.lockObject, in lock_acquire()
915 pll->lockObject, pll->lockKey, pll->lockPid, in lock_status()
928 (strcmp(pll->lockObject, a_object) != 0)) { in lock_status()
958 *pll->lockObject == '\0' ? "*" : pll->lockObject); in lock_status()
1655 pll->lockObject, pll->lockKey, pll->lockPid, in _findLock()
1660 if (_lockMatch(a_object, pll->lockObject) != 0) { in _findLock()
1751 (void) strlcpy(theLock._lrLock.lockObject, a_object, in _addLock()
1764 pos, theLock._lrLock.lockObject, theLock._lrLock.lockKey, in _addLock()
[all …]