Lines Matching refs:cflush
50 struct gnttab_cache_flush cflush; in dma_cache_maint() local
65 cflush.op = 0; in dma_cache_maint()
66 cflush.a.dev_bus_addr = xen_pfn << XEN_PAGE_SHIFT; in dma_cache_maint()
67 cflush.offset = offset; in dma_cache_maint()
68 cflush.length = len; in dma_cache_maint()
71 cflush.op = GNTTAB_CACHE_INVAL; in dma_cache_maint()
74 cflush.op = GNTTAB_CACHE_INVAL; in dma_cache_maint()
76 cflush.op = GNTTAB_CACHE_CLEAN; in dma_cache_maint()
78 if (cflush.op) in dma_cache_maint()
79 HYPERVISOR_grant_table_op(GNTTABOP_cache_flush, &cflush, 1); in dma_cache_maint()
190 struct gnttab_cache_flush cflush; in xen_mm_init() local
196 cflush.op = 0; in xen_mm_init()
197 cflush.a.dev_bus_addr = 0; in xen_mm_init()
198 cflush.offset = 0; in xen_mm_init()
199 cflush.length = 0; in xen_mm_init()
200 if (HYPERVISOR_grant_table_op(GNTTABOP_cache_flush, &cflush, 1) != -ENOSYS) in xen_mm_init()