Searched refs:cpu_rcache (Results 1 – 1 of 1) sorted by relevance
726 struct iova_cpu_rcache *cpu_rcache; in iova_domain_init_rcaches() local732 rcache->cpu_rcaches = __alloc_percpu(sizeof(*cpu_rcache), in iova_domain_init_rcaches()739 cpu_rcache = per_cpu_ptr(rcache->cpu_rcaches, cpu); in iova_domain_init_rcaches()741 spin_lock_init(&cpu_rcache->lock); in iova_domain_init_rcaches()742 cpu_rcache->loaded = iova_magazine_alloc(GFP_KERNEL); in iova_domain_init_rcaches()743 cpu_rcache->prev = iova_magazine_alloc(GFP_KERNEL); in iova_domain_init_rcaches()744 if (!cpu_rcache->loaded || !cpu_rcache->prev) { in iova_domain_init_rcaches()774 struct iova_cpu_rcache *cpu_rcache; in __iova_rcache_insert() local778 cpu_rcache = raw_cpu_ptr(rcache->cpu_rcaches); in __iova_rcache_insert()779 spin_lock_irqsave(&cpu_rcache->lock, flags); in __iova_rcache_insert()[all …]