Lines Matching refs:binder_node

18  * 2) node->lock : protects most fields of binder_node.
328 * binder_node_lock() - Acquire spinlock for given binder_node
329 * @node: struct binder_node to acquire
331 * Acquires node->lock. Used to protect binder_node fields
335 _binder_node_lock(struct binder_node *node, int line)
345 * @node: struct binder_node to acquire
351 _binder_node_unlock(struct binder_node *node, int line)
361 * @node: struct binder_node to acquire
364 * proc->inner_lock. Used to protect binder_node fields
368 _binder_node_inner_lock(struct binder_node *node, int line)
383 * @node: struct binder_node to acquire
389 _binder_node_inner_unlock(struct binder_node *node, int line)
548 static void binder_inc_node_tmpref_ilocked(struct binder_node *node);
695 static struct binder_node *binder_get_node_ilocked(struct binder_proc *proc,
699 struct binder_node *node;
704 node = rb_entry(n, struct binder_node, rb_node);
723 static struct binder_node *binder_get_node(struct binder_proc *proc,
726 struct binder_node *node;
734 static struct binder_node *binder_init_node_ilocked(
736 struct binder_node *new_node,
741 struct binder_node *node;
751 node = rb_entry(parent, struct binder_node, rb_node);
791 static struct binder_node *binder_new_node(struct binder_proc *proc,
794 struct binder_node *node;
795 struct binder_node *new_node = kzalloc(sizeof(*node), GFP_KERNEL);
811 static void binder_free_node(struct binder_node *node)
817 static int binder_inc_node_nilocked(struct binder_node *node, int strong,
866 static int binder_inc_node(struct binder_node *node, int strong, int internal,
878 static bool binder_dec_node_nilocked(struct binder_node *node,
938 static void binder_dec_node(struct binder_node *node, int strong, int internal)
949 static void binder_inc_node_tmpref_ilocked(struct binder_node *node)
972 static void binder_inc_node_tmpref(struct binder_node *node)
993 static void binder_dec_node_tmpref(struct binder_node *node)
1020 static void binder_put_node(struct binder_node *node)
1051 * @node: binder_node of target
1068 struct binder_node *node,
1253 * Given a proc and ref handle, return the associated binder_node
1255 * Return: a binder_node or NULL if not found or not strong when strong required
1257 static struct binder_node *binder_get_node_from_ref(
1262 struct binder_node *node;
1290 * Free the binder_ref. Free the binder_node indicated by ref->node
1378 struct binder_node *node,
1989 struct binder_node *node;
2144 struct binder_node *node;
2199 struct binder_node *node;
2767 struct binder_node *node = t->buffer->target_node;
2850 * @node: struct binder_node for which to get refs
2869 static struct binder_node *binder_get_node_refs_for_txn(
2870 struct binder_node *node,
2874 struct binder_node *target_node = NULL;
2924 struct binder_node *target_node = NULL;
3789 struct binder_node *buf_node;
3852 struct binder_node *ctx_mgr_node;
3910 struct binder_node *node;
4511 struct binder_node *node = container_of(w, struct binder_node, work);
4650 struct binder_node *target_node = t->buffer->target_node;
5126 struct binder_node *new_node;
5171 struct binder_node *node;
5214 struct binder_node *node = rb_entry(n, struct binder_node,
5764 static int binder_node_release(struct binder_node *node, int refs)
5874 struct binder_node *node;
5876 node = rb_entry(n, struct binder_node, rb_node);
6006 struct binder_node *node;
6026 node = container_of(w, struct binder_node, work);
6085 struct binder_node *node)
6130 struct binder_node *last_node = NULL;
6142 struct binder_node *node = rb_entry(n, struct binder_node,
6356 struct binder_node *node;
6357 struct binder_node *last_node = NULL;