Home
last modified time | relevance | path

Searched refs:p_array (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-api.c122 void *old = ctrl->p_array; in user_to_new()
131 ctrl->p_array = tmp; in user_to_new()
1025 void *p_array; in __v4l2_ctrl_modify_dimensions() local
1036 p_array = kvzalloc(2 * elems * ctrl->elem_size, GFP_KERNEL); in __v4l2_ctrl_modify_dimensions()
1037 if (!p_array) in __v4l2_ctrl_modify_dimensions()
1039 kvfree(ctrl->p_array); in __v4l2_ctrl_modify_dimensions()
1043 ctrl->p_array = p_array; in __v4l2_ctrl_modify_dimensions()
1044 ctrl->p_new.p = p_array; in __v4l2_ctrl_modify_dimensions()
1045 ctrl->p_cur.p = p_array + elems * ctrl->elem_size; in __v4l2_ctrl_modify_dimensions()
H A Dv4l2-ctrls-core.c1727 * elements in ctrl->p_array. If so, attempt to realloc ctrl->p_array. in req_to_new()
1728 * Note that p_array is allocated with twice the number of elements in req_to_new()
1734 void *old = ctrl->p_array; in req_to_new()
1743 ctrl->p_array = tmp; in req_to_new()
1847 kvfree(ctrl->p_array); in v4l2_ctrl_handler_free()
2263 ctrl->p_array = kvzalloc(2 * elems * elem_size, GFP_KERNEL); in v4l2_ctrl_new()
2264 if (!ctrl->p_array) { in v4l2_ctrl_new()
2268 data = ctrl->p_array; in v4l2_ctrl_new()
2307 kvfree(ctrl->p_array); in v4l2_ctrl_new()
[all...]