• Home
  • Raw
  • Download

Lines Matching refs:h

61 	struct cache_head h;  member
77 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_update()
78 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_update()
90 new = container_of(cnew, struct nfs_dns_ent, h); in nfs_dns_ent_init()
91 key = container_of(ckey, struct nfs_dns_ent, h); in nfs_dns_ent_init()
108 item = container_of(ref, struct nfs_dns_ent, h.ref); in nfs_dns_ent_put()
121 return &item->h; in nfs_dns_ent_alloc()
135 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request()
144 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_upcall()
159 a = container_of(ca, struct nfs_dns_ent, h); in nfs_dns_match()
160 b = container_of(cb, struct nfs_dns_ent, h); in nfs_dns_match()
168 struct cache_head *h) in nfs_dns_show() argument
173 if (h == NULL) { in nfs_dns_show()
177 item = container_of(h, struct nfs_dns_ent, h); in nfs_dns_show()
178 ttl = item->h.expiry_time - seconds_since_boot(); in nfs_dns_show()
182 if (!test_bit(CACHE_NEGATIVE, &h->flags)) { in nfs_dns_show()
199 &key->h, in nfs_dns_lookup()
203 return container_of(ch, struct nfs_dns_ent, h); in nfs_dns_lookup()
213 &new->h, &key->h, in nfs_dns_update()
217 return container_of(ch, struct nfs_dns_ent, h); in nfs_dns_update()
245 memset(&key.h, 0, sizeof(key.h)); in nfs_dns_parse()
251 key.h.expiry_time = ttl + seconds_since_boot(); in nfs_dns_parse()
259 set_bit(CACHE_NEGATIVE, &key.h.flags); in nfs_dns_parse()
266 cache_put(&item->h, cd); in nfs_dns_parse()
280 ret = cache_check(cd, &(*item)->h, &dreq->req); in do_cache_lookup()
297 if (!test_bit(CACHE_VALID, &(*item)->h.flags) in do_cache_lookup_nowait()
298 || (*item)->h.expiry_time < seconds_since_boot() in do_cache_lookup_nowait()
299 || cd->flush_time > (*item)->h.last_refresh) in do_cache_lookup_nowait()
302 if (test_bit(CACHE_NEGATIVE, &(*item)->h.flags)) in do_cache_lookup_nowait()
306 cache_put(&(*item)->h, cd); in do_cache_lookup_nowait()
351 cache_put(&item->h, nn->nfs_dns_resolve); in nfs_dns_resolve_name()