Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/dma/
Dswiotlb.c230 if (!mem->nslabs) { in swiotlb_print_info()
236 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()
260 if (!mem->nslabs || mem->late_alloc) in swiotlb_update_mem_attributes()
262 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()
267 unsigned long nslabs, bool late_alloc, unsigned int nareas) in swiotlb_init_io_tlb_pool() argument
270 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; in swiotlb_init_io_tlb_pool()
272 mem->nslabs = nslabs; in swiotlb_init_io_tlb_pool()
277 mem->area_nslabs = nslabs / mem->nareas; in swiotlb_init_io_tlb_pool()
285 for (i = 0; i < mem->nslabs; i++) { in swiotlb_init_io_tlb_pool()
287 mem->nslabs - i); in swiotlb_init_io_tlb_pool()
[all …]
/linux-6.6.21/include/linux/
Dswiotlb.h40 int (*remap)(void *tlb, unsigned long nslabs));
42 int (*remap)(void *tlb, unsigned long nslabs));
92 unsigned long nslabs; member
126 unsigned long nslabs; member
/linux-6.6.21/arch/x86/include/asm/xen/
Dswiotlb-xen.h5 int xen_swiotlb_fixup(void *buf, unsigned long nslabs);
/linux-6.6.21/drivers/xen/
Dswiotlb-xen.c107 int xen_swiotlb_fixup(void *buf, unsigned long nslabs) in xen_swiotlb_fixup() argument
116 BUG_ON(nslabs % IO_TLB_SEGSIZE); in xen_swiotlb_fixup()
129 } while (i < nslabs); in xen_swiotlb_fixup()