/Linux-v5.10/drivers/acpi/acpica/ |
D | exconvrt.c | 178 u8 *new_buf; in acpi_ex_convert_to_buffer() local 203 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer() 204 memcpy(new_buf, &obj_desc->integer.value, in acpi_ex_convert_to_buffer() 227 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer() 228 strncpy((char *)new_buf, (char *)obj_desc->string.pointer, in acpi_ex_convert_to_buffer() 377 u8 *new_buf; in acpi_ex_convert_to_string() local 424 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string() 430 new_buf, in acpi_ex_convert_to_string() 436 new_buf[string_length] = 0; in acpi_ex_convert_to_string() 514 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string() [all …]
|
D | exconcat.c | 345 u8 *new_buf; in acpi_ex_concat_template() local 392 new_buf = return_desc->buffer.pointer; in acpi_ex_concat_template() 393 memcpy(new_buf, operand0->buffer.pointer, length0); in acpi_ex_concat_template() 394 memcpy(new_buf + length0, operand1->buffer.pointer, length1); in acpi_ex_concat_template() 398 new_buf[new_length - 1] = 0; in acpi_ex_concat_template() 399 new_buf[new_length - 2] = ACPI_RESOURCE_NAME_END_TAG | 1; in acpi_ex_concat_template()
|
/Linux-v5.10/tools/testing/vsock/ |
D | control.c | 162 char *new_buf; in control_readln() local 164 new_buf = realloc(buf, buflen + 80); in control_readln() 165 if (!new_buf) { in control_readln() 170 buf = new_buf; in control_readln()
|
/Linux-v5.10/tools/perf/util/ |
D | llvm-utils.c | 134 void *new_buf; in read_from_pipe() local 137 new_buf = realloc(buf, buf_sz); in read_from_pipe() 139 if (!new_buf) { in read_from_pipe() 145 buf = new_buf; in read_from_pipe()
|
/Linux-v5.10/drivers/input/touchscreen/ |
D | sur40.c | 532 struct sur40_buffer *new_buf; in sur40_process_video() local 547 new_buf = list_entry(sur40->buf_list.next, struct sur40_buffer, list); in sur40_process_video() 548 list_del(&new_buf->list); in sur40_process_video() 582 sgt = vb2_dma_sg_plane_desc(&new_buf->vb.vb2_buf, 0); in sur40_process_video() 605 new_buf->vb.vb2_buf.timestamp = ktime_get_ns(); in sur40_process_video() 606 new_buf->vb.sequence = sur40->sequence++; in sur40_process_video() 607 new_buf->vb.field = V4L2_FIELD_NONE; in sur40_process_video() 608 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in sur40_process_video() 613 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in sur40_process_video()
|
/Linux-v5.10/samples/v4l/ |
D | v4l2-pci-skeleton.c | 141 list_del(&new_buf->list); in skeleton_irq() 143 new_buf->vb.vb2_buf.timestamp = ktime_get_ns(); in skeleton_irq() 144 new_buf->vb.sequence = skel->sequence++; in skeleton_irq() 145 new_buf->vb.field = skel->field; in skeleton_irq() 152 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in skeleton_irq()
|
/Linux-v5.10/drivers/infiniband/core/ |
D | mad_rmpp.c | 416 struct ib_mad_recv_buf *new_buf) in update_seg_num() argument 420 while (new_buf && (get_seg_num(new_buf) == rmpp_recv->seg_num + 1)) { in update_seg_num() 421 rmpp_recv->cur_seg_buf = new_buf; in update_seg_num() 423 new_buf = get_next_seg(rmpp_list, new_buf); in update_seg_num()
|
/Linux-v5.10/drivers/net/can/softing/ |
D | softing_fw.c | 141 uint8_t *buf = NULL, *new_buf; in softing_load_fw() local 190 new_buf = krealloc(buf, buflen, GFP_KERNEL); in softing_load_fw() 191 if (!new_buf) { in softing_load_fw() 195 buf = new_buf; in softing_load_fw()
|
/Linux-v5.10/drivers/hwtracing/coresight/ |
D | coresight-tmc-etr.c | 1145 struct etr_buf *sysfs_buf = NULL, *new_buf = NULL, *free_buf = NULL; in tmc_enable_etr_sink_sysfs() local 1161 free_buf = new_buf = tmc_etr_setup_sysfs_buf(drvdata); in tmc_enable_etr_sink_sysfs() 1162 if (IS_ERR(new_buf)) in tmc_enable_etr_sink_sysfs() 1163 return PTR_ERR(new_buf); in tmc_enable_etr_sink_sysfs() 1189 if (!sysfs_buf || (new_buf && sysfs_buf->size != new_buf->size)) { in tmc_enable_etr_sink_sysfs() 1191 drvdata->sysfs_buf = new_buf; in tmc_enable_etr_sink_sysfs()
|
/Linux-v5.10/drivers/staging/media/meson/vdec/ |
D | vdec.c | 133 struct amvdec_buffer *new_buf; in vdec_queue_recycle() local 135 new_buf = kmalloc(sizeof(*new_buf), GFP_KERNEL); in vdec_queue_recycle() 136 if (!new_buf) in vdec_queue_recycle() 138 new_buf->vb = vb; in vdec_queue_recycle() 141 list_add_tail(&new_buf->list, &sess->bufs_recycle); in vdec_queue_recycle()
|
/Linux-v5.10/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 846 struct ice_rx_buf *new_buf; in ice_reuse_rx_page() local 848 new_buf = &rx_ring->rx_buf[nta]; in ice_reuse_rx_page() 858 new_buf->dma = old_buf->dma; in ice_reuse_rx_page() 859 new_buf->page = old_buf->page; in ice_reuse_rx_page() 860 new_buf->page_offset = old_buf->page_offset; in ice_reuse_rx_page() 861 new_buf->pagecnt_bias = old_buf->pagecnt_bias; in ice_reuse_rx_page()
|
/Linux-v5.10/drivers/media/platform/qcom/camss/ |
D | camss-vfe.c | 535 struct camss_buffer *new_buf) in vfe_buf_update_wm_on_new() argument 544 output->buf[inactive_idx] = new_buf; in vfe_buf_update_wm_on_new() 554 vfe_buf_add_pending(output, new_buf); in vfe_buf_update_wm_on_new() 562 output->buf[0] = new_buf; in vfe_buf_update_wm_on_new() 569 vfe_buf_add_pending(output, new_buf); in vfe_buf_update_wm_on_new() 577 vfe_buf_add_pending(output, new_buf); in vfe_buf_update_wm_on_new()
|
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_io.c | 1068 new_buf: in chtls_sendmsg() 1120 goto new_buf; in chtls_sendmsg() 1260 new_buf: in chtls_sendpage() 1289 goto new_buf; in chtls_sendpage()
|
/Linux-v5.10/tools/lib/traceevent/ |
D | event-parse.c | 1409 char *new_buf; in append() local 1411 new_buf = realloc(*buf, strlen(*buf) + strlen(delim) + strlen(str) + 1); in append() 1412 if (!new_buf) in append() 1414 strcat(new_buf, delim); in append() 1415 strcat(new_buf, str); in append() 1416 *buf = new_buf; in append()
|