/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/input/keyboard/ |
D | pinephone-keyboard.c | 212 u8 *new_buf = ppkb->buf[ppkb->buf_swap]; in ppkb_update() local 217 PPKB_BUF_LEN, new_buf); in ppkb_update() 223 crc = crc8(ppkb->crc_table, &new_buf[1], PPKB_COLS, CRC8_INIT_VALUE); in ppkb_update() 224 if (crc != new_buf[0]) { in ppkb_update() 225 dev_err(dev, "Bad scan data (%02x != %02x)\n", crc, new_buf[0]); in ppkb_update() 233 u8 new = new_buf[1 + col]; in ppkb_update()
|
/linux-6.1.9/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-6.1.9/tools/perf/util/ |
D | llvm-utils.c | 151 void *new_buf; in read_from_pipe() local 154 new_buf = realloc(buf, buf_sz); in read_from_pipe() 156 if (!new_buf) { in read_from_pipe() 162 buf = new_buf; in read_from_pipe()
|
/linux-6.1.9/samples/v4l/ |
D | v4l2-pci-skeleton.c | 129 list_del(&new_buf->list); in skeleton_irq() 131 new_buf->vb.vb2_buf.timestamp = ktime_get_ns(); in skeleton_irq() 132 new_buf->vb.sequence = skel->sequence++; in skeleton_irq() 133 new_buf->vb.field = skel->field; in skeleton_irq() 140 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in skeleton_irq()
|
/linux-6.1.9/drivers/media/platform/qcom/camss/ |
D | camss-vfe-gen1.c | 459 struct camss_buffer *new_buf, in vfe_buf_update_wm_on_new() argument 469 output->buf[inactive_idx] = new_buf; in vfe_buf_update_wm_on_new() 479 vfe_buf_add_pending(output, new_buf); in vfe_buf_update_wm_on_new() 487 output->buf[0] = new_buf; in vfe_buf_update_wm_on_new() 494 vfe_buf_add_pending(output, new_buf); in vfe_buf_update_wm_on_new() 502 vfe_buf_add_pending(output, new_buf); in vfe_buf_update_wm_on_new()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/fpga/ |
D | fpga-mgr.c | 217 char *new_buf, *buf = NULL; in fpga_mgr_parse_header_sg() local 228 new_buf = krealloc(buf, new_header_size, GFP_KERNEL); in fpga_mgr_parse_header_sg() 229 if (!new_buf) { in fpga_mgr_parse_header_sg() 234 buf = new_buf; in fpga_mgr_parse_header_sg()
|
/linux-6.1.9/drivers/hwtracing/coresight/ |
D | coresight-tmc-etr.c | 1164 struct etr_buf *sysfs_buf = NULL, *new_buf = NULL, *free_buf = NULL; in tmc_enable_etr_sink_sysfs() local 1180 free_buf = new_buf = tmc_etr_setup_sysfs_buf(drvdata); in tmc_enable_etr_sink_sysfs() 1181 if (IS_ERR(new_buf)) in tmc_enable_etr_sink_sysfs() 1182 return PTR_ERR(new_buf); in tmc_enable_etr_sink_sysfs() 1208 if (!sysfs_buf || (new_buf && sysfs_buf->size != new_buf->size)) { in tmc_enable_etr_sink_sysfs() 1210 drvdata->sysfs_buf = new_buf; in tmc_enable_etr_sink_sysfs()
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 867 struct ice_rx_buf *new_buf; in ice_reuse_rx_page() local 869 new_buf = &rx_ring->rx_buf[nta]; in ice_reuse_rx_page() 879 new_buf->dma = old_buf->dma; in ice_reuse_rx_page() 880 new_buf->page = old_buf->page; in ice_reuse_rx_page() 881 new_buf->page_offset = old_buf->page_offset; in ice_reuse_rx_page() 882 new_buf->pagecnt_bias = old_buf->pagecnt_bias; in ice_reuse_rx_page()
|
/linux-6.1.9/drivers/usb/gadget/function/ |
D | f_hid.c | 612 char *new_buf = NULL; in hidg_ssreport_complete() local 624 new_buf = krealloc(hidg->set_report_buf, req->actual, GFP_ATOMIC); in hidg_ssreport_complete() 625 if (new_buf == NULL) { in hidg_ssreport_complete() 629 hidg->set_report_buf = new_buf; in hidg_ssreport_complete()
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/microsoft/mana/ |
D | mana_en.c | 1196 void *new_buf, *old_buf; in mana_process_rx_cqe() local 1256 new_buf = new_page ? page_to_virt(new_page) : NULL; in mana_process_rx_cqe() 1258 if (new_buf) { in mana_process_rx_cqe() 1265 rxbuf_oob->buf_va = new_buf; in mana_process_rx_cqe()
|
/linux-6.1.9/tools/lib/traceevent/ |
D | event-parse.c | 1417 char *new_buf; in append() local 1419 new_buf = realloc(*buf, strlen(*buf) + strlen(delim) + strlen(str) + 1); in append() 1420 if (!new_buf) in append() 1422 strcat(new_buf, delim); in append() 1423 strcat(new_buf, str); in append() 1424 *buf = new_buf; in append()
|