Home
last modified time | relevance | path

Searched refs:load (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/
Dpercpu.rs28 if CPU_NUM.load(core::sync::atomic::Ordering::SeqCst) != 0 { in init()
60 let cpu_num = CPU_NUM.load(core::sync::atomic::Ordering::SeqCst); in new()
/DragonOS-0.1.8/kernel/src/time/
Dtimer.rs197 if timer_list_front_guard.expire_jiffies > TIMER_JIFFIES.load(Ordering::SeqCst) { in run()
223 return TIMER_JIFFIES.load(Ordering::SeqCst) + 1000 * (expire_ms); in next_n_ms_timer_jiffies()
227 return TIMER_JIFFIES.load(Ordering::SeqCst) + (expire_us); in next_n_us_timer_jiffies()
249 timeout += TIMER_JIFFIES.load(Ordering::SeqCst) as i64; in schedule_timeout()
257 let time_remaining: i64 = timeout - TIMER_JIFFIES.load(Ordering::SeqCst) as i64; in schedule_timeout()
299 return TIMER_JIFFIES.load(Ordering::SeqCst); in clock()
Dtimekeeping.rs178 let sec = __ADDED_SEC.load(Ordering::SeqCst); in getnstimeofday()
246 if TIMEKEEPING_SUSPENDED.load(Ordering::SeqCst) { in update_wall_time()
273 let usec = __ADDED_USEC.load(Ordering::SeqCst); in update_wall_time()
Dclocksource.rs390 if unsafe { FINISHED_BOOTING.load(Ordering::Relaxed) } { in set_unstable()
795 if unsafe { FINISHED_BOOTING.load(Ordering::Relaxed) } || list_guard.is_empty() { in clocksource_select()
/DragonOS-0.1.8/kernel/src/libs/
Drwlock.rs164 let state = self.lock.load(Ordering::Relaxed); in reader_count()
172 return (self.lock.load(Ordering::Relaxed) & WRITER) / WRITER; in writer_count()
262 debug_assert!(self.lock.load(Ordering::Relaxed) & !WRITER > 0); in force_read_decrement()
271 debug_assert_eq!(self.lock.load(Ordering::Relaxed) & !(WRITER | UPGRADED), 0); in force_write_unlock()
429 self.inner.lock.load(Ordering::Acquire) & (WRITER | UPGRADED), in downgrade_to_upgradeable()
478 debug_assert!(self.lock.load(Ordering::Relaxed) & !(WRITER | UPGRADED) > 0); in drop()
487 self.inner.lock.load(Ordering::Relaxed) & (WRITER | UPGRADED), in drop()
498 debug_assert_eq!(self.inner.lock.load(Ordering::Relaxed) & WRITER, WRITER); in drop()
Dint_like.rs66 pub fn load(&self, order: ::core::sync::atomic::Ordering) -> $new_type_name {
67 $new_type_name::from(self.container.load(order))
Dlazy_init.rs51 let initialized = self.initialized.load(Ordering::Acquire); in initialized()
Dspinlock.rs127 return self.0.load(Ordering::Relaxed).into(); in is_locked()
Dprintk.rs142 return ALLOW_ALLOC_ATOMIC.load(Ordering::SeqCst); in allow_alloc()
Delf.rs477 fn load( in load() method
/DragonOS-0.1.8/kernel/src/process/
Dexec.rs26 fn load( in load() method
190 .load(param, &head_buf) in load_binary_file()
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.5.md41 - scheduler: load balance: 多核负载均衡 (#193)
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs277 return XD_RESERVED.load(Ordering::Relaxed); in is_xd_reserved()