Searched refs:is_empty (Results 1 – 18 of 18) sorted by relevance
151 if guard.wait_list.is_empty() { in wakeup()173 if guard.wait_list.is_empty() { in wakeup_all()
121 if inner.wait_list.is_empty() { in unlock()
858 pub fn is_empty(&self) -> bool { in is_empty() method1474 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()
90 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()
144 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()
256 fn is_empty(&self) -> bool { in is_empty() method257 if self.0.lock().devices.is_empty() && self.0.lock().drivers.is_empty() { in is_empty()
80 if !self.queue.is_empty() { in dequeue()95 if !self.queue.is_empty() { in min_vruntime()
90 if result.is_empty() { in get_virtio_net_device()
102 fn is_empty(&self) -> bool { in is_empty() method
393 while !rest_path.is_empty() { in lookup_follow_symlink()416 if name.is_empty() { in lookup_follow_symlink()
255 if self.readdir_subdirs_name.is_empty() { in readdir()
70 fn is_empty(&self) -> bool; in is_empty() method
132 if item.is_empty() { in find_dynamic_major()
213 if cpu_pending(cpu_id as usize).is_empty() { in do_softirq()
298 pub fn is_empty(&self) -> bool { in is_empty() method
379 if !list_guard.list.is_empty() { in pop_block()
530 pub fn is_empty(&self) -> bool { in is_empty() method
771 pub fn is_empty(&self, fs: Arc<FATFileSystem>) -> bool { in is_empty() method800 if e.is_dir() && !(e.to_dir().unwrap().is_empty(fs.clone())) { in remove()1592 if long_name_entries.is_empty() { in new()