Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/acpi/acpica/
A Dexconvrt.c178 u8 *new_buf; in acpi_ex_convert_to_buffer() local
203 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer()
377 u8 *new_buf; in acpi_ex_convert_to_string() local
430 new_buf, in acpi_ex_convert_to_string()
436 new_buf[string_length] = 0; in acpi_ex_convert_to_string()
525 *new_buf++ = '0'; in acpi_ex_convert_to_string()
526 *new_buf++ = 'x'; in acpi_ex_convert_to_string()
531 base, new_buf, 1); in acpi_ex_convert_to_string()
535 *new_buf++ = separator; in acpi_ex_convert_to_string()
543 new_buf--; in acpi_ex_convert_to_string()
[all …]
A Dexconcat.c345 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.3-rc2/tools/testing/vsock/
A Dcontrol.c190 char *new_buf; in control_readln() local
192 new_buf = realloc(buf, buflen + 80); in control_readln()
193 if (!new_buf) { in control_readln()
198 buf = new_buf; in control_readln()
/linux-6.3-rc2/drivers/input/keyboard/
A Dpinephone-keyboard.c212 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.3-rc2/drivers/input/touchscreen/
A Dsur40.c532 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.3-rc2/tools/perf/util/
A Dllvm-utils.c151 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.3-rc2/samples/v4l/
A Dv4l2-pci-skeleton.c129 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.3-rc2/drivers/media/platform/qcom/camss/
A Dcamss-vfe-gen1.c459 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.3-rc2/drivers/infiniband/core/
A Dmad_rmpp.c416 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.3-rc2/drivers/fpga/
A Dfpga-mgr.c217 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.3-rc2/drivers/net/can/softing/
A Dsofting_fw.c141 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.3-rc2/drivers/hwtracing/coresight/
A Dcoresight-tmc-etr.c1177 struct etr_buf *sysfs_buf = NULL, *new_buf = NULL, *free_buf = NULL; in tmc_enable_etr_sink_sysfs() local
1193 free_buf = new_buf = tmc_etr_setup_sysfs_buf(drvdata); in tmc_enable_etr_sink_sysfs()
1194 if (IS_ERR(new_buf)) in tmc_enable_etr_sink_sysfs()
1195 return PTR_ERR(new_buf); in tmc_enable_etr_sink_sysfs()
1221 if (!sysfs_buf || (new_buf && sysfs_buf->size != new_buf->size)) { in tmc_enable_etr_sink_sysfs()
1223 drvdata->sysfs_buf = new_buf; in tmc_enable_etr_sink_sysfs()
/linux-6.3-rc2/drivers/staging/media/meson/vdec/
A Dvdec.c133 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.3-rc2/drivers/usb/gadget/function/
A Df_hid.c612 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.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_txrx.c919 struct ice_rx_buf *new_buf; in ice_reuse_rx_page() local
921 new_buf = &rx_ring->rx_buf[nta]; in ice_reuse_rx_page()
931 new_buf->dma = old_buf->dma; in ice_reuse_rx_page()
932 new_buf->page = old_buf->page; in ice_reuse_rx_page()
933 new_buf->page_offset = old_buf->page_offset; in ice_reuse_rx_page()
934 new_buf->pagecnt_bias = old_buf->pagecnt_bias; in ice_reuse_rx_page()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_io.c1068 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.3-rc2/drivers/net/ethernet/microsoft/mana/
A Dmana_en.c1256 void *new_buf, *old_buf; in mana_process_rx_cqe() local
1316 new_buf = new_page ? page_to_virt(new_page) : NULL; in mana_process_rx_cqe()
1318 if (new_buf) { in mana_process_rx_cqe()
1325 rxbuf_oob->buf_va = new_buf; in mana_process_rx_cqe()

Completed in 43 milliseconds