Searched refs:new_ref (Results 1 – 3 of 3) sorted by relevance
/drivers/media/v4l2-core/ |
D | v4l2-ctrls-core.c | 1084 struct v4l2_ctrl_ref *new_ref; in handler_new_ref() local 1107 new_ref = kzalloc(sizeof(*new_ref) + size_extra_req, GFP_KERNEL); in handler_new_ref() 1108 if (!new_ref) in handler_new_ref() 1110 new_ref->ctrl = ctrl; in handler_new_ref() 1111 new_ref->from_other_dev = from_other_dev; in handler_new_ref() 1113 new_ref->p_req.p = &new_ref[1]; in handler_new_ref() 1115 INIT_LIST_HEAD(&new_ref->node); in handler_new_ref() 1124 list_add_tail(&new_ref->node, &hdl->ctrl_refs); in handler_new_ref() 1134 kfree(new_ref); in handler_new_ref() 1137 list_add(&new_ref->node, ref->node.prev); in handler_new_ref() [all …]
|
D | v4l2-ctrls-request.c | 70 struct v4l2_ctrl_ref *new_ref; in v4l2_ctrl_request_clone() local 75 err = handler_new_ref(hdl, ctrl, &new_ref, false, true); in v4l2_ctrl_request_clone()
|
/drivers/android/ |
D | binder.c | 1229 struct binder_ref *new_ref) in binder_get_ref_for_node_olocked() argument 1248 if (!new_ref) in binder_get_ref_for_node_olocked() 1252 new_ref->data.debug_id = atomic_inc_return(&binder_last_id); in binder_get_ref_for_node_olocked() 1253 new_ref->proc = proc; in binder_get_ref_for_node_olocked() 1254 new_ref->node = node; in binder_get_ref_for_node_olocked() 1255 rb_link_node(&new_ref->rb_node_node, parent, p); in binder_get_ref_for_node_olocked() 1256 rb_insert_color(&new_ref->rb_node_node, &proc->refs_by_node); in binder_get_ref_for_node_olocked() 1258 new_ref->data.desc = (node == context->binder_context_mgr_node) ? 0 : 1; in binder_get_ref_for_node_olocked() 1261 if (ref->data.desc > new_ref->data.desc) in binder_get_ref_for_node_olocked() 1263 new_ref->data.desc = ref->data.desc + 1; in binder_get_ref_for_node_olocked() [all …]
|