Lines Matching defs:spu_info
143 static struct cached_info *spu_info[MAX_NUMNODES * 8];
171 if (!spu_info[spu_num] && the_spu) {
174 spu_info[spu_num] = container_of(ref, struct cached_info, cache_ref);
175 kref_get(&spu_info[spu_num]->cache_ref);
179 ret_info = spu_info[spu_num];
207 /* Create cached_info and set spu_info[spu->number] to point to it.
232 spu_info[spu->number] = info;
277 if (spu_info[index]) {
278 kref_put(&spu_info[index]->cache_ref,
280 spu_info[index] = NULL;