Home
last modified time | relevance | path

Searched refs:try_from_arc (Results 1 – 4 of 4) sorted by relevance

/linux/rust/kernel/list/
H A Darc.rs277 pub fn try_from_arc(arc: Arc<T>) -> Result<Self, Arc<T>> in try_from_arc() function
314 match Self::try_from_arc(arc) { in try_from_arc_or_drop()
/linux/drivers/android/binder/
H A Dnode.rs359 let list_arc = ListArc::try_from_arc(self.clone()).ok().unwrap(); in inc_ref_done_locked()
402 let list_arc = ListArc::try_from_arc(self.clone()).ok().unwrap(); in update_refcount_locked()
434 let list_arc = ListArc::try_from_arc(self.clone()).ok().unwrap(); in incr_refcount_allow_zero2one()
439 let list_arc = ListArc::try_from_arc(self.clone()).ok().unwrap(); in incr_refcount_allow_zero2one()
H A Dthread.rs314 if let Ok(work) = ListArc::try_from_arc(self.reply_work.clone()) { in push_reply_work()
323 if let Ok(work) = ListArc::try_from_arc(self.return_work.clone()) { in push_return_work()
H A Dprocess.rs1706 if let Ok(list_arc) = ListArc::try_from_arc(thread.clone()) { in new()