• Home
  • Raw
  • Download

Lines Matching refs:item

218 	struct svc_expkey *item = container_of(citem, struct svc_expkey, h);  in expkey_init()  local
220 kref_get(&item->ek_client->ref); in expkey_init()
221 new->ek_client = item->ek_client; in expkey_init()
222 new->ek_fsidtype = item->ek_fsidtype; in expkey_init()
224 memcpy(new->ek_fsid, item->ek_fsid, sizeof(new->ek_fsid)); in expkey_init()
231 struct svc_expkey *item = container_of(citem, struct svc_expkey, h); in expkey_update() local
233 new->ek_path = item->ek_path; in expkey_update()
234 path_get(&item->ek_path); in expkey_update()
274 svc_expkey_hash(struct svc_expkey *item) in svc_expkey_hash() argument
276 int hash = item->ek_fsidtype; in svc_expkey_hash()
277 char * cp = (char*)item->ek_fsid; in svc_expkey_hash()
278 int len = key_len(item->ek_fsidtype); in svc_expkey_hash()
281 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); in svc_expkey_hash()
287 svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item) in svc_expkey_lookup() argument
290 int hash = svc_expkey_hash(item); in svc_expkey_lookup()
292 ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash); in svc_expkey_lookup()
733 struct svc_export *item = container_of(citem, struct svc_export, h); in svc_export_init() local
735 kref_get(&item->ex_client->ref); in svc_export_init()
736 new->ex_client = item->ex_client; in svc_export_init()
737 new->ex_path = item->ex_path; in svc_export_init()
738 path_get(&item->ex_path); in svc_export_init()
744 new->cd = item->cd; in svc_export_init()
750 struct svc_export *item = container_of(citem, struct svc_export, h); in export_update() local
753 new->ex_flags = item->ex_flags; in export_update()
754 new->ex_anon_uid = item->ex_anon_uid; in export_update()
755 new->ex_anon_gid = item->ex_anon_gid; in export_update()
756 new->ex_fsid = item->ex_fsid; in export_update()
757 new->ex_devid_map = item->ex_devid_map; in export_update()
758 item->ex_devid_map = NULL; in export_update()
759 new->ex_uuid = item->ex_uuid; in export_update()
760 item->ex_uuid = NULL; in export_update()
761 new->ex_fslocs.locations = item->ex_fslocs.locations; in export_update()
762 item->ex_fslocs.locations = NULL; in export_update()
763 new->ex_fslocs.locations_count = item->ex_fslocs.locations_count; in export_update()
764 item->ex_fslocs.locations_count = 0; in export_update()
765 new->ex_fslocs.migrated = item->ex_fslocs.migrated; in export_update()
766 item->ex_fslocs.migrated = 0; in export_update()
767 new->ex_layout_types = item->ex_layout_types; in export_update()
768 new->ex_nflavors = item->ex_nflavors; in export_update()
770 new->ex_flavors[i] = item->ex_flavors[i]; in export_update()