Searched refs:bounce_buf (Results 1 – 2 of 2) sorted by relevance
724 void *bounce_buf = NULL; in cadence_qspi_apb_indirect_write_execute() local733 bounce_buf = malloc(n_tx); in cadence_qspi_apb_indirect_write_execute()734 if (!bounce_buf) in cadence_qspi_apb_indirect_write_execute()736 memcpy(bounce_buf, txbuf, n_tx); in cadence_qspi_apb_indirect_write_execute()737 bb_txbuf = bounce_buf; in cadence_qspi_apb_indirect_write_execute()778 if (bounce_buf) in cadence_qspi_apb_indirect_write_execute()779 free(bounce_buf); in cadence_qspi_apb_indirect_write_execute()786 if (bounce_buf) in cadence_qspi_apb_indirect_write_execute()787 free(bounce_buf); in cadence_qspi_apb_indirect_write_execute()
1700 void *bounce_buf; in bdrv_mirror_top_pwritev() local1709 bounce_buf = qemu_blockalign(bs, bytes); in bdrv_mirror_top_pwritev()1710 iov_to_buf_full(qiov->iov, qiov->niov, 0, bounce_buf, bytes); in bdrv_mirror_top_pwritev()1713 qemu_iovec_add(&bounce_qiov, bounce_buf, bytes); in bdrv_mirror_top_pwritev()1724 qemu_vfree(bounce_buf); in bdrv_mirror_top_pwritev()