Lines Matching refs:old
139 struct cache_head *new, struct cache_head *old, int hash) in sunrpc_cache_update() argument
148 if (!test_bit(CACHE_VALID, &old->flags)) { in sunrpc_cache_update()
150 if (!test_bit(CACHE_VALID, &old->flags)) { in sunrpc_cache_update()
152 set_bit(CACHE_NEGATIVE, &old->flags); in sunrpc_cache_update()
154 detail->update(old, new); in sunrpc_cache_update()
155 cache_fresh_locked(old, new->expiry_time); in sunrpc_cache_update()
157 cache_fresh_unlocked(old, detail); in sunrpc_cache_update()
158 return old; in sunrpc_cache_update()
165 cache_put(old, detail); in sunrpc_cache_update()
169 detail->init(tmp, old); in sunrpc_cache_update()
182 cache_fresh_locked(old, 0); in sunrpc_cache_update()
185 cache_fresh_unlocked(old, detail); in sunrpc_cache_update()
186 cache_put(old, detail); in sunrpc_cache_update()