Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/dma/
Dswiotlb.c161 if (!io_tlb_default_mem.nslabs) in swiotlb_max_segment()
163 return rounddown(io_tlb_default_mem.nslabs << IO_TLB_SHIFT, PAGE_SIZE); in swiotlb_max_segment()
193 if (!mem->nslabs) { in swiotlb_print_info()
199 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()
252 if (!mem->nslabs || mem->late_alloc) in swiotlb_update_mem_attributes()
255 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()
264 unsigned long nslabs, unsigned int flags, in swiotlb_init_io_tlb_mem() argument
268 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; in swiotlb_init_io_tlb_mem()
270 mem->nslabs = nslabs; in swiotlb_init_io_tlb_mem()
275 mem->area_nslabs = nslabs / mem->nareas; in swiotlb_init_io_tlb_mem()
[all …]
/linux-6.1.9/include/linux/
Dswiotlb.h39 int (*remap)(void *tlb, unsigned long nslabs));
41 int (*remap)(void *tlb, unsigned long nslabs));
95 unsigned long nslabs; member
/linux-6.1.9/arch/x86/include/asm/xen/
Dswiotlb-xen.h11 int xen_swiotlb_fixup(void *buf, unsigned long nslabs);
/linux-6.1.9/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()
/linux-6.1.9/arch/arm/xen/
Dmm.c128 if (!io_tlb_default_mem.nslabs) { in xen_mm_init()
/linux-6.1.9/arch/x86/kernel/
Dpci-dma.c93 if (!io_tlb_default_mem.nslabs) { in pci_xen_swiotlb_init_late()