Home
last modified time | relevance | path

Searched refs:DArc (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/android/binder/node/
H A Dwrapper.rs7 use crate::{node::Node, thread::Thread, BinderReturnWriter, DArc, DLArc, DTRWrap, DeliverToRead};
22 pub(super) fn init(self, node: DArc<Node>) -> DLArc<dyn DeliverToRead> { in init()
31 node: DArc<Node>,
42 self: DArc<Self>, in do_work()
60 fn cancel(self: DArc<Self>) {} in cancel()
/linux/drivers/android/binder/
H A Dnode.rs20 BinderReturnWriter, DArc, DLArc, DTRWrap, DeliverToRead,
340 self: &DArc<Node>, in inc_ref_done_locked()
379 self: &DArc<Node>, in update_refcount_locked()
419 self: &DArc<Self>, in incr_refcount_allow_zero2one()
461 self: &DArc<Self>, in incr_refcount_allow_zero2one_with_wrapper()
479 pub(crate) fn update_refcount(self: &DArc<Self>, inc: bool, count: usize, strong: bool) { in update_refcount()
709 self: DArc<Self>, in do_work()
734 fn cancel(self: DArc<Self>) {} in cancel()
764 pub(crate) node: DArc<Node>,
774 pub(crate) fn new(node: DArc<Node>, strong_count: usize, weak_count: usize) -> Self { in new()
[all …]
H A Dtransaction.rs24 BinderReturnWriter, DArc, DLArc, DTRWrap, DeliverToRead,
41 target_node: Option<DArc<Node>>,
42 pub(crate) from_parent: Option<DArc<Transaction>>,
66 from_parent: Option<DArc<Transaction>>, in new()
187 pub(crate) fn is_stacked_on(&self, onext: &Option<DArc<Self>>) -> bool { in is_stacked_on()
196 pub(crate) fn clone_next(&self) -> Option<DArc<Self>> { in clone_next()
215 pub(crate) fn find_from(&self, thread: &Thread) -> Option<&DArc<Transaction>> { in find_from()
360 self: DArc<Self>, in do_work()
442 fn cancel(self: DArc<Self>) { in cancel()
H A Dfreeze.rs17 defs::*, node::Node, process::Process, thread::Thread, BinderReturnWriter, DArc, DLArc,
27 pub(crate) node: DArc<Node>,
53 fn allow_duplicate(&self, node: &DArc<Node>) -> bool { in allow_duplicate()
86 self: DArc<Self>, in do_work()
143 fn cancel(self: DArc<Self>) {} in cancel()
310 fn get_freeze_cookie(&self, node: &DArc<Node>) -> Option<FreezeCookie> { in get_freeze_cookie()
322 fn find_freeze_recipients(&self) -> Result<KVVec<(DArc<Node>, Arc<Process>)>, AllocError> { in find_freeze_recipients()
H A Dthread.rs34 BinderReturnWriter, DArc, DLArc, DTRWrap, DeliverCode, DeliverToRead,
256 reply_work: DArc<ThreadError>,
260 return_work: DArc<ThreadError>,
267 current_transaction: Option<DArc<Transaction>>,
350 fn pop_transaction_to_reply(&mut self, thread: &Thread) -> Result<DArc<Transaction>> { in pop_transaction_to_reply()
361 fn pop_transaction_replied(&mut self, transaction: &DArc<Transaction>) -> bool { in pop_transaction_replied()
505 pub(crate) fn set_current_transaction(&self, transaction: DArc<Transaction>) { in set_current_transaction()
1125 transaction: &DArc<Transaction>, in deliver_reply()
1140 transaction: &DArc<Transaction>, in deliver_single_reply()
1171 fn is_current_transaction(&self, transaction: &DArc<Transaction>) -> bool { in is_current_transaction()
[all …]
H A Drust_binder_main.rs145 self: DArc<Self>, in do_work()
152 fn cancel(self: DArc<Self>); in cancel()
189 type DArc<T> = kernel::sync::Arc<DTRWrap<T>>; typedef
250 self: DArc<Self>, in do_work()
260 fn cancel(self: DArc<Self>) {} in cancel()
H A Dprocess.rs51 BinderfsProcFile, DArc, DLArc, DTRWrap, DeliverToRead,
110 nodes: RBTree<u64, DArc<Node>>,
219 node: &DArc<Node>, in update_node_refcount()
242 node: DArc<Node>, in new_node_ref()
253 node: DArc<Node>, in new_node_ref_with_thread()
274 fn get_existing_node(&self, ptr: u64, cookie: u64) -> Result<Option<DArc<Node>>> { in get_existing_node()
300 fn pull_delivered_death(&mut self, cookie: u64) -> Option<DArc<NodeDeath>> { in pull_delivered_death()
311 pub(crate) fn death_delivered(&mut self, death: DArc<NodeDeath>) { in death_delivered()
342 death: ListArcField<Option<DArc<NodeDeath>>, { Self::LIST_PROC }>,
373 pub(crate) fn death(&mut self<{Self::LIST_PROC}>) -> &mut Option<DArc<NodeDeath>> { death }
[all …]
H A Dallocation.rs23 DArc,
37 pub(crate) oneway_node: Option<DArc<Node>>,
151 pub(crate) fn set_info_oneway_node(&mut self, oneway_node: DArc<Node>) { in set_info_oneway_node()