Home
last modified time | relevance | path

Searched refs:is_empty (Results 1 – 18 of 18) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dwait_queue.rs151 if guard.wait_list.is_empty() { in wakeup()
173 if guard.wait_list.is_empty() { in wakeup_all()
Dmutex.rs121 if inner.wait_list.is_empty() { in unlock()
Drbtree.rs858 pub fn is_empty(&self) -> bool { in is_empty() method
1474 assert!(m.is_empty()); in test_empty_iter()
1485 assert!(m.is_empty()); in test_lots_of_insertions()
1576 assert!(!m.is_empty()); in test_is_empty()
1578 assert!(m.is_empty()); in test_is_empty()
/DragonOS-0.1.8/kernel/src/time/
Dtimer.rs90 if timer_list.is_empty() { in activate()
179 if timer_list.is_empty() { in run()
274 if timer_list.is_empty() { in timer_get_first_expire()
Dclocksource.rs144 if self.is_running || self.watchdog.is_none() || watchdog_list.is_empty() { in clocksource_start_watchdog()
795 if unsafe { FINISHED_BOOTING.load(Ordering::Relaxed) } || list_guard.is_empty() { in clocksource_select()
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs256 fn is_empty(&self) -> bool { in is_empty() method
257 if self.0.lock().devices.is_empty() && self.0.lock().drivers.is_empty() { in is_empty()
/DragonOS-0.1.8/kernel/src/sched/
Dcfs.rs80 if !self.queue.is_empty() { in dequeue()
95 if !self.queue.is_empty() { in min_vruntime()
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dvirtio.rs90 if result.is_empty() { in get_virtio_net_device()
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dslab.rs102 fn is_empty(&self) -> bool { in is_empty() method
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dmod.rs393 while !rest_path.is_empty() { in lookup_follow_symlink()
416 if name.is_empty() { in lookup_follow_symlink()
Dfile.rs255 if self.readdir_subdirs_name.is_empty() { in readdir()
/DragonOS-0.1.8/kernel/src/driver/base/device/
Dbus.rs70 fn is_empty(&self) -> bool; in is_empty() method
/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs132 if item.is_empty() { in find_dynamic_major()
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs213 if cpu_pending(cpu_id as usize).is_empty() { in do_softirq()
/DragonOS-0.1.8/kernel/src/io/
Ddevice.rs298 pub fn is_empty(&self) -> bool { in is_empty() method
/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs379 if !list_guard.list.is_empty() { in pop_block()
Dmod.rs530 pub fn is_empty(&self) -> bool { in is_empty() method
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs771 pub fn is_empty(&self, fs: Arc<FATFileSystem>) -> bool { in is_empty() method
800 if e.is_dir() && !(e.to_dir().unwrap().is_empty(fs.clone())) { in remove()
1592 if long_name_entries.is_empty() { in new()