Searched refs:load (Results 1 – 13 of 13) sorted by relevance
28 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()
197 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()
178 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()
390 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()
164 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()
66 pub fn load(&self, order: ::core::sync::atomic::Ordering) -> $new_type_name {67 $new_type_name::from(self.container.load(order))
51 let initialized = self.initialized.load(Ordering::Acquire); in initialized()
127 return self.0.load(Ordering::Relaxed).into(); in is_locked()
142 return ALLOW_ALLOC_ATOMIC.load(Ordering::SeqCst); in allow_alloc()
477 fn load( in load() method
26 fn load( in load() method190 .load(param, &head_buf) in load_binary_file()
41 - scheduler: load balance: 多核负载均衡 (#193)
277 return XD_RESERVED.load(Ordering::Relaxed); in is_xd_reserved()