Lines Matching refs:cache
185 struct kgdb_tss_cache *cache;
187 cache = *this_cache;
188 if (cache == NULL) {
189 cache = FRAME_OBSTACK_ZALLOC(struct kgdb_tss_cache);
190 *this_cache = cache;
191 cache->pc = frame_func_unwind(next_frame);
193 cache->sp = extract_unsigned_integer(buf,
195 cache->tss = kgdb_trgt_fetch_tss();
197 return (cache);
204 struct kgdb_tss_cache *cache;
206 cache = kgdb_trgt_tss_cache(next_frame, this_cache);
207 *this_id = frame_id_build(cache->sp, cache->pc);
216 struct kgdb_tss_cache *cache;
234 cache = kgdb_trgt_tss_cache(next_frame, this_cache);
235 if (cache->tss == 0)
237 *addrp = cache->tss + ofs;
280 struct kgdb_frame_cache *cache;
283 cache = *this_cache;
284 if (cache == NULL) {
285 cache = FRAME_OBSTACK_ZALLOC(struct kgdb_frame_cache);
286 *this_cache = cache;
287 cache->pc = frame_func_unwind(next_frame);
288 find_pc_partial_function(cache->pc, &pname, NULL, NULL);
290 cache->frame_type = FT_NORMAL;
292 cache->frame_type = FT_TIMERFRAME;
297 cache->frame_type = FT_INTRTRAPFRAME;
299 cache->frame_type = FT_INTRFRAME;
301 cache->sp = extract_unsigned_integer(buf,
304 return (cache);
311 struct kgdb_frame_cache *cache;
313 cache = kgdb_trgt_frame_cache(next_frame, this_cache);
314 *this_id = frame_id_build(cache->sp, cache->pc);
323 struct kgdb_frame_cache *cache;
341 cache = kgdb_trgt_frame_cache(next_frame, this_cache);
342 switch (cache->frame_type) {
355 "for %d\n", cache->frame_type);
358 *addrp = cache->sp + ofs;