/linux/crypto/async_tx/ |
A D | async_xor.c | 32 int src_cnt = unmap->to_cnt; in do_async_xor() 34 dma_addr_t dma_dest = unmap->addr[unmap->to_cnt]; in do_async_xor() 63 if (src_list > unmap->addr) in do_async_xor() 82 dma_set_unmap(tx, unmap); in do_async_xor() 205 unmap->len = len; in async_xor_offs() 209 unmap->to_cnt++; in async_xor_offs() 218 unmap->bidi_cnt = 1; in async_xor_offs() 221 dmaengine_unmap_put(unmap); in async_xor_offs() 346 unmap->to_cnt++; in async_xor_val_offs() 348 unmap->len = len; in async_xor_val_offs() [all …]
|
A D | async_pq.c | 209 unmap->len = len; in async_gen_syndrome() 216 unmap->to_cnt++; in async_gen_syndrome() 224 unmap->bidi_cnt++; in async_gen_syndrome() 230 unmap->addr[j++] = 0; in async_gen_syndrome() 234 unmap->bidi_cnt++; in async_gen_syndrome() 240 unmap->addr[j++] = 0; in async_gen_syndrome() 323 unmap->len = len; in async_syndrome_val() 330 unmap->to_cnt++; in async_syndrome_val() 343 unmap->to_cnt++; in async_syndrome_val() 353 unmap->to_cnt++; in async_syndrome_val() [all …]
|
A D | async_memcpy.c | 40 struct dmaengine_unmap_data *unmap = NULL; in async_memcpy() local 43 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in async_memcpy() 53 unmap->to_cnt = 1; in async_memcpy() 54 unmap->addr[0] = dma_map_page(device->dev, src, src_offset, len, in async_memcpy() 56 unmap->from_cnt = 1; in async_memcpy() 57 unmap->addr[1] = dma_map_page(device->dev, dest, dest_offset, len, in async_memcpy() 59 unmap->len = len; in async_memcpy() 61 tx = device->device_prep_dma_memcpy(chan, unmap->addr[1], in async_memcpy() 62 unmap->addr[0], len, in async_memcpy() 69 dma_set_unmap(tx, unmap); in async_memcpy() [all …]
|
A D | async_raid6_recov.c | 33 if (unmap) { in async_sum_product() 45 unmap->to_cnt = 2; in async_sum_product() 49 unmap->bidi_cnt = 1; in async_sum_product() 51 pq[1] = unmap->addr[2]; in async_sum_product() 53 unmap->len = len; in async_sum_product() 57 dma_set_unmap(tx, unmap); in async_sum_product() 66 dmaengine_unmap_put(unmap); in async_sum_product() 101 if (unmap) { in async_mult() 111 unmap->to_cnt++; in async_mult() 115 unmap->bidi_cnt++; in async_mult() [all …]
|
/linux/tools/testing/selftests/vm/ |
A D | mlock2-tests.c | 210 goto unmap; in test_mlock_lock() 214 goto unmap; in test_mlock_lock() 219 goto unmap; in test_mlock_lock() 224 unmap: in test_mlock_lock() 273 goto unmap; in test_mlock_onfault() 277 goto unmap; in test_mlock_onfault() 286 goto unmap; in test_mlock_onfault() 290 unmap: in test_mlock_onfault() 317 goto unmap; in test_lock_onfault_of_present() 326 unmap: in test_lock_onfault_of_present() [all …]
|
/linux/drivers/xen/xenbus/ |
A D | xenbus_client.c | 587 if (unmap[i].status != GNTST_okay) { in xenbus_unmap_ring() 590 handles[i], unmap[i].status); in xenbus_unmap_ring() 591 err = unmap[i].status; in xenbus_unmap_ring() 685 return ring_ops->unmap(dev, vaddr); in xenbus_unmap_ring_vfree() 771 memset(&unmap[i], 0, sizeof(unmap[i])); in xenbus_unmap_ring_pv() 775 unmap[i].dev_bus_addr = 0; in xenbus_unmap_ring_pv() 776 unmap[i].handle = node->handles[i]; in xenbus_unmap_ring_pv() 784 if (unmap[i].status != GNTST_okay) { in xenbus_unmap_ring_pv() 789 err = unmap[i].status; in xenbus_unmap_ring_pv() 806 .unmap = xenbus_unmap_ring_pv, [all …]
|
/linux/arch/arm/xen/ |
A D | p2m.c | 97 struct gnttab_unmap_grant_ref unmap; in set_foreign_p2m_mapping() local 111 unmap.host_addr = map_ops[i].host_addr, in set_foreign_p2m_mapping() 112 unmap.handle = map_ops[i].handle; in set_foreign_p2m_mapping() 115 unmap.dev_bus_addr = map_ops[i].dev_bus_addr; in set_foreign_p2m_mapping() 117 unmap.dev_bus_addr = 0; in set_foreign_p2m_mapping() 123 unmap.status = 1; in set_foreign_p2m_mapping() 126 &unmap, 1); in set_foreign_p2m_mapping() 127 if (rc || unmap.status != GNTST_okay) in set_foreign_p2m_mapping() 129 rc, unmap.status); in set_foreign_p2m_mapping()
|
/linux/arch/x86/xen/ |
A D | p2m.c | 712 struct gnttab_unmap_grant_ref unmap[2]; in set_foreign_p2m_mapping() local 739 unmap[0].host_addr = map_ops[i].host_addr, in set_foreign_p2m_mapping() 740 unmap[0].handle = map_ops[i].handle; in set_foreign_p2m_mapping() 745 unmap[0].dev_bus_addr = 0; in set_foreign_p2m_mapping() 750 unmap[1].handle = kmap_ops[i].handle; in set_foreign_p2m_mapping() 755 unmap[1].dev_bus_addr = 0; in set_foreign_p2m_mapping() 762 unmap[0].status = 1; in set_foreign_p2m_mapping() 763 unmap[1].status = 1; in set_foreign_p2m_mapping() 766 unmap, 1 + !!kmap_ops); in set_foreign_p2m_mapping() 768 unmap[1].status != GNTST_okay) in set_foreign_p2m_mapping() [all …]
|
/linux/drivers/net/ethernet/brocade/bna/ |
A D | bnad.c | 100 skb = unmap->skb; in bnad_tx_buff_unmap() 101 unmap->skb = NULL; in bnad_tx_buff_unmap() 102 unmap->nvecs = 0; in bnad_tx_buff_unmap() 309 if (!unmap->skb) in bnad_rxq_cleanup_skb() 328 struct bnad_rx_unmap *unmap = &unmap_q->unmap[i]; in bnad_rxq_cleanup() local 356 unmap = &unmap_q->unmap[prod]; in bnad_rxq_refill_page() 428 unmap = &unmap_q->unmap[prod]; in bnad_rxq_refill_skb() 508 unmap = &unmap_q->unmap[ci]; in bnad_cq_drop_packet() 544 unmap = &unmap_q->unmap[ci]; in bnad_cq_setup_skb_frags() 556 unmap->page, unmap->page_offset, len); in bnad_cq_setup_skb_frags() [all …]
|
/linux/drivers/dma/ |
A D | dmaengine.c | 1411 cnt = unmap->to_cnt; in dmaengine_unmap() 1413 dma_unmap_page(dev, unmap->addr[i], unmap->len, in dmaengine_unmap() 1417 dma_unmap_page(dev, unmap->addr[i], unmap->len, in dmaengine_unmap() 1423 dma_unmap_page(dev, unmap->addr[i], unmap->len, in dmaengine_unmap() 1426 cnt = unmap->map_cnt; in dmaengine_unmap() 1432 if (unmap) in dmaengine_unmap_put() 1484 if (!unmap) in dmaengine_get_unmap_data() 1487 memset(unmap, 0, sizeof(*unmap)); in dmaengine_get_unmap_data() 1489 unmap->dev = dev; in dmaengine_get_unmap_data() 1490 unmap->map_cnt = nr; in dmaengine_get_unmap_data() [all …]
|
A D | mv_xor.c | 793 if (!unmap) { in mv_chan_memcpy_self_test() 801 unmap->addr[0] = src_dma; in mv_chan_memcpy_self_test() 808 unmap->to_cnt = 1; in mv_chan_memcpy_self_test() 813 unmap->addr[1] = dest_dma; in mv_chan_memcpy_self_test() 820 unmap->from_cnt = 1; in mv_chan_memcpy_self_test() 821 unmap->len = PAGE_SIZE; in mv_chan_memcpy_self_test() 862 dmaengine_unmap_put(unmap); in mv_chan_memcpy_self_test() 927 if (!unmap) { in mv_chan_xor_self_test() 942 unmap->to_cnt++; in mv_chan_xor_self_test() 953 unmap->from_cnt = 1; in mv_chan_xor_self_test() [all …]
|
/linux/include/xen/ |
A D | grant_table.h | 171 gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, phys_addr_t addr, in gnttab_set_unmap_op() argument 175 unmap->host_addr = addr; in gnttab_set_unmap_op() 177 unmap->host_addr = __pa(addr); in gnttab_set_unmap_op() 179 unmap->host_addr = addr; in gnttab_set_unmap_op() 181 unmap->handle = handle; in gnttab_set_unmap_op() 182 unmap->dev_bus_addr = 0; in gnttab_set_unmap_op()
|
/linux/drivers/acpi/ |
A D | nvs.c | 80 bool unmap; member 139 if (entry->unmap) { in suspend_nvs_free() 141 entry->unmap = false; in suspend_nvs_free() 185 entry->unmap = !!entry->kaddr; in suspend_nvs_save()
|
/linux/drivers/ntb/ |
A D | ntb_transport.c | 1540 if (!unmap) in ntb_async_rx_submit() 1543 unmap->len = len; in ntb_async_rx_submit() 1549 unmap->to_cnt = 1; in ntb_async_rx_submit() 1556 unmap->from_cnt = 1; in ntb_async_rx_submit() 1566 dma_set_unmap(txd, unmap); in ntb_async_rx_submit() 1572 dmaengine_unmap_put(unmap); in ntb_async_rx_submit() 1581 dmaengine_unmap_put(unmap); in ntb_async_rx_submit() 1821 if (!unmap) in ntb_async_tx_submit() 1824 unmap->len = len; in ntb_async_tx_submit() 1830 unmap->to_cnt = 1; in ntb_async_tx_submit() [all …]
|
/linux/drivers/irqchip/ |
A D | irq-mchp-eic.c | 220 goto unmap; in mchp_eic_init() 226 goto unmap; in mchp_eic_init() 231 goto unmap; in mchp_eic_init() 267 unmap: in mchp_eic_init()
|
/linux/include/linux/ |
A D | dmaengine.h | 616 struct dmaengine_unmap_data *unmap; member 628 struct dmaengine_unmap_data *unmap) in dma_set_unmap() argument 630 kref_get(&unmap->kref); in dma_set_unmap() 631 tx->unmap = unmap; in dma_set_unmap() 636 void dmaengine_unmap_put(struct dmaengine_unmap_data *unmap); 639 struct dmaengine_unmap_data *unmap) in dma_set_unmap() argument 647 static inline void dmaengine_unmap_put(struct dmaengine_unmap_data *unmap) in dmaengine_unmap_put() argument 654 if (!tx->unmap) in dma_descriptor_unmap() 657 dmaengine_unmap_put(tx->unmap); in dma_descriptor_unmap() 658 tx->unmap = NULL; in dma_descriptor_unmap()
|
/linux/drivers/block/xen-blkback/ |
A D | blkback.c | 253 unmap_data.unmap_ops = unmap; in free_persistent_gnts() 259 gnttab_set_unmap_op(&unmap[segs_to_unmap], in free_persistent_gnts() 295 unmap_data.unmap_ops = unmap; in xen_blkbk_unmap_purged_grants() 304 gnttab_set_unmap_op(&unmap[segs_to_unmap], in xen_blkbk_unmap_purged_grants() 711 req->unmap, req->unmap_pages); in xen_blkbk_unmap_and_respond() 715 work->unmap_ops = req->unmap; in xen_blkbk_unmap_and_respond() 744 unmap, unmap_pages); in xen_blkbk_unmap() 746 ret = gnttab_unmap_refs(unmap, NULL, unmap_pages, invcount); in xen_blkbk_unmap() 932 goto unmap; in xen_blkbk_parse_indirect() 951 goto unmap; in xen_blkbk_parse_indirect() [all …]
|
/linux/drivers/xen/ |
A D | arm-device.c | 70 goto unmap; in xen_map_device_mmio() 94 goto unmap; in xen_map_device_mmio() 99 unmap: in xen_map_device_mmio()
|
A D | xen-front-pgdir-shbuf.c | 69 int (*unmap)(struct xen_front_pgdir_shbuf *buf); member 126 if (buf->ops && buf->ops->unmap) in xen_front_pgdir_shbuf_unmap() 127 return buf->ops->unmap(buf); in xen_front_pgdir_shbuf_unmap() 505 .unmap = backend_unmap
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | vmmgm200.c | 37 .unmap = gf100_vmm_pgt_unmap, 47 .unmap = gf100_vmm_pgt_unmap, 62 .unmap = gf100_vmm_pgt_unmap,
|
/linux/Documentation/vm/ |
A D | transhuge.rst | 120 - map/unmap of the pages with PTE entry increment/decrement ->_mapcount 123 - map/unmap of the whole compound page is accounted for in compound_mapcount 126 last unmap of subpages. 132 get race-free detection of unmap of subpages when we have them mapped with 137 map/unmap of the whole compound page. 172 Partial unmap and deferred_split_huge_page() 181 the place where we can detect partial unmap. It also might be 182 counterproductive since in many cases partial unmap happens during exit(2) if
|
/linux/arch/x86/include/asm/ |
A D | set_memory.h | 97 static inline int set_mce_nospec(unsigned long pfn, bool unmap) in set_mce_nospec() argument 116 if (unmap) in set_mce_nospec()
|
/linux/arch/x86/platform/geode/ |
A D | net5501.c | 121 goto unmap; in net5501_present() 135 unmap: in net5501_present()
|
/linux/drivers/ntb/test/ |
A D | ntb_perf.c | 789 struct dmaengine_unmap_data *unmap; in perf_copy_chunk() local 812 unmap = dmaengine_get_unmap_data(dma_dev, 1, GFP_NOWAIT); in perf_copy_chunk() 813 if (!unmap) in perf_copy_chunk() 816 unmap->len = len; in perf_copy_chunk() 817 unmap->addr[0] = dma_map_page(dma_dev, virt_to_page(src), in perf_copy_chunk() 819 if (dma_mapping_error(dma_dev, unmap->addr[0])) { in perf_copy_chunk() 823 unmap->to_cnt = 1; in perf_copy_chunk() 839 dma_set_unmap(tx, unmap); in perf_copy_chunk() 843 dmaengine_unmap_put(unmap); in perf_copy_chunk() 847 dmaengine_unmap_put(unmap); in perf_copy_chunk() [all …]
|
/linux/drivers/clk/sunxi/ |
A D | clk-sun4i-display.c | 126 goto unmap; in sun4i_a10_display_init() 131 goto unmap; in sun4i_a10_display_init() 216 unmap: in sun4i_a10_display_init()
|