Home
last modified time | relevance | path

Searched refs:cc_shared (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/dma/
H A Dswiotlb.c366 io_tlb_default_mem.cc_shared = true; in swiotlb_update_mem_attributes()
368 io_tlb_default_mem.cc_shared = false; in swiotlb_update_mem_attributes()
374 if (io_tlb_default_mem.cc_shared) { in swiotlb_update_mem_attributes()
628 if (io_tlb_default_mem.cc_shared) { in swiotlb_init_late()
673 if (io_tlb_default_mem.cc_shared) { in swiotlb_exit()
715 bool cc_shared = attrs & __DMA_ATTR_ALLOC_CC_SHARED; in alloc_dma_pages() local
731 if (cc_shared && set_memory_decrypted((unsigned long)vaddr, PFN_UP(bytes))) in alloc_dma_pages()
737 if (cc_shared && !set_memory_encrypted((unsigned long)vaddr, PFN_UP(bytes))) in alloc_dma_pages()
758 unsigned long attrs = mem->cc_shared ? __DMA_ATTR_ALLOC_CC_SHARED : 0; in swiotlb_alloc_tlb()
765 if (!gfpflags_allow_blocking(gfp) && dev && mem->cc_shared) { in swiotlb_alloc_tlb()
[all …]
H A Dpool.c18 bool cc_shared; member
112 if (dma_pool->cc_shared) in atomic_pool_expand()
128 if (dma_pool->cc_shared) { in atomic_pool_expand()
146 if (dma_pool->cc_shared && in atomic_pool_expand()
191 dma_pool->cc_shared = true; in __dma_atomic_pool_init()
193 dma_pool->cc_shared = false; in __dma_atomic_pool_init()
332 if (dma_pool->cc_shared != !!(attrs & __DMA_ATTR_ALLOC_CC_SHARED)) in dma_alloc_from_pool()
/linux/include/linux/
H A Dswiotlb.h88 bool cc_shared; member
120 bool cc_shared; member