Searched refs:nslabs (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/kernel/dma/ |
| H A D | swiotlb.c | 233 if (!mem->nslabs) { in swiotlb_print_info() 275 mem->nslabs = nslabs; in swiotlb_init_io_tlb_pool() 311 mem->nslabs += pool->nslabs; in add_mem_pool() 314 mem->nslabs = pool->nslabs; in add_mem_pool() 358 unsigned long nslabs; in swiotlb_init_remap() local 388 nslabs = ALIGN(nslabs >> 1, IO_TLB_SEGSIZE); in swiotlb_init_remap() 485 nslabs = ALIGN(nslabs >> 1, IO_TLB_SEGSIZE); in swiotlb_init_late() 535 if (!mem->nslabs) in swiotlb_exit() 708 nslabs = ALIGN(nslabs >> 1, IO_TLB_SEGSIZE); in swiotlb_alloc_pool() 1211 pool = swiotlb_alloc_pool(dev, nslabs, nslabs, 1, phys_limit, in swiotlb_find_slots() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | swiotlb.h | 40 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-6.15/arch/x86/include/asm/xen/ |
| H A D | swiotlb-xen.h | 5 int xen_swiotlb_fixup(void *buf, unsigned long nslabs);
|
| /linux-6.15/drivers/xen/ |
| H A D | swiotlb-xen.c | 116 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-6.15/tools/perf/util/ |
| H A D | bpf_lock_contention.c | 115 int ncpus = 1, ntasks = 1, ntypes = 1, naddrs = 1, ncgrps = 1, nslabs = 1; in lock_contention_prepare() local 216 nslabs = con->filters->nr_slabs; in lock_contention_prepare() 219 bpf_map__set_max_entries(skel->maps.slab_filter, nslabs); in lock_contention_prepare()
|