Searched refs:new_buf (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/drivers/acpi/acpica/ |
D | exconvrt.c | 204 u8 *new_buf; in acpi_ex_convert_to_buffer() local 229 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer() 230 memcpy(new_buf, in acpi_ex_convert_to_buffer() 253 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer() 254 strncpy((char *)new_buf, (char *)obj_desc->string.pointer, in acpi_ex_convert_to_buffer() 403 u8 *new_buf; in acpi_ex_convert_to_string() local 448 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string() 454 new_buf, in acpi_ex_convert_to_string() 460 new_buf[string_length] = 0; in acpi_ex_convert_to_string() 527 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string() [all …]
|
D | exmisc.c | 164 u8 *new_buf; in acpi_ex_concat_template() local 211 new_buf = return_desc->buffer.pointer; in acpi_ex_concat_template() 212 memcpy(new_buf, operand0->buffer.pointer, length0); in acpi_ex_concat_template() 213 memcpy(new_buf + length0, operand1->buffer.pointer, length1); in acpi_ex_concat_template() 217 new_buf[new_length - 1] = 0; in acpi_ex_concat_template() 218 new_buf[new_length - 2] = ACPI_RESOURCE_NAME_END_TAG | 1; in acpi_ex_concat_template() 249 char *new_buf; in acpi_ex_do_concatenate() local 317 new_buf = (char *)return_desc->buffer.pointer; in acpi_ex_do_concatenate() 321 memcpy(new_buf, &operand0->integer.value, in acpi_ex_do_concatenate() 326 memcpy(new_buf + acpi_gbl_integer_byte_width, in acpi_ex_do_concatenate() [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | llvm-utils.c | 115 void *new_buf; in read_from_pipe() local 118 new_buf = realloc(buf, buf_sz); in read_from_pipe() 120 if (!new_buf) { in read_from_pipe() 126 buf = new_buf; in read_from_pipe()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | sur40.c | 374 struct sur40_buffer *new_buf; in sur40_process_video() local 389 new_buf = list_entry(sur40->buf_list.next, struct sur40_buffer, list); in sur40_process_video() 390 list_del(&new_buf->list); in sur40_process_video() 424 sgt = vb2_dma_sg_plane_desc(&new_buf->vb.vb2_buf, 0); in sur40_process_video() 447 v4l2_get_timestamp(&new_buf->vb.timestamp); in sur40_process_video() 448 new_buf->vb.sequence = sur40->sequence++; in sur40_process_video() 449 new_buf->vb.field = V4L2_FIELD_NONE; in sur40_process_video() 450 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in sur40_process_video() 455 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in sur40_process_video()
|
/linux-4.4.14/Documentation/video4linux/ |
D | v4l2-pci-skeleton.c | 142 list_del(&new_buf->list); in skeleton_irq() 144 v4l2_get_timestamp(&new_buf->vb.v4l2_buf.timestamp); in skeleton_irq() 145 new_buf->vb.v4l2_buf.sequence = skel->sequence++; in skeleton_irq() 146 new_buf->vb.v4l2_buf.field = skel->field; in skeleton_irq() 153 vb2_buffer_done(&new_buf->vb, VB2_BUF_STATE_DONE); in skeleton_irq()
|
/linux-4.4.14/sound/core/seq/ |
D | seq_midi_event.c | 193 unsigned char *new_buf, *old_buf; 198 new_buf = kmalloc(bufsize, GFP_KERNEL); 199 if (new_buf == NULL) 203 dev->buf = new_buf;
|
/linux-4.4.14/drivers/infiniband/core/ |
D | mad_rmpp.c | 424 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()
|
/linux-4.4.14/drivers/net/can/softing/ |
D | softing_fw.c | 152 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()
|