Lines Matching refs:binder_node

18  * 2) node->lock : protects most fields of binder_node.
332 * binder_node_lock() - Acquire spinlock for given binder_node
333 * @node: struct binder_node to acquire
335 * Acquires node->lock. Used to protect binder_node fields
339 _binder_node_lock(struct binder_node *node, int line)
349 * @node: struct binder_node to acquire
355 _binder_node_unlock(struct binder_node *node, int line)
365 * @node: struct binder_node to acquire
368 * proc->inner_lock. Used to protect binder_node fields
372 _binder_node_inner_lock(struct binder_node *node, int line)
387 * @node: struct binder_node to acquire
393 _binder_node_inner_unlock(struct binder_node *node, int line)
552 static void binder_inc_node_tmpref_ilocked(struct binder_node *node);
697 static struct binder_node *binder_get_node_ilocked(struct binder_proc *proc,
701 struct binder_node *node;
706 node = rb_entry(n, struct binder_node, rb_node);
725 static struct binder_node *binder_get_node(struct binder_proc *proc,
728 struct binder_node *node;
736 static struct binder_node *binder_init_node_ilocked(
738 struct binder_node *new_node,
743 struct binder_node *node;
753 node = rb_entry(parent, struct binder_node, rb_node);
793 static struct binder_node *binder_new_node(struct binder_proc *proc,
796 struct binder_node *node;
797 struct binder_node *new_node = kzalloc(sizeof(*node), GFP_KERNEL);
813 static void binder_free_node(struct binder_node *node)
819 static int binder_inc_node_nilocked(struct binder_node *node, int strong,
868 static int binder_inc_node(struct binder_node *node, int strong, int internal,
880 static bool binder_dec_node_nilocked(struct binder_node *node,
940 static void binder_dec_node(struct binder_node *node, int strong, int internal)
951 static void binder_inc_node_tmpref_ilocked(struct binder_node *node)
974 static void binder_inc_node_tmpref(struct binder_node *node)
995 static void binder_dec_node_tmpref(struct binder_node *node)
1022 static void binder_put_node(struct binder_node *node)
1074 struct binder_node *node,
1110 * @node: binder_node of target
1127 struct binder_node *node,
1320 * Given a proc and ref handle, return the associated binder_node
1322 * Return: a binder_node or NULL if not found or not strong when strong required
1324 static struct binder_node *binder_get_node_from_ref(
1329 struct binder_node *node;
1357 * Free the binder_ref. Free the binder_node indicated by ref->node
1467 struct binder_node *node,
2077 struct binder_node *node;
2232 struct binder_node *node;
2287 struct binder_node *node;
2855 struct binder_node *node = t->buffer->target_node;
2938 * @node: struct binder_node for which to get refs
2957 static struct binder_node *binder_get_node_refs_for_txn(
2958 struct binder_node *node,
2962 struct binder_node *target_node = NULL;
3012 struct binder_node *target_node = NULL;
4018 struct binder_node *buf_node;
4081 struct binder_node *ctx_mgr_node;
4139 struct binder_node *node;
4779 struct binder_node *node = container_of(w, struct binder_node, work);
4958 struct binder_node *target_node = t->buffer->target_node;
5436 struct binder_node *new_node;
5475 struct binder_node *node;
5518 struct binder_node *node = rb_entry(n, struct binder_node,
5551 struct binder_node *prev = NULL;
5557 struct binder_node *node;
5559 node = rb_entry(n, struct binder_node, rb_node);
6121 static int binder_node_release(struct binder_node *node, int refs)
6231 struct binder_node *node;
6233 node = rb_entry(n, struct binder_node, rb_node);
6363 struct binder_node *node;
6383 node = container_of(w, struct binder_node, work);
6455 struct binder_node *node,
6501 * print_next_binder_node_ilocked() - Print binder_node from a locked list
6504 * @node: struct binder_node to print fields of
6505 * @prev_node: struct binder_node we hold a temporary reference to (if any)
6509 * binder_node while iterating through @proc->nodes or the dead nodes list.
6514 * Return: pointer to the struct binder_node we hold a tmpref on
6516 static struct binder_node *
6518 struct binder_node *node,
6519 struct binder_node *prev_node, bool hash_ptrs)
6553 struct binder_node *last_node = NULL;
6565 struct binder_node *node = rb_entry(n, struct binder_node,
6776 struct binder_node *node;
6777 struct binder_node *last_node = NULL;