Home
last modified time | relevance | path

Searched refs:nslabs (Results 1 – 4 of 4) sorted by relevance

/linux/kernel/dma/
H A Dswiotlb.c233 if (!mem->nslabs) { in swiotlb_print_info()
239 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()
263 if (!mem->nslabs || mem->late_alloc) in swiotlb_update_mem_attributes()
265 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()
270 unsigned long nslabs, bool late_alloc, unsigned int nareas) in swiotlb_init_io_tlb_pool() argument
273 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; in swiotlb_init_io_tlb_pool()
275 mem->nslabs = nslabs; in swiotlb_init_io_tlb_pool()
280 mem->area_nslabs = nslabs / mem->nareas; in swiotlb_init_io_tlb_pool()
288 for (i = 0; i < mem->nslabs; i++) { in swiotlb_init_io_tlb_pool()
290 mem->nslabs - i); in swiotlb_init_io_tlb_pool()
[all …]
/linux/include/linux/
H A Dswiotlb.h40 int (*remap)(void *tlb, unsigned long nslabs));
42 int (*remap)(void *tlb, unsigned long nslabs));
74 unsigned long nslabs; member
110 unsigned long nslabs; member
/linux/arch/x86/include/asm/xen/
H A Dswiotlb-xen.h5 int xen_swiotlb_fixup(void *buf, unsigned long nslabs);
/linux/drivers/xen/
H A Dswiotlb-xen.c114 int xen_swiotlb_fixup(void *buf, unsigned long nslabs) in xen_swiotlb_fixup() argument
123 BUG_ON(nslabs % IO_TLB_SEGSIZE); in xen_swiotlb_fixup()
136 } while (i < nslabs); in xen_swiotlb_fixup()