Home
last modified time | relevance | path

Searched refs:is_available (Results 1 – 5 of 5) sorted by relevance

/linux/rust/kernel/
H A Drevocable.rs68 is_available: AtomicBool, field
87 is_available: AtomicBool::new(true), in new()
101 if self.is_available.load(Ordering::Relaxed) { in try_access()
102 // Since `self.is_available` is true, data is initialised and has to remain valid in try_access()
119 if self.is_available.load(Ordering::Relaxed) { in try_access_with_guard()
120 // SAFETY: Since `self.is_available` is true, data is initialised and has to remain in try_access_with_guard()
160 let revoke = self.is_available.swap(false, Ordering::Relaxed); in revoke_internal()
169 // `compare_exchange` above that takes `is_available` from `true` to `false`. in revoke_internal()
218 if *p.is_available.get_mut() { in drop()
220 // `is_available` t in drop()
[all...]
/linux/drivers/gpu/drm/bridge/imx/
H A Dimx-ldb-helper.c155 ldb_ch->is_available = true; in ldb_init_helper()
174 if (!ldb_ch->is_available) in ldb_find_next_bridge_helper()
201 if (!ldb_ch->is_available) in ldb_add_bridge_helper()
220 if (!ldb_ch->is_available) in ldb_remove_bridge_helper()
H A Dimx-ldb-helper.h51 bool is_available; member
H A Dimx8qm-ldb.c418 if (!ldb_ch->is_available) in imx8qm_ldb_get_phy()
518 if (ldb_ch->is_available) { in imx8qm_ldb_probe()
H A Dimx8qxp-ldb.c641 if (ldb_ch->is_available) { in imx8qxp_ldb_probe()