Lines Matching defs:refs
281 * @refs: list of references on this node
287 * @local_weak_refs: weak user refs from local process
290 * @local_strong_refs: strong user refs from local process
293 * @tmp_refs: temporary kernel refs
337 struct hlist_head refs;
400 * @node_entry: list entry for node->refs list in target node
416 /* node => refs + procs (proc exit) */
439 * @refs_by_desc: rbtree of refs ordered by ref->desc
441 * @refs_by_node: rbtree of refs ordered by ref->node
644 * @fbo: binder object (nodes and refs)
1306 !hlist_empty(&node->refs))
1316 if (hlist_empty(&node->refs) && !node->local_strong_refs &&
1467 * into the given proc rb_trees and node refs list.
1531 hlist_add_head(&new_ref->node_entry, &node->refs);
3137 * binder_get_node_refs_for_txn() - Get required refs on node for txn
3138 * @node: struct binder_node for which to get refs
3153 * Return: The target_node with refs taken or NULL if no @node->proc is NULL.
4748 weak = !hlist_empty(&node->refs) ||
5878 static int binder_node_release(struct binder_node *node, int refs)
5893 if (hlist_empty(&node->refs) && node->tmp_refs == 1) {
5898 return refs;
5910 hlist_for_each_entry(ref, &node->refs, node_entry) {
5911 refs++;
5935 "node %d now dead, refs %d, death %d\n",
5936 node->debug_id, refs, death);
5940 return refs;
6020 "%s: %d threads %d, nodes %d (ref %d), refs %d, active transactions %d\n",
6201 hlist_for_each_entry(ref, &node->refs, node_entry)
6211 hlist_for_each_entry(ref, &node->refs, node_entry)
6442 seq_printf(m, " refs: %d s %d w %d\n", count, strong, weak);