Home
last modified time | relevance | path

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

/linux/kernel/dma/
H A Dswiotlb.c314 if (!mem->nslabs) { in swiotlb_print_info()
320 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()
342 for (i = 0; i < pool->nslabs; i++) { in swiotlb_mark_pool_used()
370 if (!mem->nslabs || mem->late_alloc) in swiotlb_update_mem_attributes()
372 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()
387 void *vaddr, unsigned long nslabs, bool late_alloc, in swiotlb_init_io_tlb_pool() argument
390 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; in swiotlb_init_io_tlb_pool()
392 mem->nslabs = nslabs; in swiotlb_init_io_tlb_pool()
397 mem->area_nslabs = nslabs / mem->nareas; in swiotlb_init_io_tlb_pool()
405 for (i = 0; i < mem->nslabs; i++) { in swiotlb_init_io_tlb_pool()
[all …]
H A DKconfig105 overridden at runtime using the "swiotlb=<nslabs>" kernel command line
/linux/include/linux/
H A Dswiotlb.h43 int (*remap)(void *tlb, unsigned long nslabs));
45 int (*remap)(void *tlb, unsigned long nslabs));
78 unsigned long nslabs; member
116 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.c116 int __init xen_swiotlb_fixup(void *buf, unsigned long nslabs) in xen_swiotlb_fixup() argument
125 BUG_ON(nslabs % IO_TLB_SEGSIZE); in xen_swiotlb_fixup()
138 } while (i < nslabs); in xen_swiotlb_fixup()
/linux/tools/perf/util/
H A Dbpf_lock_contention.c186 int ncpus = 1, ntasks = 1, ntypes = 1, naddrs = 1, ncgrps = 1, nslabs = 1; in lock_contention_prepare() local
318 nslabs = con->filters->nr_slabs; in lock_contention_prepare()
321 bpf_map__set_max_entries(skel->maps.slab_filter, nslabs); in lock_contention_prepare()