Searched refs:self_lock (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/sched/ |
H A D | syscall.rs | 20 let (rq, guard) = rq.self_lock(); in do_sched_yield()
|
H A D | pelt.rs | 211 let (rq, _guard) = rq.self_lock(); in cfs_rq_clock_pelt()
|
H A D | mod.rs | 362 pub fn self_lock(&self) -> (&mut Self, Option<SpinLockGuard<()>>) { in self_lock() method 797 let (rq, guard) = rq.self_lock(); in scheduler_tick() 842 let (rq, _guard) = rq.self_lock(); in __schedule()
|
H A D | fair.rs | 1110 let (rq, _guard) = rq.self_lock(); in account_entity_enqueue() 1125 let (rq, _guard) = rq.self_lock(); in account_entity_dequeue() 1693 let (rq, _guard) = rq.self_lock(); in task_fork()
|
/DragonOS/docs/kernel/sched/ |
H A D | core.md | 36 …`中的信息时需要加锁,但是最外层已经将``CpuRunQueue``对象上锁,会导致内层永远拿不到锁。对于该字段,详见[CpuRunQueue的self_lock方法及其注释](https://c…
|
/DragonOS/kernel/src/process/ |
H A D | idle.rs | 65 let (rq, _guard) = rq.self_lock(); in init_idle()
|
H A D | mod.rs | 243 let (rq, _guard) = rq.self_lock(); in wakeup() 280 let (rq, _guard) = rq.self_lock(); in wakeup_stop() 395 let (rq, guard) = rq.self_lock(); in exit()
|