Home
last modified time | relevance | path

Searched refs:new_buf (Results 1 – 5 of 5) sorted by relevance

/drivers/acpi/acpica/
Dexconvrt.c206 u8 *new_buf; in acpi_ex_convert_to_buffer() local
231 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer()
232 memcpy(new_buf, &obj_desc->integer.value, in acpi_ex_convert_to_buffer()
255 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer()
256 strncpy((char *)new_buf, (char *)obj_desc->string.pointer, in acpi_ex_convert_to_buffer()
404 u8 *new_buf; in acpi_ex_convert_to_string() local
449 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string()
455 new_buf, in acpi_ex_convert_to_string()
461 new_buf[string_length] = 0; in acpi_ex_convert_to_string()
528 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string()
[all …]
Dexconcat.c379 u8 *new_buf; in acpi_ex_concat_template() local
426 new_buf = return_desc->buffer.pointer; in acpi_ex_concat_template()
427 memcpy(new_buf, operand0->buffer.pointer, length0); in acpi_ex_concat_template()
428 memcpy(new_buf + length0, operand1->buffer.pointer, length1); in acpi_ex_concat_template()
432 new_buf[new_length - 1] = 0; in acpi_ex_concat_template()
433 new_buf[new_length - 2] = ACPI_RESOURCE_NAME_END_TAG | 1; in acpi_ex_concat_template()
/drivers/input/touchscreen/
Dsur40.c401 struct sur40_buffer *new_buf; in sur40_process_video() local
416 new_buf = list_entry(sur40->buf_list.next, struct sur40_buffer, list); in sur40_process_video()
417 list_del(&new_buf->list); in sur40_process_video()
451 sgt = vb2_dma_sg_plane_desc(&new_buf->vb.vb2_buf, 0); in sur40_process_video()
474 new_buf->vb.vb2_buf.timestamp = ktime_get_ns(); in sur40_process_video()
475 new_buf->vb.sequence = sur40->sequence++; in sur40_process_video()
476 new_buf->vb.field = V4L2_FIELD_NONE; in sur40_process_video()
477 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in sur40_process_video()
482 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in sur40_process_video()
/drivers/infiniband/core/
Dmad_rmpp.c424 struct ib_mad_recv_buf *new_buf) in update_seg_num() argument
428 while (new_buf && (get_seg_num(new_buf) == rmpp_recv->seg_num + 1)) { in update_seg_num()
429 rmpp_recv->cur_seg_buf = new_buf; in update_seg_num()
431 new_buf = get_next_seg(rmpp_list, new_buf); in update_seg_num()
/drivers/net/can/softing/
Dsofting_fw.c152 uint8_t *buf = NULL, *new_buf; in softing_load_fw() local
201 new_buf = krealloc(buf, buflen, GFP_KERNEL); in softing_load_fw()
202 if (!new_buf) { in softing_load_fw()
206 buf = new_buf; in softing_load_fw()