Home
last modified time | relevance | path

Searched refs:bool (Results 1 – 25 of 45) sorted by relevance

12

/rust/kernel/
A Drevocable.rs159 unsafe fn revoke_internal<const SYNC: bool>(&self) -> bool { in revoke_internal() argument
187 pub unsafe fn revoke_nosync(&self) -> bool { in revoke_nosync() argument
204 pub fn revoke(&self) -> bool { in revoke() argument
A Dregulator.rs39 const DISABLE_ON_DROP: bool;
61 const DISABLE_ON_DROP: bool = true;
65 const DISABLE_ON_DROP: bool = false;
69 const DISABLE_ON_DROP: bool = false;
381 pub fn is_enabled(&self) -> bool { in is_enabled() argument
A Dkunit.rs170 fn is_test_result_ok(&self) -> bool; in is_test_result_ok() argument
174 fn is_test_result_ok(&self) -> bool { in is_test_result_ok() argument
180 fn is_test_result_ok(&self) -> bool { in is_test_result_ok() argument
190 pub fn is_test_result_ok(t: impl TestResult) -> bool { in is_test_result_ok() argument
341 pub fn in_kunit_test() -> bool { in in_kunit_test()
A Dcpumask.rs113 pub fn test(&self, cpu: CpuId) -> bool { in test() argument
131 pub fn empty(&self) -> bool { in empty() argument
140 pub fn full(&self) -> bool { in full() argument
A Dsecurity.rs40 pub fn is_empty(&self) -> bool { in is_empty() argument
A Dtransmute.rs63 bool,
A Dtime.rs269 pub fn is_zero(self) -> bool { in is_zero() argument
275 pub fn is_negative(self) -> bool { in is_negative() argument
A Dopp.rs230 pub fn new(freq: Hertz, volt: MicroVolt, level: u32, turbo: bool) -> Self { in new()
295 fn config_clks(_dev: &Device, _table: &Table, _opp: &OPP, _scaling_down: bool) -> Result { in config_clks()
518 scaling_down: bool, in config_clks() argument
604 em: bool,
606 of: bool,
847 available: Option<bool>, in opp_from_freq() argument
1141 pub fn is_turbo(&self) -> bool { in is_turbo() argument
A Dlist.rs356 pub fn is_empty(&self) -> bool { in is_empty() argument
891 pub fn move_next(&mut self) -> bool { in move_next() argument
913 pub fn move_prev(&mut self) -> bool { in move_prev() argument
981 pub struct CursorPeek<'a, 'b, T: ?Sized + ListItem<ID>, const ISNEXT: bool, const ID: u64> {
986 impl<'a, 'b, T: ?Sized + ListItem<ID>, const ISNEXT: bool, const ID: u64>
1020 impl<'a, 'b, T: ?Sized + ListItem<ID>, const ISNEXT: bool, const ID: u64> core::ops::Deref
A Djump_label.rs72 pub const fn bool_to_int(b: bool) -> i32 { in bool_to_int()
A Dtask.rs241 pub fn signal_pending(&self) -> bool { in signal_pending() argument
396 fn eq(&self, other: &Kuid) -> bool { in eq() argument
A Dcpufreq.rs82 Low(bool),
84 High(bool),
86 Close(bool),
564 pub fn set_dvfs_possible_from_any_cpu(&mut self, val: bool) -> &mut Self { in set_dvfs_possible_from_any_cpu()
571 pub fn fast_switch_possible(&self) -> bool { in fast_switch_possible() argument
577 pub fn set_fast_switch_possible(&mut self, val: bool) -> &mut Self { in set_fast_switch_possible()
730 const BOOST_ENABLED: bool;
A Duaccess.rs248 pub fn is_empty(&self) -> bool { in is_empty() argument
415 pub fn is_empty(&self) -> bool { in is_empty() argument
A Dalloc.rs48 pub fn contains(self, flags: Flags) -> bool { in contains() argument
/rust/kernel/mm/
A Dvirt.rs313 pub fn readable(&self) -> bool { in readable() argument
338 pub fn writable(&self) -> bool { in writable() argument
363 pub fn executable(&self) -> bool { in executable() argument
/rust/kernel/sync/
A Dcondvar.rs156 pub fn wait_interruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait_interruptible() argument
171 ) -> bool { in wait_interruptible_freezable() argument
/rust/kernel/block/mq/
A Dgen_disk.rs17 rotational: bool,
41 pub fn rotational(mut self, rotational: bool) -> Self { in rotational()
A Doperations.rs31 fn queue_rq(rq: ARef<Request<Self>>, is_last: bool) -> Result; in queue_rq()
38 fn poll() -> bool { in poll()
/rust/kernel/alloc/
A Dlayout.rs98 pub const fn is_empty(&self) -> bool { in is_empty() argument
A Dkvec.rs172 const fn is_zst() -> bool { in is_zst()
264 pub fn is_empty(&self) -> bool { in is_empty() argument
710 pub fn retain(&mut self, mut f: impl FnMut(&mut T) -> bool) { in retain() argument
978 fn eq(&self, other: &$rhs) -> bool { self[..] == other[..] }
1306 fn verify(c: &[bool]) { in test_kvec_retain() argument
1323 fn add(value: &mut [bool]) { in test_kvec_retain() argument
/rust/kernel/list/
A Darc.rs68 fn try_new_list_arc(&self) -> bool; in try_new_list_arc() argument
120 fn try_new_list_arc(&self) -> bool {
406 pub fn ptr_eq(this: &Self, other: &Self) -> bool { in ptr_eq() argument
514 fn try_new_list_arc(&self) -> bool { in try_new_list_arc() argument
/rust/kernel/device/
A Dproperty.rs65 pub fn is_of_node(&self) -> bool { in is_of_node() argument
98 pub fn property_present(&self, name: &CStr) -> bool { in property_present() argument
104 pub fn property_read_bool(&self, name: &CStr) -> bool { in property_read_bool() argument
349 pub fn is_empty(&self) -> bool { in is_empty() argument
/rust/kernel/time/hrtimer/
A Darc.rs28 fn cancel(&mut self) -> bool { in cancel() argument
A Dpin.rs27 fn cancel(&mut self) -> bool { in cancel() argument
A Dpin_mut.rs25 fn cancel(&mut self) -> bool { in cancel() argument

Completed in 39 milliseconds

12