Home
last modified time | relevance | path

Searched refs:bounce (Results 1 – 25 of 63) sorted by relevance

123

/openbmc/linux/lib/
H A Dtest_hmm.c131 bounce->addr = addr; in dmirror_bounce_init()
133 bounce->cpages = 0; in dmirror_bounce_init()
135 if (!bounce->ptr) in dmirror_bounce_init()
157 vfree(bounce->ptr); in dmirror_bounce_fini()
366 ptr = bounce->ptr + ((start - bounce->addr) & PAGE_MASK); in dmirror_do_read()
380 bounce->cpages++; in dmirror_do_read()
418 bounce.size)) in dmirror_read()
432 ptr = bounce->ptr + ((start - bounce->addr) & PAGE_MASK); in dmirror_do_write()
446 bounce->cpages++; in dmirror_do_write()
840 bounce.size)) in dmirror_exclusive()
[all …]
/openbmc/linux/arch/s390/mm/
H A Dmaccess.c153 void *bounce = ptr; in xlate_dev_mem_ptr() local
165 bounce = (void *)__get_free_page(GFP_ATOMIC); in xlate_dev_mem_ptr()
166 if (!bounce) in xlate_dev_mem_ptr()
172 memcpy(bounce, ptr, size); in xlate_dev_mem_ptr()
176 memcpy(bounce, ptr, size); in xlate_dev_mem_ptr()
178 memcpy(bounce, ptr, size); in xlate_dev_mem_ptr()
183 return bounce; in xlate_dev_mem_ptr()
/openbmc/qemu/block/
H A Dblkio.c136 bounce->buf.iov_base = addr; in blkio_do_alloc_bounce_buffer()
137 bounce->buf.iov_len = bytes; in blkio_do_alloc_bounce_buffer()
151 QLIST_INSERT_AFTER(prev, bounce, next); in blkio_do_alloc_bounce_buffer()
155 bounce->buf.iov_base = addr; in blkio_do_alloc_bounce_buffer()
156 bounce->buf.iov_len = bytes; in blkio_do_alloc_bounce_buffer()
217 QLIST_REMOVE(bounce, next); in blkio_free_bounce_buffer()
366 BlkioBounceBuf bounce; in blkio_co_preadv() local
376 iov = &bounce.buf; in blkio_co_preadv()
394 blkio_free_bounce_buffer(s, &bounce); in blkio_co_preadv()
410 BlkioBounceBuf bounce; in blkio_co_pwritev() local
[all …]
/openbmc/qemu/hw/nvme/
H A Ddif.c413 g_free(ctx->data.bounce); in nvme_dif_rw_cb()
416 g_free(ctx->mdata.bounce); in nvme_dif_rw_cb()
501 ctx->mdata.bounce = g_malloc(mlen); in nvme_dif_rw_mdata_in_cb()
504 qemu_iovec_add(&ctx->mdata.iov, ctx->mdata.bounce, mlen); in nvme_dif_rw_mdata_in_cb()
585 ctx->mdata.bounce = g_malloc0(mlen); in nvme_dif_rw()
590 mbuf = ctx->mdata.bounce; in nvme_dif_rw()
646 ctx->data.bounce = g_malloc(len); in nvme_dif_rw()
649 qemu_iovec_add(&ctx->data.iov, ctx->data.bounce, len); in nvme_dif_rw()
666 ctx->mdata.bounce = g_malloc(mlen); in nvme_dif_rw()
708 g_free(ctx->data.bounce); in nvme_dif_rw()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_cache.c230 char bounce[MEMCPY_BOUNCE_SIZE]; in memcpy_fallback() local
235 memcpy_fromio(bounce, _src, MEMCPY_BOUNCE_SIZE); in memcpy_fallback()
236 memcpy_toio(_dst, bounce, MEMCPY_BOUNCE_SIZE); in memcpy_fallback()
242 memcpy_fromio(bounce, _src, MEMCPY_BOUNCE_SIZE); in memcpy_fallback()
243 memcpy_toio(_dst, bounce, MEMCPY_BOUNCE_SIZE); in memcpy_fallback()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ioctl.c130 void *bounce = NULL; in vmw_get_cap_3d_ioctl() local
148 bounce = vzalloc(size); in vmw_get_cap_3d_ioctl()
149 if (unlikely(bounce == NULL)) { in vmw_get_cap_3d_ioctl()
154 ret = vmw_devcaps_copy(dev_priv, vmw_fp->gb_aware, bounce, size); in vmw_get_cap_3d_ioctl()
158 ret = copy_to_user(buffer, bounce, size); in vmw_get_cap_3d_ioctl()
162 vfree(bounce); in vmw_get_cap_3d_ioctl()
H A Dvmwgfx_devcaps.c55 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap() argument
59 (struct svga_3d_compat_cap *) bounce; in vmw_fill_compat_cap()
/openbmc/linux/Documentation/devicetree/bindings/firmware/
H A Dbrcm,kona-smc.yaml7 title: Broadcom Kona family Secure Monitor bounce buffer
10 A bounce buffer used for non-secure to secure communications.
/openbmc/linux/Documentation/i2c/
H A Ddma-considerations.rst49 bounce buffer. But you don't need to care about that detail, just use the
50 returned buffer. If NULL is returned, the threshold was not met or a bounce
54 function ensures a potentially used bounce buffer is freed::
62 The bounce buffer handling from the core is generic and simple. It will always
63 allocate a new bounce buffer. If you want a more sophisticated handling (e.g.
/openbmc/linux/drivers/char/
H A Dmem.c111 char *bounce; in read_mem() local
135 bounce = kmalloc(PAGE_SIZE, GFP_KERNEL); in read_mem()
136 if (!bounce) in read_mem()
164 probe = copy_from_kernel_nofault(bounce, ptr, sz); in read_mem()
169 remaining = copy_to_user(buf, bounce, sz); in read_mem()
182 kfree(bounce); in read_mem()
188 kfree(bounce); in read_mem()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/tipcutils/tipcutils/
H A D0002-replace-non-standard-uint-with-unsigned-int.patch32 __u32 bounce;
35 -static void master_to_client(uint cmd, uint msglen, uint msgcnt, uint bounce)
36 …d master_to_client(unsigned int cmd, unsigned int msglen, unsigned int msgcnt, unsigned int bounce)
40 @@ -93,7 +93,7 @@ static void master_to_client(uint cmd, uint msglen, uint msgcnt, uint bounce)
44 -static void client_from_master(uint *cmd, uint *msglen, uint *msgcnt, uint *bounce)
45 …nt_from_master(unsigned int *cmd, unsigned int *msglen, unsigned int *msgcnt, unsigned int *bounce)
/openbmc/linux/drivers/misc/eeprom/
H A Dat25.c205 u8 *bounce; in at25_ee_write() local
218 bounce = kmalloc(buf_size + at25->addrlen + 1, GFP_KERNEL); in at25_ee_write()
219 if (!bounce) in at25_ee_write()
231 u8 *cp = bounce; in at25_ee_write()
268 status = spi_write(at25->spi, bounce, in at25_ee_write()
315 kfree(bounce); in at25_ee_write()
/openbmc/linux/block/
H A Dbounce.c209 bool bounce = false; in __blk_queue_bounce() local
216 bounce = true; in __blk_queue_bounce()
218 if (!bounce) in __blk_queue_bounce()
H A Dblk-settings.c55 lim->bounce = BLK_BOUNCE_NONE; in blk_set_default_limits()
98 void blk_queue_bounce_limit(struct request_queue *q, enum blk_bounce bounce) in blk_queue_bounce_limit() argument
100 q->limits.bounce = bounce; in blk_queue_bounce_limit()
565 t->bounce = max(t->bounce, b->bounce); in blk_stack_limits()
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-el15203000.txt20 - bounce pattern
21 - inversed bounce pattern
/openbmc/linux/fs/erofs/
H A Ddecompressor_deflate.c9 u8 bounce[PAGE_SIZE]; member
205 memcpy(strm->bounce, strm->z.next_in, strm->z.avail_in); in z_erofs_deflate_decompress()
206 strm->z.next_in = strm->bounce; in z_erofs_deflate_decompress()
H A Ddecompressor_lzma.c10 u8 bounce[PAGE_SIZE]; member
252 memcpy(strm->bounce, strm->buf.in, strm->buf.in_size); in z_erofs_lzma_decompress()
253 strm->buf.in = strm->bounce; in z_erofs_lzma_decompress()
/openbmc/linux/kernel/module/
H A Dsysfs.c40 char bounce[MODULE_SECT_READ_SIZE + 1]; in module_sect_read() local
54 wrote = scnprintf(bounce, sizeof(bounce), "0x%px\n", in module_sect_read()
58 memcpy(buf, bounce, count); in module_sect_read()
/openbmc/u-boot/doc/
H A Dbounces2 # bounce. Addresses are listed one per line and need to match the author
/openbmc/u-boot/lib/efi_loader/
H A DKconfig30 bool "EFI Applications use bounce buffers for DMA operations"
35 hardware we can create a bounce buffer so that payloads don't have to
/openbmc/qemu/hw/intc/
H A Dloongarch_extioi.c93 *data = s->bounce[index]; in extioi_readw()
186 s->bounce[index] = val; in extioi_writew()
256 VMSTATE_UINT32_ARRAY(bounce, LoongArchExtIOI, EXTIOI_IRQS_GROUP_COUNT),
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun6i_mipi_dsi.c886 u8 *bounce; in sun6i_dsi_dcs_write_long() local
892 bounce = kzalloc(ALIGN(msg->tx_len + sizeof(crc), 4), GFP_KERNEL); in sun6i_dsi_dcs_write_long()
893 if (!bounce) in sun6i_dsi_dcs_write_long()
896 memcpy(bounce, msg->tx_buf, msg->tx_len); in sun6i_dsi_dcs_write_long()
899 crc = sun6i_dsi_crc_compute(bounce, msg->tx_len); in sun6i_dsi_dcs_write_long()
900 memcpy((u8 *)bounce + msg->tx_len, &crc, sizeof(crc)); in sun6i_dsi_dcs_write_long()
903 regmap_bulk_write(dsi->regs, SUN6I_DSI_CMD_TX_REG(1), bounce, DIV_ROUND_UP(len, 4)); in sun6i_dsi_dcs_write_long()
905 kfree(bounce); in sun6i_dsi_dcs_write_long()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dr852.c174 int bounce = 0; in r852_do_dma() local
193 bounce = 1; in r852_do_dma()
195 if (!bounce) { in r852_do_dma()
200 bounce = 1; in r852_do_dma()
203 if (bounce) { in r852_do_dma()
223 if (do_read && bounce) in r852_do_dma()
/openbmc/linux/drivers/block/
H A Dxen-blkfront.c220 unsigned int bounce:1; member
321 if (info->bounce) { in fill_grant_buffer()
341 if (info->bounce) in fill_grant_buffer()
387 if (info->bounce) in get_grant()
411 if (!info->bounce) { in get_indirect_grant()
1220 BUG_ON(info->bounce); in blkif_free_ring()
1237 if (info->bounce) in blkif_free_ring()
1258 if (info->bounce) in blkif_free_ring()
1500 if (!info->bounce) { in blkif_completion()
1784 info->bounce = !xen_blkif_trusted || in talk_to_blkback()
[all …]
/openbmc/qemu/include/hw/intc/
H A Dloongarch_extioi.h49 uint32_t bounce[EXTIOI_IRQS_GROUP_COUNT]; member

123