/drivers/mmc/card/ |
H A D | queue.c | 203 mqrq_cur->bounce_buf = kmalloc(bouncesz, GFP_KERNEL); 204 if (!mqrq_cur->bounce_buf) { 209 mqrq_prev->bounce_buf = kmalloc(bouncesz, GFP_KERNEL); 210 if (!mqrq_prev->bounce_buf) { 214 kfree(mqrq_cur->bounce_buf); 215 mqrq_cur->bounce_buf = NULL; 219 if (mqrq_cur->bounce_buf && mqrq_prev->bounce_buf) { 246 if (!mqrq_cur->bounce_buf && !mqrq_prev->bounce_buf) { [all...] |
H A D | queue.h | 19 char *bounce_buf; member in struct:mmc_queue_req
|
/drivers/mmc/host/ |
H A D | tmio_mmc_dma.c | 84 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); 163 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); 164 memcpy(host->bounce_buf, sg_vaddr, host->bounce_sg.length); 300 host->bounce_buf = (u8 *)__get_free_page(GFP_KERNEL | GFP_DMA); 301 if (!host->bounce_buf) 332 if (host->bounce_buf) { 333 free_pages((unsigned long)host->bounce_buf, 0); 334 host->bounce_buf = NULL;
|
H A D | tifm_sd.c | 109 struct scatterlist bounce_buf; member in struct:tifm_sd 251 tifm_sd_copy_page(sg_page(&host->bounce_buf), 255 tifm_sd_copy_page(pg, p_off, sg_page(&host->bounce_buf), 312 sg = &host->bounce_buf; 668 sg_init_one(&host->bounce_buf, host->bounce_buf_data, 671 if(1 != tifm_map_sg(sock, &host->bounce_buf, 1, 689 tifm_unmap_sg(sock, &host->bounce_buf, 1, 764 tifm_unmap_sg(sock, &host->bounce_buf, 1,
|
H A D | tmio_mmc.h | 74 u8 *bounce_buf; member in struct:tmio_mmc_host
|
H A D | tmio_mmc_pio.c | 405 memcpy(sg_vaddr, host->bounce_buf, host->bounce_sg.length);
|
/drivers/scsi/ |
H A D | ps3rom.c | 129 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); 201 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); 316 dev->bounce_buf, 377 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); 378 if (!dev->bounce_buf) 418 kfree(dev->bounce_buf); 431 kfree(dev->bounce_buf);
|
/drivers/ps3/ |
H A D | ps3stor_lib.c | 179 __ffs((unsigned long)dev->bounce_buf)); 183 __func__, __LINE__, dev->bounce_size, dev->bounce_buf); 192 PS3_DMA_OTHER, dev->bounce_buf, dev->bounce_size); 201 dev->bounce_lpar = ps3_mm_phys_to_lpar(__pa(dev->bounce_buf)); 202 dev->bounce_dma = dma_map_single(&dev->sbd.core, dev->bounce_buf,
|
/drivers/block/ |
H A D | ps3disk.c | 112 memcpy(dev->bounce_buf+offset, buf, size); 114 memcpy(buf, dev->bounce_buf+offset, size); 369 u16 *id = dev->bounce_buf; 442 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); 443 if (!dev->bounce_buf) { 511 kfree(dev->bounce_buf); 537 kfree(dev->bounce_buf);
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 80 ring->bounce_buf = kmalloc(MAX_DESC_SIZE, GFP_KERNEL); 81 if (!ring->bounce_buf) { 130 kfree(ring->bounce_buf); 131 ring->bounce_buf = NULL; 151 kfree(ring->bounce_buf); 152 ring->bounce_buf = NULL; 428 *((u32 *) (ring->bounce_buf + copy + i)); 436 *((u32 *) (ring->bounce_buf + i)); 664 tx_desc = (struct mlx4_en_tx_desc *) ring->bounce_buf;
|
H A D | mlx4_en.h | 244 u8 *bounce_buf; member in struct:mlx4_en_tx_ring
|
/drivers/usb/host/whci/ |
H A D | qset.c | 270 bounce = std->bounce_buf; 302 if (std->bounce_buf) { 315 kfree(std->bounce_buf); 581 std->bounce_buf = kmalloc(max_std_len, mem_flags); 582 if (std->bounce_buf == NULL) 586 bounce = std->bounce_buf; 613 std->dma_addr = dma_map_single(&whc->umc->dev, std->bounce_buf, std->len,
|
H A D | whcd.h | 87 * @bounce_buf: a bounce buffer if the std was from an urb with a sg 89 * @bounce_sg: the first scatterlist element bounce_buf is for. 90 * @bounce_offset: the offset into bounce_sg for the start of bounce_buf. 106 void *bounce_buf; member in struct:whc_std
|
/drivers/char/ |
H A D | ps3flash.c | 160 src = dev->bounce_buf + offset; 229 dst = dev->bounce_buf + offset; 411 dev->bounce_buf = ps3flash_bounce_buffer.address;
|
/drivers/mtd/nand/ |
H A D | alauda.c | 392 void *bounce_buf; local 395 bounce_buf = kmalloc(mtd->writesize, GFP_KERNEL); 396 if (!bounce_buf) 405 err = alauda_read_page(mtd, from, bounce_buf, oob, 410 memcpy(buf, bounce_buf + byte, cplen); 421 kfree(bounce_buf);
|