Lines Matching refs:cached_info
137 struct cached_info {
143 static struct cached_info *spu_info[MAX_NUMNODES * 8];
147 struct cached_info *info;
149 info = container_of(kref, struct cached_info, cache_ref);
155 /* Return the cached_info for the passed SPU number.
159 static struct cached_info *get_cached_info(struct spu *the_spu, int spu_num)
162 struct cached_info *ret_info;
174 spu_info[spu_num] = container_of(ref, struct cached_info, cache_ref);
195 struct cached_info *info;
198 * don't do anything with the cached_info that's returned.
207 /* Create cached_info and set spu_info[spu->number] to point to it.
210 info = kzalloc(sizeof(struct cached_info), GFP_KERNEL);
237 * responsible for the final destruction of the cached_info,
571 struct cached_info *c_info;
574 * possible that after getting the cached_info, the SPU job
575 * corresponding to this cached_info may end, thus resulting
576 * in the destruction of the cached_info.