Home
last modified time | relevance | path

Searched refs:node_ref (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/android/binder/
H A Dprocess.rs341 node_ref: ListArcField<NodeRef, { Self::LIST_PROC }>, field
360 fn new(node_ref: NodeRef, handle: u32, process: Arc<Process>) -> impl PinInit<Self> { in new()
363 node_ref: ListArcField::new(node_ref), in new()
375 pub(crate) fn node_ref(&mut self<{Self::LIST_PROC}>) -> &mut NodeRef { node_ref }
376 pub(crate) fn node_ref2(&self<{Self::LIST_PROC}>) -> &NodeRef { node_ref }
565 let node_ref = r.node_ref(); in debug_print_stats() localVariable
566 let (nstrong, nweak) = node_ref.get_count(); in debug_print_stats()
626 let node_ref = r.node_ref(); in debug_print() localVariable
627 let dead = node_ref.node.owner.inner.lock().is_dead; in debug_print()
628 let (strong, weak) = node_ref.get_count(); in debug_print()
[all …]
H A Dcontext.rs99 pub(crate) fn set_manager_node(&self, node_ref: NodeRef) -> Result { in set_manager_node()
105 security::binder_set_context_mgr(&node_ref.node.owner.cred)?; in set_manager_node()
115 manager.node = Some(node_ref); in set_manager_node()
121 let node_ref = self.manager.lock().node.take(); in unset_manager_node() localVariable
122 drop(node_ref); in unset_manager_node()
H A Dfreeze.rs186 let node_ref = info.node_ref(); in request_freeze_notif() localVariable
190 if !dupe.get().allow_duplicate(&node_ref.node) { in request_freeze_notif()
198 node_ref.node.add_freeze_listener(self, GFP_KERNEL)?; in request_freeze_notif()
205 node: node_ref.node.clone(), in request_freeze_notif()
313 let node_ref = node_refs.by_handle.get_mut(handle)?; in get_freeze_cookie() localVariable
314 *node_ref.freeze() in get_freeze_cookie()
H A Dtransaction.rs65 node_ref: NodeRef, in new()
72 let allow_fds = node_ref.node.flags & FLAT_BINDER_FLAG_ACCEPTS_FDS != 0; in new()
73 let txn_security_ctx = node_ref.node.flags & FLAT_BINDER_FLAG_TXN_SECURITY_CTX != 0; in new()
75 let to = node_ref.node.owner.clone(); in new()
97 alloc.set_info_oneway_node(node_ref.node.clone()); in new()
102 let target_node = node_ref.node.clone(); in new()
103 alloc.set_info_target_node(node_ref); in new()
H A Dallocation.rs364 node_ref: NodeRef, in transfer_binder_object()
367 let node = node_ref.node.clone(); in transfer_binder_object()
368 if Arc::ptr_eq(&node_ref.node.owner, &self.alloc.process) { in transfer_binder_object()
391 .insert_or_update_handle(node_ref, false)?; in transfer_binder_object()
H A Dthread.rs1218 let node_ref = self.process.get_transaction_node(handle)?; in transaction_inner() localVariable
1219 security::binder_transaction(&self.process.cred, &node_ref.node.owner.cred)?; in transaction_inner()
1225 let transaction = Transaction::new(node_ref, top, self, tr)?; in transaction_inner()
1290 let node_ref = self.process.get_transaction_node(handle)?; in oneway_transaction_inner() localVariable
1291 security::binder_transaction(&self.process.cred, &node_ref.node.owner.cred)?; in oneway_transaction_inner()
1292 let transaction = Transaction::new(node_ref, None, self, tr)?; in oneway_transaction_inner()
H A Dnode.rs275 for node_ref in &inner.refs { in full_debug_print()
276 seq_print!(m, " {}", node_ref.process.task.pid()); in full_debug_print()
/linux/tools/testing/selftests/bpf/progs/
H A Drefcounted_kptr.c584 struct node_data *node_new, *node_ref, *node_old; in __insert_in_list() local
590 node_ref = bpf_refcount_acquire(node_new); in __insert_in_list()
594 bpf_obj_drop(node_ref); in __insert_in_list()
599 bpf_list_push_front(head, &node_ref->l); in __insert_in_list()
600 ref = (u64)(void *) &node_ref->ref; in __insert_in_list()
/linux/rust/kernel/
H A Drbtree.rs422 let node_ref = unsafe { &*node }; in get() localVariable
425 Ordering::Less => node_ref.rb_left, in get()
426 Ordering::Greater => node_ref.rb_right, in get()
506 let node_ref = unsafe { &*node }; in find_best_match() localVariable
515 node = node_ref.rb_right; in find_best_match()
527 node = node_ref.rb_left; in find_best_match()
/linux/fs/ocfs2/dlm/
H A Ddlmmaster.c2475 int nonlocal = 0, node_ref; in dlm_is_lockres_migratable() local
2513 node_ref = find_first_bit(res->refmap, O2NM_MAX_NODES); in dlm_is_lockres_migratable()
2514 if (node_ref >= O2NM_MAX_NODES) in dlm_is_lockres_migratable()