• Home
  • Raw
  • Download

Lines Matching refs:tmp

64 		struct cache_head *tmp = *hp;  in sunrpc_cache_lookup()  local
65 if (detail->match(tmp, key)) { in sunrpc_cache_lookup()
66 if (cache_is_expired(detail, tmp)) in sunrpc_cache_lookup()
69 cache_get(tmp); in sunrpc_cache_lookup()
71 return tmp; in sunrpc_cache_lookup()
91 struct cache_head *tmp = *hp; in sunrpc_cache_lookup() local
92 if (detail->match(tmp, key)) { in sunrpc_cache_lookup()
93 if (cache_is_expired(detail, tmp)) { in sunrpc_cache_lookup()
94 *hp = tmp->next; in sunrpc_cache_lookup()
95 tmp->next = NULL; in sunrpc_cache_lookup()
97 freeme = tmp; in sunrpc_cache_lookup()
100 cache_get(tmp); in sunrpc_cache_lookup()
103 return tmp; in sunrpc_cache_lookup()
146 struct cache_head *tmp; in sunrpc_cache_update() local
163 tmp = detail->alloc(); in sunrpc_cache_update()
164 if (!tmp) { in sunrpc_cache_update()
168 cache_init(tmp); in sunrpc_cache_update()
169 detail->init(tmp, old); in sunrpc_cache_update()
174 set_bit(CACHE_NEGATIVE, &tmp->flags); in sunrpc_cache_update()
176 detail->update(tmp, new); in sunrpc_cache_update()
177 tmp->next = *head; in sunrpc_cache_update()
178 *head = tmp; in sunrpc_cache_update()
180 cache_get(tmp); in sunrpc_cache_update()
181 cache_fresh_locked(tmp, new->expiry_time); in sunrpc_cache_update()
184 cache_fresh_unlocked(tmp, detail); in sunrpc_cache_update()
187 return tmp; in sunrpc_cache_update()
663 struct hlist_node *tmp; in cache_revisit_request() local
669 hlist_for_each_entry_safe(dreq, tmp, &cache_defer_hash[hash], hash) in cache_revisit_request()
686 struct cache_deferred_req *dreq, *tmp; in cache_clean_deferred() local
693 list_for_each_entry_safe(dreq, tmp, &cache_defer_list, recent) { in cache_clean_deferred()
1029 struct cache_queue *cq, *tmp; in cache_dequeue() local
1035 list_for_each_entry_safe(cq, tmp, &detail->queue, list) in cache_dequeue()