/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
D | linux_completion.c | 42 UINT32 intSave; in linux_init_completion() local 49 SCHEDULER_LOCK(intSave); in linux_init_completion() 53 SCHEDULER_UNLOCK(intSave); in linux_init_completion() 65 UINT32 intSave; in linux_complete() local 72 SCHEDULER_LOCK(intSave); in linux_complete() 77 SCHEDULER_UNLOCK(intSave); in linux_complete() 83 SCHEDULER_UNLOCK(intSave); in linux_complete() 101 UINT32 intSave; in linux_wait_for_completion() local 122 SCHEDULER_LOCK(intSave); in linux_wait_for_completion() 124 SCHEDULER_UNLOCK(intSave); in linux_wait_for_completion() [all …]
|
D | linux_wakelock.c | 76 UINT32 intSave; in linux_wake_lock_init() local 87 LOS_SpinLockSave(&g_wakeLockSpin, &intSave); in linux_wake_lock_init() 94 LOS_SpinUnlockRestore(&g_wakeLockSpin, intSave); in linux_wake_lock_init() 99 LOS_SpinUnlockRestore(&g_wakeLockSpin, intSave); in linux_wake_lock_init() 104 UINT32 intSave; in linux_wake_lock() local 109 LOS_SpinLockSave(&g_wakeLockSpin, &intSave); in linux_wake_lock() 111 LOS_SpinUnlockRestore(&g_wakeLockSpin, intSave); in linux_wake_lock() 116 UINT32 intSave; in linux_wake_unlock() local 121 LOS_SpinLockSave(&g_wakeLockSpin, &intSave); in linux_wake_unlock() 123 LOS_SpinUnlockRestore(&g_wakeLockSpin, intSave); in linux_wake_unlock() [all …]
|
D | linux_workqueue.c | 201 UINT32 intSave; in RunWorkqueue() local 204 LOS_SpinLockSave(&g_workqueueSpin, &intSave); in RunWorkqueue() 213 LOS_SpinUnlockRestore(&g_workqueueSpin, intSave); in RunWorkqueue() 215 LOS_SpinLockSave(&g_workqueueSpin, &intSave); in RunWorkqueue() 223 LOS_SpinUnlockRestore(&g_workqueueSpin, intSave); in RunWorkqueue() 256 …tWork(cpu_workqueue_struct *cwq, struct work_struct *work, struct list_head *head, UINT32 *intSave) in InsertWork() argument 263 LOS_SpinUnlockRestore(&g_workqueueSpin, *intSave); in InsertWork() 265 LOS_SpinLockSave(&g_workqueueSpin, intSave); in InsertWork() 268 STATIC VOID QueueWork(cpu_workqueue_struct *cwq, struct work_struct *work, UINT32 *intSave) in QueueWork() argument 270 InsertWork(cwq, work, &cwq->worklist, intSave); in QueueWork() [all …]
|
D | linux_timer.c | 38 UINT32 intSave; in linux_init_timer() local 45 LOS_SpinLockSave(&timer->lock, &intSave); in linux_init_timer() 47 LOS_SpinUnlockRestore(&timer->lock, intSave); in linux_init_timer() 80 UINT32 intSave; in linux_add_timer() local 87 LOS_SpinLockSave(&timer->lock, &intSave); in linux_add_timer() 99 LOS_SpinUnlockRestore(&timer->lock, intSave); in linux_add_timer() 105 UINT32 intSave; in linux_del_timer() local 113 LOS_SpinLockSave(&timer->lock, &intSave); in linux_del_timer() 117 LOS_SpinUnlockRestore(&timer->lock, intSave); in linux_del_timer() 125 UINT32 intSave; in linux_mod_timer() local [all …]
|
D | linux_hrtimer.c | 379 UINT32 intSave; in linux_hrtimer_start() local 389 LOS_SpinLockSave(&g_hrtimerSpin, &intSave); in linux_hrtimer_start() 392 LOS_SpinUnlockRestore(&g_hrtimerSpin, intSave); in linux_hrtimer_start() 406 LOS_SpinLockSave(&g_hrtimerSpin, &intSave); in linux_hrtimer_start() 408 LOS_SpinUnlockRestore(&g_hrtimerSpin, intSave); in linux_hrtimer_start() 413 LOS_SpinUnlockRestore(&g_hrtimerSpin, intSave); in linux_hrtimer_start() 418 LOS_SpinUnlockRestore(&g_hrtimerSpin, intSave); in linux_hrtimer_start() 426 UINT32 intSave; in linux_hrtimer_cancel() local 432 LOS_SpinLockSave(&g_hrtimerSpin, &intSave); in linux_hrtimer_cancel() 435 LOS_SpinUnlockRestore(&g_hrtimerSpin, intSave); in linux_hrtimer_cancel() [all …]
|
/third_party/musl/porting/liteos_m/kernel/src/prng/ |
D | random.c | 64 unsigned int intSave; in srandom() local 66 intSave = LOS_IntLock(); in srandom() 68 LOS_IntRestore(intSave); in srandom() 73 unsigned int intSave; in initstate() local 78 intSave = LOS_IntLock(); in initstate() 93 LOS_IntRestore(intSave); in initstate() 99 unsigned int intSave; in setstate() local 101 intSave = LOS_IntLock(); in setstate() 104 LOS_IntRestore(intSave); in setstate() 110 unsigned int intSave; in random() local [all …]
|
/third_party/musl/porting/liteos_a/kernel/src/prng/ |
D | random.c | 65 unsigned int intSave; in srandom() local 67 intSave = LOS_IntLock(); in srandom() 69 LOS_IntRestore(intSave); in srandom() 74 unsigned int intSave; in initstate() local 79 intSave = LOS_IntLock(); in initstate() 94 LOS_IntRestore(intSave); in initstate() 100 unsigned int intSave; in setstate() local 102 intSave = LOS_IntLock(); in setstate() 105 LOS_IntRestore(intSave); in setstate() 111 unsigned int intSave; in random() local [all …]
|
/third_party/musl/porting/uniproton/kernel/src/prng/ |
D | random.c | 64 uintptr_t intSave; in srandom() local 66 intSave = PRT_HwiLock(); in srandom() 68 PRT_HwiRestore(intSave); in srandom() 73 uintptr_t intSave; in initstate() local 78 intSave = PRT_HwiLock(); in initstate() 93 PRT_HwiRestore(intSave); in initstate() 99 uintptr_t intSave; in setstate() local 101 intSave = PRT_HwiLock(); in setstate() 104 PRT_HwiRestore(intSave); in setstate() 110 uintptr_t intSave; in random() local [all …]
|