Lines Matching refs:new_node
725 struct binder_node *new_node, in binder_init_node_ilocked() argument
756 node = new_node; in binder_init_node_ilocked()
784 struct binder_node *new_node = kzalloc(sizeof(*node), GFP_KERNEL); in binder_new_node() local
786 if (!new_node) in binder_new_node()
789 node = binder_init_node_ilocked(proc, new_node, fp); in binder_new_node()
791 if (node != new_node) in binder_new_node()
795 kfree(new_node); in binder_new_node()
5081 struct binder_node *new_node; in binder_ioctl_set_ctx_mgr() local
5105 new_node = binder_new_node(proc, fbo); in binder_ioctl_set_ctx_mgr()
5106 if (!new_node) { in binder_ioctl_set_ctx_mgr()
5110 binder_node_lock(new_node); in binder_ioctl_set_ctx_mgr()
5111 new_node->local_weak_refs++; in binder_ioctl_set_ctx_mgr()
5112 new_node->local_strong_refs++; in binder_ioctl_set_ctx_mgr()
5113 new_node->has_strong_ref = 1; in binder_ioctl_set_ctx_mgr()
5114 new_node->has_weak_ref = 1; in binder_ioctl_set_ctx_mgr()
5115 context->binder_context_mgr_node = new_node; in binder_ioctl_set_ctx_mgr()
5116 binder_node_unlock(new_node); in binder_ioctl_set_ctx_mgr()
5117 binder_put_node(new_node); in binder_ioctl_set_ctx_mgr()