Home
last modified time | relevance | path

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

/linux/drivers/android/binder/
H A Dcontext.rs110 pub(crate) fn set_manager_node(&self, node_ref: NodeRef) -> Result { in set_manager_node()
116 security::binder_set_context_mgr(&node_ref.node.owner.cred)?; in set_manager_node()
126 manager.node = Some(node_ref); in set_manager_node()
132 let node_ref = self.manager.lock().node.take(); in unset_manager_node() localVariable
133 drop(node_ref); in unset_manager_node()
H A Dthread.rs1388 let node_ref = self.process.get_transaction_node(info.target_handle)?; in transaction_inner()
1389 info.to_pid = node_ref.node.owner.task.pid(); in transaction_inner()
1390 info.to_node_debug_id = node_ref.node.debug_id;
1391 security::binder_transaction(&self.process.cred, &node_ref.node.owner.cred)?; in reply_inner()
1400 let transaction = Transaction::new(node_ref, top, self, info)?; in reply_inner()
1487 let node_ref = self.process.get_transaction_node(info.target_handle)?; in write()
1488 info.to_pid = node_ref.node.owner.task.pid(); in write()
1489 info.to_node_debug_id = node_ref.node.debug_id; in write()
1490 security::binder_transaction(&self.process.cred, &node_ref.node.owner.cred)?; in write()
1491 let transaction = Transaction::new(node_ref, Non in write()
1351 let node_ref = self.process.get_transaction_node(info.target_handle)?; transaction_inner() localVariable
1447 let node_ref = self.process.get_transaction_node(info.target_handle)?; oneway_transaction_inner() localVariable
[all...]
H A Dnode.rs273 for node_ref in &inner.refs { in full_debug_print()
274 seq_print!(m, " {}", node_ref.process.task.pid()); in full_debug_print()
288 /// It must be the case that `info.node_ref.node` is this node.
303 /// It must be the case that `info.node_ref.node` is this node.
309 // references in `info.node_ref.node`. That is this node, so `info` cannot possibly be in in remove_node_info()
/linux/tools/testing/selftests/bpf/progs/
H A Drefcounted_kptr.c418 struct node_data *node_new, *node_ref; in __add_in_list() local
424 node_ref = bpf_refcount_acquire(node_new); in __add_in_list()
429 return node_ref; in __add_in_list()
1066 struct node_data *node_new, *node_ref, *node_old; in __insert_in_list() local
1072 node_ref = bpf_refcount_acquire(node_new); in __insert_in_list()
1076 bpf_obj_drop(node_ref); in __insert_in_list()
1081 bpf_list_push_front(head, &node_ref->l); in __insert_in_list()
1082 ref = (u64)(void *) &node_ref->ref; in __insert_in_list()