/Linux-v5.15/lib/ |
D | test_hmm.c | 101 static int dmirror_bounce_init(struct dmirror_bounce *bounce, in dmirror_bounce_init() argument 105 bounce->addr = addr; in dmirror_bounce_init() 106 bounce->size = size; in dmirror_bounce_init() 107 bounce->cpages = 0; in dmirror_bounce_init() 108 bounce->ptr = vmalloc(size); in dmirror_bounce_init() 109 if (!bounce->ptr) in dmirror_bounce_init() 114 static void dmirror_bounce_fini(struct dmirror_bounce *bounce) in dmirror_bounce_fini() argument 116 vfree(bounce->ptr); in dmirror_bounce_fini() 316 unsigned long end, struct dmirror_bounce *bounce) in dmirror_do_read() argument 321 ptr = bounce->ptr + ((start - bounce->addr) & PAGE_MASK); in dmirror_do_read() [all …]
|
/Linux-v5.15/arch/s390/mm/ |
D | maccess.c | 228 void *bounce = (void *) addr; in xlate_dev_mem_ptr() local 235 bounce = (void *) __get_free_page(GFP_ATOMIC); in xlate_dev_mem_ptr() 236 if (bounce) in xlate_dev_mem_ptr() 237 memcpy_absolute(bounce, (void *) addr, size); in xlate_dev_mem_ptr() 241 return bounce; in xlate_dev_mem_ptr()
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_cache.c | 233 char bounce[MEMCPY_BOUNCE_SIZE]; in memcpy_fallback() local 238 memcpy_fromio(bounce, _src, MEMCPY_BOUNCE_SIZE); in memcpy_fallback() 239 memcpy_toio(_dst, bounce, MEMCPY_BOUNCE_SIZE); in memcpy_fallback() 245 memcpy_fromio(bounce, _src, MEMCPY_BOUNCE_SIZE); in memcpy_fallback() 246 memcpy_toio(_dst, bounce, MEMCPY_BOUNCE_SIZE); in memcpy_fallback()
|
/Linux-v5.15/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ioctl.c | 124 void *bounce = NULL; in vmw_get_cap_3d_ioctl() local 142 bounce = vzalloc(size); in vmw_get_cap_3d_ioctl() 143 if (unlikely(bounce == NULL)) { in vmw_get_cap_3d_ioctl() 148 ret = vmw_devcaps_copy(dev_priv, vmw_fp->gb_aware, bounce, size); in vmw_get_cap_3d_ioctl() 152 ret = copy_to_user(buffer, bounce, size); in vmw_get_cap_3d_ioctl() 156 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-v5.15/Documentation/devicetree/bindings/misc/ |
D | brcm,kona-smc.txt | 3 This binding defines the location of the bounce buffer 9 - reg : Location and size of bounce buffer
|
/Linux-v5.15/drivers/misc/eeprom/ |
D | at25.c | 194 u8 *bounce; in at25_ee_write() local 207 bounce = kmalloc(buf_size + at25->addrlen + 1, GFP_KERNEL); in at25_ee_write() 208 if (!bounce) in at25_ee_write() 219 u8 *cp = bounce; in at25_ee_write() 254 status = spi_write(at25->spi, bounce, in at25_ee_write() 300 kfree(bounce); in at25_ee_write()
|
/Linux-v5.15/drivers/char/ |
D | mem.c | 117 char *bounce; in read_mem() local 141 bounce = kmalloc(PAGE_SIZE, GFP_KERNEL); in read_mem() 142 if (!bounce) in read_mem() 170 probe = copy_from_kernel_nofault(bounce, ptr, sz); in read_mem() 175 remaining = copy_to_user(buf, bounce, sz); in read_mem() 188 kfree(bounce); in read_mem() 194 kfree(bounce); in read_mem()
|
/Linux-v5.15/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-v5.15/block/ |
D | blk-settings.c | 54 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() 528 t->bounce = max(t->bounce, b->bounce); in blk_stack_limits()
|
D | bounce.c | 216 bool bounce = false; in __blk_queue_bounce() local 223 bounce = true; in __blk_queue_bounce() 225 if (!bounce) in __blk_queue_bounce()
|
D | Makefile | 14 obj-$(CONFIG_BOUNCE) += bounce.o
|
D | blk.h | 320 q->limits.bounce == BLK_BOUNCE_HIGH && in blk_queue_may_bounce()
|
/Linux-v5.15/Documentation/devicetree/bindings/leds/ |
D | leds-el15203000.txt | 20 - bounce pattern 21 - inversed bounce pattern
|
/Linux-v5.15/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-v5.15/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-v5.15/drivers/staging/media/hantro/ |
D | TODO | 11 * Instead of having a DMA bounce buffer, it could be possible to use a
|
/Linux-v5.15/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-v5.15/Documentation/leds/ |
D | leds-el15203000.rst | 114 Inverted bounce mode for Pipe LED::
|
/Linux-v5.15/Documentation/x86/x86_64/ |
D | boot-options.rst | 256 Kernel boot message: "PCI-DMA: Using software bounce buffering 275 Use software bounce buffering (SWIOTLB) (default for 303 iommu options only relevant to the software bounce buffering (SWIOTLB) IOMMU 308 Prereserve that many 128K pages for the software IO bounce buffering.
|
/Linux-v5.15/Documentation/block/ |
D | inline-encryption.rst | 99 If the bio is a ``WRITE`` bio, a bounce bio is allocated, and the data in the bio 100 is encrypted stored in the bounce bio - blk-mq will then proceed to process the 101 bounce bio as if it were not encrypted at all (except when blk-integrity is 102 concerned). ``blk-crypto-fallback`` sets the bounce bio's ``bi_end_io`` to an 103 internal function that cleans up the bounce bio and ends the original bio.
|
D | biodoc.rst | 182 The generic bounce buffer logic, present in 2.4, where the block layer would 185 changed in 2.5. The bounce logic is now applied only for memory ranges 187 setting the queue bounce limit for the request queue for the device 205 cases, a bounce bio representing a buffer from the supported memory range 210 from the original buffer to the bounce buffer prior to issuing the 215 GFP flags) when allocating bounce buffers, to avoid certain highmem 218 It is also possible that a bounce buffer may be allocated from high-memory 220 device can use directly; so the bounce page may need to be kmapped during 225 be kmapped, even if bounce buffers are not necessary. For example a device 231 the blk_queue_bounce() routine on its own to bounce highmem i/o to low [all …]
|
/Linux-v5.15/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 555 bounce: in ttm_bo_evict() 565 goto bounce; in ttm_bo_evict() 902 bounce: in ttm_bo_move_buffer() 909 goto bounce; in ttm_bo_move_buffer()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 880 bool bounce = false; in mlx4_en_xmit() local 934 bounce = true; in mlx4_en_xmit() 1059 if (unlikely(bounce)) in mlx4_en_xmit()
|
/Linux-v5.15/fs/notify/fanotify/ |
D | fanotify_user.c | 326 unsigned char bounce[FANOTIFY_INLINE_FH_LEN], *fh_buf; in copy_fid_info_to_user() local 385 memcpy(bounce, fh_buf, fh_len); in copy_fid_info_to_user() 386 fh_buf = bounce; in copy_fid_info_to_user()
|