Home
last modified time | relevance | path

Searched refs:SPIN_LOCK_S (Results 1 – 19 of 19) sorted by relevance

/kernel/liteos_a/kernel/include/
Dlos_spinlock.h57 } SPIN_LOCK_S; typedef
98 extern VOID LOS_SpinLock(SPIN_LOCK_S *lock);
117 extern INT32 LOS_SpinTrylock(SPIN_LOCK_S *lock);
135 extern VOID LOS_SpinUnlock(SPIN_LOCK_S *lock);
154 extern VOID LOS_SpinLockSave(SPIN_LOCK_S *lock, UINT32 *intSave);
173 extern VOID LOS_SpinUnlockRestore(SPIN_LOCK_S *lock, UINT32 intSave);
191 extern BOOL LOS_SpinHeld(const SPIN_LOCK_S *lock);
209 extern VOID LOS_SpinInit(SPIN_LOCK_S *lock);
221 LITE_OS_SEC_ALW_INLINE STATIC INLINE VOID LOS_SpinLock(SPIN_LOCK_S *lock) in LOS_SpinLock()
226 LITE_OS_SEC_ALW_INLINE STATIC INLINE INT32 LOS_SpinTrylock(SPIN_LOCK_S *lock) in LOS_SpinTrylock()
[all …]
Dlos_lockdep.h41 typedef struct Spinlock SPIN_LOCK_S; typedef
84 extern VOID OsLockDepCheckIn(SPIN_LOCK_S *lock);
103 extern VOID OsLockDepRecord(SPIN_LOCK_S *lock);
122 extern VOID OsLockDepCheckOut(SPIN_LOCK_S *lock);
/kernel/liteos_a/kernel/base/mp/
Dlos_spinlock.c37 VOID LOS_SpinInit(SPIN_LOCK_S *lock) in LOS_SpinInit()
45 BOOL LOS_SpinHeld(const SPIN_LOCK_S *lock) in LOS_SpinHeld()
50 VOID LOS_SpinLock(SPIN_LOCK_S *lock) in LOS_SpinLock()
61 INT32 LOS_SpinTrylock(SPIN_LOCK_S *lock) in LOS_SpinTrylock()
84 VOID LOS_SpinUnlock(SPIN_LOCK_S *lock) in LOS_SpinUnlock()
98 VOID LOS_SpinLockSave(SPIN_LOCK_S *lock, UINT32 *intSave) in LOS_SpinLockSave()
108 VOID LOS_SpinUnlockRestore(SPIN_LOCK_S *lock, UINT32 intSave) in LOS_SpinUnlockRestore()
Dlos_lockdep.c43 #define LOCKDEP_GET_NAME(lockDep, index) (((SPIN_LOCK_S *)((lockDep)->heldLocks[(index)].lockPtr…
130 STATIC VOID OsLockDepDumpLock(const LosTaskCB *task, const SPIN_LOCK_S *lock, in OsLockDepDumpLock()
171 SPIN_LOCK_S *lockTemp = NULL; in OsLockDepCheckDependency()
189 VOID OsLockDepCheckIn(SPIN_LOCK_S *lock) in OsLockDepCheckIn()
240 VOID OsLockDepRecord(SPIN_LOCK_S *lock) in OsLockDepRecord()
270 VOID OsLockDepCheckOut(SPIN_LOCK_S *lock) in OsLockDepCheckOut()
325 SPIN_LOCK_S *lock = NULL; in OsLockdepClearSpinlocks()
339 VOID OsLockDepCheckIn(SPIN_LOCK_S *lock) in OsLockDepCheckIn()
346 VOID OsLockDepRecord(SPIN_LOCK_S *lock) in OsLockDepRecord()
353 VOID OsLockDepCheckOut(SPIN_LOCK_S *lock) in OsLockDepCheckOut()
/kernel/liteos_a/arch/arm/arm/src/
Dlos_arch_mmu.c71 STATIC SPIN_LOCK_S *OsGetPteLock(LosArchMmu *archMmu, PADDR_T paddr, UINT32 *intSave) in OsGetPteLock()
73 SPIN_LOCK_S *lock = NULL; in OsGetPteLock()
90 STATIC SPIN_LOCK_S *OsGetPte1Lock(LosArchMmu *archMmu, PADDR_T paddr, UINT32 *intSave) in OsGetPte1Lock()
95 STATIC INLINE VOID OsUnlockPte1(SPIN_LOCK_S *lock, UINT32 intSave) in OsUnlockPte1()
103 STATIC SPIN_LOCK_S *OsGetPte1LockTmp(LosArchMmu *archMmu, PADDR_T paddr, UINT32 *intSave) in OsGetPte1LockTmp()
105 SPIN_LOCK_S *spinLock = NULL; in OsGetPte1LockTmp()
116 STATIC INLINE VOID OsUnlockPte1Tmp(SPIN_LOCK_S *lock, UINT32 intSave) in OsUnlockPte1Tmp()
129 STATIC INLINE SPIN_LOCK_S *OsGetPte2Lock(LosArchMmu *archMmu, PTE_T pte1, UINT32 *intSave) in OsGetPte2Lock()
135 STATIC INLINE VOID OsUnlockPte2(SPIN_LOCK_S *lock, UINT32 intSave) in OsUnlockPte2()
260 SPIN_LOCK_S *pte1Lock = NULL; in OsTryUnmapL1PTE()
[all …]
/kernel/liteos_a/kernel/base/include/
Dlos_vm_phys.h77 SPIN_LOCK_S freeListLock; /* The buddy list spinlock */
80 SPIN_LOCK_S lruLock;
Dlos_vm_page.h56 SPIN_LOCK_S lock; /**< lock for page table entry */
Dlos_swtmr_pri.h113 extern SPIN_LOCK_S g_swtmrSpin;
Dlos_sortlink_pri.h56 SPIN_LOCK_S spinLock; /* swtmr sort link spin lock */
Dlos_task_pri.h56 extern SPIN_LOCK_S g_taskSpin;
/kernel/liteos_a/lib/libscrew/include/
Dlos_cir_buf.h54 SPIN_LOCK_S lock;
/kernel/liteos_a/arch/arm/arm/include/
Dlos_arch_mmu.h54 SPIN_LOCK_S lock; /**< arch mmu page table entry modification spin lock */
/kernel/liteos_a/kernel/extended/trace/
Dlos_trace_pri.h62 extern SPIN_LOCK_S g_traceSpin;
/kernel/liteos_m/components/trace/
Dlos_trace_pri.h64 extern SPIN_LOCK_S g_traceSpin;
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_filemap.c323 SPIN_LOCK_S *lruLock = &fpage->physSeg->lruLock; in OsReleaseFpage()
467 SPIN_LOCK_S *lruLock = NULL; in OsFileCacheRemove()
Dlos_vm_scan.c245 SPIN_LOCK_S *flock = NULL; in OsShrinkInactiveList()
/kernel/liteos_a/testsuites/kernel/include/
DiCunit.h416 extern SPIN_LOCK_S g_testSuitSpin;
/kernel/liteos_a/testsuites/kernel/src/
DosTest.c73 SPIN_LOCK_S g_testSpin;
/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c160 SPIN_LOCK_S spinlock;