Searched refs:nr_slbs (Results 1 – 1 of 1) sorted by relevance
274 static inline int __slb_present(struct spu_slb *slbs, int nr_slbs, in __slb_present() argument280 for (i = 0; i < nr_slbs; i++) in __slb_present()300 int i, nr_slbs = 0; in spu_setup_kernel_slbs() local310 if (__slb_present(slbs, nr_slbs, addrs[i])) in spu_setup_kernel_slbs()313 __spu_kernel_slb(addrs[i], &slbs[nr_slbs]); in spu_setup_kernel_slbs()314 nr_slbs++; in spu_setup_kernel_slbs()319 for (i = 0; i < nr_slbs; i++) in spu_setup_kernel_slbs()