Home
last modified time | relevance | path

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

12

/linux/lib/
H A Dtest_hmm.c127 static int dmirror_bounce_init(struct dmirror_bounce *bounce, in dmirror_bounce_init() argument
131 bounce->addr = addr; in dmirror_bounce_init()
132 bounce->size = size; in dmirror_bounce_init()
133 bounce->cpages = 0; in dmirror_bounce_init()
134 bounce->ptr = vmalloc(size); in dmirror_bounce_init()
135 if (!bounce->ptr) in dmirror_bounce_init()
155 static void dmirror_bounce_fini(struct dmirror_bounce *bounce) in dmirror_bounce_fini() argument
157 vfree(bounce->ptr); in dmirror_bounce_fini()
361 unsigned long end, struct dmirror_bounce *bounce) in dmirror_do_read() argument
366 ptr = bounce->ptr + ((start - bounce->addr) & PAGE_MASK); in dmirror_do_read()
[all …]
/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()
/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()
/linux/drivers/char/
H A Dmem.c106 char *bounce; in read_mem() local
130 bounce = kmalloc(PAGE_SIZE, GFP_KERNEL); in read_mem()
131 if (!bounce) in read_mem()
159 probe = copy_from_kernel_nofault(bounce, ptr, sz); in read_mem()
164 remaining = copy_to_user(buf, bounce, sz); in read_mem()
177 kfree(bounce); in read_mem()
183 kfree(bounce); in read_mem()
/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.
/linux/fs/erofs/
H A Ddecompressor_deflate.c8 u8 bounce[PAGE_SIZE]; member
147 dctx.bounce = strm->bounce; in z_erofs_deflate_decompress()
H A Ddecompressor_zstd.c7 u8 bounce[PAGE_SIZE]; member
178 dctx.bounce = strm->bounce; in z_erofs_zstd_decompress()
H A Ddecompressor_lzma.c8 u8 bounce[PAGE_SIZE]; member
192 dctx.bounce = strm->bounce; in z_erofs_lzma_decompress()
H A Dcompress.h90 void *bounce; /* bounce buffer for inplace I/Os */ member
H A Ddecompressor.c439 memcpy(dctx->bounce, *src, dctx->inbuf_sz); in z_erofs_stream_switch_bufs()
440 *src = dctx->bounce; in z_erofs_stream_switch_bufs()
/linux/block/
H A Dbounce.c210 bool bounce = false; in __blk_queue_bounce() local
217 bounce = true; in __blk_queue_bounce()
219 if (!bounce) in __blk_queue_bounce()
H A DMakefile14 obj-$(CONFIG_BOUNCE) += bounce.o
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-el15203000.txt20 - bounce pattern
21 - inversed bounce pattern
/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()
/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()
/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()
714 .need_copy = rq_data_dir(req) && info->bounce, in blkif_queue_rw_req()
1001 "bounce buffer:", info->bounce ? "enabled" : "disabled;"); in xlvbd_flush()
1221 BUG_ON(info->bounce); in blkif_free_ring()
1238 if (info->bounce) in blkif_free_ring()
1259 if (info->bounce) in blkif_free_ring()
[all …]
/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()
/linux/drivers/media/usb/go7007/
H A Dgo7007-driver.c82 void *bounce; in go7007_load_encoder() local
97 bounce = kmemdup(fw_entry->data + 16, fw_len, GFP_KERNEL); in go7007_load_encoder()
98 if (bounce == NULL) { in go7007_load_encoder()
105 go->boot_fw = bounce; in go7007_load_encoder()
/linux/Documentation/leds/
H A Dleds-el15203000.rst114 Inverted bounce mode for Pipe LED::
/linux/fs/bcachefs/
H A Dcompress.c84 goto bounce; in __bio_map_or_bounce()
88 goto bounce; in __bio_map_or_bounce()
99 goto bounce; in __bio_map_or_bounce()
114 bounce: in __bio_map_or_bounce()
H A Dio_read.h37 u16 bounce:1, member
/linux/Documentation/arch/x86/x86_64/
H A Dboot-options.rst228 Kernel boot message: "PCI-DMA: Using software bounce buffering
247 Use software bounce buffering (SWIOTLB) (default for
275 iommu options only relevant to the software bounce buffering (SWIOTLB) IOMMU
280 Prereserve that many 2K slots for the software IO bounce buffering.
/linux/Documentation/block/
H A Dinline-encryption.rst149 on it being unmodified. Instead, blk-crypto-fallback allocates bounce pages,
150 fills a new bio with those bounce pages, encrypts the data into those bounce
151 pages, and submits that "bounce" bio. When the bounce bio completes,
153 large, multiple bounce bios may be required; see the code for details.
/linux/arch/arm/vfp/
H A Dvfpmodule.c744 goto bounce; in vfp_support_entry()
771 bounce: regs->ARM_pc += 4; in vfp_support_entry()
/linux/drivers/iio/adc/
H A Dti-ads1298.c492 u32 *bounce = priv->bounce_buffer; in ads1298_rdata_complete() local
510 *bounce++ = get_unaligned_be24(data); in ads1298_rdata_complete()

12