/Linux-v6.6/lib/ |
D | test_hmm.c | 127 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-v6.6/arch/s390/mm/ |
D | maccess.c | 153 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-v6.6/drivers/gpu/drm/ |
D | drm_cache.c | 230 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-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ioctl.c | 130 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()
|
D | vmwgfx_devcaps.c | 55 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()
|
/Linux-v6.6/drivers/char/ |
D | mem.c | 110 char *bounce; in read_mem() local 134 bounce = kmalloc(PAGE_SIZE, GFP_KERNEL); in read_mem() 135 if (!bounce) in read_mem() 163 probe = copy_from_kernel_nofault(bounce, ptr, sz); in read_mem() 168 remaining = copy_to_user(buf, bounce, sz); in read_mem() 181 kfree(bounce); in read_mem() 187 kfree(bounce); in read_mem()
|
/Linux-v6.6/Documentation/i2c/ |
D | dma-considerations.rst | 49 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-v6.6/drivers/misc/eeprom/ |
D | at25.c | 205 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()
|
/Linux-v6.6/block/ |
D | bounce.c | 209 bool bounce = false; in __blk_queue_bounce() local 216 bounce = true; in __blk_queue_bounce() 218 if (!bounce) in __blk_queue_bounce()
|
D | blk-settings.c | 55 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()
|
D | Makefile | 14 obj-$(CONFIG_BOUNCE) += bounce.o
|
/Linux-v6.6/Documentation/devicetree/bindings/leds/ |
D | leds-el15203000.txt | 20 - bounce pattern 21 - inversed bounce pattern
|
/Linux-v6.6/fs/erofs/ |
D | decompressor_deflate.c | 9 u8 bounce[PAGE_SIZE]; member 201 memcpy(strm->bounce, strm->z.next_in, strm->z.avail_in); in z_erofs_deflate_decompress() 202 strm->z.next_in = strm->bounce; in z_erofs_deflate_decompress()
|
D | decompressor_lzma.c | 10 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()
|
/Linux-v6.6/kernel/module/ |
D | sysfs.c | 40 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-v6.6/drivers/gpu/drm/sun4i/ |
D | sun6i_mipi_dsi.c | 886 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-v6.6/drivers/mtd/nand/raw/ |
D | r852.c | 174 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-v6.6/drivers/block/ |
D | xen-blkfront.c | 220 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() 998 "bounce buffer:", info->bounce ? "enabled" : "disabled;"); in xlvbd_flush() 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() [all …]
|
/Linux-v6.6/drivers/media/usb/go7007/ |
D | go7007-driver.c | 82 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-v6.6/Documentation/leds/ |
D | leds-el15203000.rst | 114 Inverted bounce mode for Pipe LED::
|
/Linux-v6.6/Documentation/arch/x86/x86_64/ |
D | boot-options.rst | 240 Kernel boot message: "PCI-DMA: Using software bounce buffering 259 Use software bounce buffering (SWIOTLB) (default for 287 iommu options only relevant to the software bounce buffering (SWIOTLB) IOMMU 292 Prereserve that many 2K slots for the software IO bounce buffering.
|
/Linux-v6.6/Documentation/block/ |
D | inline-encryption.rst | 149 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-v6.6/arch/arm/vfp/ |
D | vfpmodule.c | 744 goto bounce; in vfp_support_entry() 771 bounce: regs->ARM_pc += 4; in vfp_support_entry()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 894 bool bounce = false; in mlx4_en_xmit() local 949 bounce = true; in mlx4_en_xmit() 1091 if (unlikely(bounce)) in mlx4_en_xmit()
|
/Linux-v6.6/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 860 bounce: in ttm_bo_move_buffer() 867 goto bounce; in ttm_bo_move_buffer()
|