Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/time/
Dtimer.rs82 if timer_list.is_empty() { in activate()
164 if timer_list.is_empty() { in run()
257 if timer_list.is_empty() { in timer_get_first_expire()
/DragonOS-0.1.7/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.7/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.7/kernel/src/sched/
Dcfs.rs81 if !self.queue.is_empty() { in dequeue()
96 if !self.queue.is_empty() { in min_vruntime()
/DragonOS-0.1.7/kernel/src/driver/virtio/
Dvirtio.rs90 if result.is_empty() { in get_virtio_net_device()
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dmod.rs389 while !rest_path.is_empty() { in lookup_follow_symlink()
412 if name.is_empty() { in lookup_follow_symlink()
Dfile.rs237 if self.readdir_subdirs_name.is_empty() { in readdir()
/DragonOS-0.1.7/kernel/src/driver/base/device/
Dbus.rs70 fn is_empty(&self) -> bool; in is_empty() method
/DragonOS-0.1.7/kernel/src/exception/
Dsoftirq.rs213 if cpu_pending(cpu_id as usize).is_empty() { in do_softirq()
/DragonOS-0.1.7/kernel/src/io/
Ddevice.rs298 pub fn is_empty(&self) -> bool { in is_empty() method
/DragonOS-0.1.7/kernel/src/mm/
Dmmio_buddy.rs345 if !list_guard.list.is_empty() { in pop_block()
/DragonOS-0.1.7/kernel/src/filesystem/fat/
Dentry.rs762 pub fn is_empty(&self, fs: Arc<FATFileSystem>) -> bool { in is_empty() method
791 if e.is_dir() && !(e.to_dir().unwrap().is_empty(fs.clone())) { in remove()
1579 if long_name_entries.is_empty() { in new()