Lines Matching refs:h

60 	struct cache_head h;  member
76 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_update()
77 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_update()
89 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_init()
90 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_init()
107 item = container_of(ref, struct nfs_dns_ent, h.ref); in nfs_dns_ent_put()
120 return &item->h; in nfs_dns_ent_alloc()
134 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request()
143 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_upcall()
158 a = container_of(ca, struct nfs_dns_ent, h); in nfs_dns_match()
159 b = container_of(cb, struct nfs_dns_ent, h); in nfs_dns_match()
167 struct cache_head *h) in nfs_dns_show() argument
172 if (h == NULL) { in nfs_dns_show()
176 item = container_of(h, struct nfs_dns_ent, h); in nfs_dns_show()
177 ttl = item->h.expiry_time - seconds_since_boot(); in nfs_dns_show()
181 if (!test_bit(CACHE_NEGATIVE, &h->flags)) { in nfs_dns_show()
198 &key->h, in nfs_dns_lookup()
202 return container_of(ch, struct nfs_dns_ent, h); in nfs_dns_lookup()
212 &new->h, &key->h, in nfs_dns_update()
216 return container_of(ch, struct nfs_dns_ent, h); in nfs_dns_update()
244 memset(&key.h, 0, sizeof(key.h)); in nfs_dns_parse()
250 key.h.expiry_time = ttl + seconds_since_boot(); in nfs_dns_parse()
258 set_bit(CACHE_NEGATIVE, &key.h.flags); in nfs_dns_parse()
265 cache_put(&item->h, cd); in nfs_dns_parse()
279 ret = cache_check(cd, &(*item)->h, &dreq->req); in do_cache_lookup()
296 if (!test_bit(CACHE_VALID, &(*item)->h.flags) in do_cache_lookup_nowait()
297 || (*item)->h.expiry_time < seconds_since_boot() in do_cache_lookup_nowait()
298 || cd->flush_time > (*item)->h.last_refresh) in do_cache_lookup_nowait()
301 if (test_bit(CACHE_NEGATIVE, &(*item)->h.flags)) in do_cache_lookup_nowait()
305 cache_put(&(*item)->h, cd); in do_cache_lookup_nowait()
350 cache_put(&item->h, nn->nfs_dns_resolve); in nfs_dns_resolve_name()