Lines Matching refs:binder_node
18 * 2) node->lock : protects most fields of binder_node.
354 * binder_node_lock() - Acquire spinlock for given binder_node
355 * @node: struct binder_node to acquire
357 * Acquires node->lock. Used to protect binder_node fields
361 _binder_node_lock(struct binder_node *node, int line)
371 * @node: struct binder_node to acquire
377 _binder_node_unlock(struct binder_node *node, int line)
387 * @node: struct binder_node to acquire
390 * proc->inner_lock. Used to protect binder_node fields
394 _binder_node_inner_lock(struct binder_node *node, int line)
409 * @node: struct binder_node to acquire
415 _binder_node_inner_unlock(struct binder_node *node, int line)
574 static void binder_inc_node_tmpref_ilocked(struct binder_node *node);
731 static struct binder_node *binder_get_node_ilocked(struct binder_proc *proc,
735 struct binder_node *node;
740 node = rb_entry(n, struct binder_node, rb_node);
759 static struct binder_node *binder_get_node(struct binder_proc *proc,
762 struct binder_node *node;
770 static struct binder_node *binder_init_node_ilocked(
772 struct binder_node *new_node,
777 struct binder_node *node;
787 node = rb_entry(parent, struct binder_node, rb_node);
827 static struct binder_node *binder_new_node(struct binder_proc *proc,
830 struct binder_node *node;
831 struct binder_node *new_node = kzalloc(sizeof(*node), GFP_KERNEL);
847 static void binder_free_node(struct binder_node *node)
853 static int binder_inc_node_nilocked(struct binder_node *node, int strong,
902 static int binder_inc_node(struct binder_node *node, int strong, int internal,
914 static bool binder_dec_node_nilocked(struct binder_node *node,
974 static void binder_dec_node(struct binder_node *node, int strong, int internal)
985 static void binder_inc_node_tmpref_ilocked(struct binder_node *node)
1008 static void binder_inc_node_tmpref(struct binder_node *node)
1029 static void binder_dec_node_tmpref(struct binder_node *node)
1056 static void binder_put_node(struct binder_node *node)
1087 * @node: binder_node of target
1104 struct binder_node *node,
1289 * Given a proc and ref handle, return the associated binder_node
1291 * Return: a binder_node or NULL if not found or not strong when strong required
1293 static struct binder_node *binder_get_node_from_ref(
1298 struct binder_node *node;
1326 * Free the binder_ref. Free the binder_node indicated by ref->node
1414 struct binder_node *node,
2023 struct binder_node *node;
2179 struct binder_node *node;
2234 struct binder_node *node;
2801 struct binder_node *node = t->buffer->target_node;
2884 * @node: struct binder_node for which to get refs
2903 static struct binder_node *binder_get_node_refs_for_txn(
2904 struct binder_node *node,
2908 struct binder_node *target_node = NULL;
2958 struct binder_node *target_node = NULL;
3845 struct binder_node *buf_node;
3908 struct binder_node *ctx_mgr_node;
3966 struct binder_node *node;
4567 struct binder_node *node = container_of(w, struct binder_node, work);
4706 struct binder_node *target_node = t->buffer->target_node;
5209 struct binder_node *new_node;
5254 struct binder_node *node;
5297 struct binder_node *node = rb_entry(n, struct binder_node,
5922 static int binder_node_release(struct binder_node *node, int refs)
6032 struct binder_node *node;
6034 node = rb_entry(n, struct binder_node, rb_node);
6164 struct binder_node *node;
6184 node = container_of(w, struct binder_node, work);
6243 struct binder_node *node)
6290 struct binder_node *last_node = NULL;
6302 struct binder_node *node = rb_entry(n, struct binder_node,
6516 struct binder_node *node;
6517 struct binder_node *last_node = NULL;
6749 struct binder_node *last_node = NULL;
6772 struct binder_node *node = rb_entry(n, struct binder_node, rb_node);