Lines Matching refs:Arc

19     sync::{Arc, SpinLock},
357 if !Arc::ptr_eq(transaction, &old) { in pop_transaction_replied()
412 pub(crate) process: Arc<Process>,
439 pub(crate) fn new(id: i32, process: Arc<Process>) -> Result<Arc<Self>> { in new()
442 Arc::pin_init( in new()
457 pub(crate) fn debug_print(self: &Arc<Self>, m: &SeqFile, print_all: bool) -> Result<()> { in debug_print()
472 if Arc::ptr_eq(&t.from, self) { in debug_print()
475 } else if Arc::ptr_eq(&t.to, &self.process) { in debug_print()
508 fn get_work_local(self: &Arc<Self>, wait: bool) -> Result<Option<DLArc<dyn DeliverToRead>>> { in get_work_local()
546 fn get_work(self: &Arc<Self>, wait: bool) -> Result<Option<DLArc<dyn DeliverToRead>>> { in get_work()
928 to_process: Arc<Process>, in copy_transaction_data()
1084 fn unwind_transaction_stack(self: &Arc<Self>) { in unwind_transaction_stack()
1151 Some(current) => Arc::ptr_eq(current, transaction), in is_current_transaction()
1171 fn transaction<T>(self: &Arc<Self>, tr: &BinderTransactionDataSg, inner: T) in transaction()
1173 T: FnOnce(&Arc<Self>, &BinderTransactionDataSg) -> BinderResult, in transaction()
1191 fn transaction_inner(self: &Arc<Self>, tr: &BinderTransactionDataSg) -> BinderResult { in transaction_inner()
1230 fn reply_inner(self: &Arc<Self>, tr: &BinderTransactionDataSg) -> BinderResult { in reply_inner()
1262 fn oneway_transaction_inner(self: &Arc<Self>, tr: &BinderTransactionDataSg) -> BinderResult { in oneway_transaction_inner()
1288 fn write(self: &Arc<Self>, req: &mut BinderWriteRead) -> Result { in write()
1379 fn read(self: &Arc<Self>, req: &mut BinderWriteRead, wait: bool) -> Result { in read()
1448 pub(crate) fn write_read(self: &Arc<Self>, data: UserSlice, wait: bool) -> Result { in write_read()
1525 pub(crate) fn release(self: &Arc<Self>) { in release()