Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/mp/
Dlos_lockdep.c43 #define LOCKDEP_GET_NAME(lockDep, index) (((SPIN_LOCK_S *)((lockDep)->heldLocks[(index)].lockPtr…
44 #define LOCKDEP_GET_ADDR(lockDep, index) ((lockDep)->heldLocks[(index)].lockAddr)
147 if (lockDep->heldLocks[i].lockPtr == lock) { in OsLockDepDumpLock()
230 lockDep->heldLocks[lockDep->lockDepth].lockAddr = requestAddr; in OsLockDepCheckIn()
231 lockDep->heldLocks[lockDep->lockDepth].waitTime = OsLockDepGetCycles(); /* start time */ in OsLockDepCheckIn()
246 HeldLocks *heldlock = &lockDep->heldLocks[lockDep->lockDepth]; in OsLockDepRecord()
293 heldlocks = &lockDep->heldLocks[0]; in OsLockDepCheckOut()
310 lockDep->heldLocks[depth] = lockDep->heldLocks[depth + 1]; in OsLockDepCheckOut()
332 lock = lockDep->heldLocks[lockDep->lockDepth - 1].lockPtr; in OsLockdepClearSpinlocks()
/kernel/liteos_a/kernel/include/
Dlos_lockdep.h64 HeldLocks heldLocks[MAX_LOCK_DEPTH]; member