Lines Matching defs:item
273 idtoname_lookup(struct cache_detail *cd, struct ent *item)
275 struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h,
276 idtoname_hash(item));
438 nametoid_lookup(struct cache_detail *cd, struct ent *item)
440 struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h,
441 nametoid_hash(item));
508 struct ent *key, struct cache_detail *detail, struct ent **item)
512 *item = lookup_fn(detail, key);
513 if (!*item)
516 ret = cache_check(detail, &(*item)->h, &rqstp->rq_chandle);
519 struct ent *prev_item = *item;
520 *item = lookup_fn(detail, key);
521 if (*item != prev_item)
523 cache_put(&(*item)->h, detail);
541 struct ent *item, key = {
552 ret = idmap_lookup(rqstp, nametoid_lookup, &key, nn->nametoid_cache, &item);
557 *id = item->id;
558 cache_put(&item->h, nn->nametoid_cache);
579 struct ent *item, key = {
588 ret = idmap_lookup(rqstp, idtoname_lookup, &key, nn->idtoname_cache, &item);
593 ret = strlen(item->name);
598 p = xdr_encode_opaque(p, item->name, ret);
599 cache_put(&item->h, nn->idtoname_cache);