Searched refs:nr_slbs (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
H A D | spu_base.c | 225 * Given an array of @nr_slbs SLB entries, @slbs, return non-zero if the 228 static inline int __slb_present(struct copro_slb *slbs, int nr_slbs, in __slb_present() argument 234 for (i = 0; i < nr_slbs; i++) in __slb_present() 254 int i, nr_slbs = 0; in spu_setup_kernel_slbs() local 264 if (__slb_present(slbs, nr_slbs, addrs[i])) in spu_setup_kernel_slbs() 267 __spu_kernel_slb(addrs[i], &slbs[nr_slbs]); in spu_setup_kernel_slbs() 268 nr_slbs++; in spu_setup_kernel_slbs() 273 for (i = 0; i < nr_slbs; i++) in spu_setup_kernel_slbs()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/ |
H A D | spu_base.c | 224 * Given an array of @nr_slbs SLB entries, @slbs, return non-zero if the 227 static inline int __slb_present(struct copro_slb *slbs, int nr_slbs, in __slb_present() argument 233 for (i = 0; i < nr_slbs; i++) in __slb_present() 253 int i, nr_slbs = 0; in spu_setup_kernel_slbs() local 263 if (__slb_present(slbs, nr_slbs, addrs[i])) in spu_setup_kernel_slbs() 266 __spu_kernel_slb(addrs[i], &slbs[nr_slbs]); in spu_setup_kernel_slbs() 267 nr_slbs++; in spu_setup_kernel_slbs() 272 for (i = 0; i < nr_slbs; i++) in spu_setup_kernel_slbs()
|
Completed in 2 milliseconds