Lines Matching refs:item

218 	struct svc_expkey *item = container_of(citem, struct svc_expkey, h);
220 kref_get(&item->ek_client->ref);
221 new->ek_client = item->ek_client;
222 new->ek_fsidtype = item->ek_fsidtype;
224 memcpy(new->ek_fsid, item->ek_fsid, sizeof(new->ek_fsid));
231 struct svc_expkey *item = container_of(citem, struct svc_expkey, h);
233 new->ek_path = item->ek_path;
234 path_get(&item->ek_path);
274 svc_expkey_hash(struct svc_expkey *item)
276 int hash = item->ek_fsidtype;
277 char * cp = (char*)item->ek_fsid;
278 int len = key_len(item->ek_fsidtype);
281 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS);
287 svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item)
290 int hash = svc_expkey_hash(item);
292 ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash);
810 struct svc_export *item = container_of(citem, struct svc_export, h);
812 kref_get(&item->ex_client->ref);
813 new->ex_client = item->ex_client;
814 new->ex_path = item->ex_path;
815 path_get(&item->ex_path);
821 new->cd = item->cd;
828 struct svc_export *item = container_of(citem, struct svc_export, h);
831 new->ex_flags = item->ex_flags;
832 new->ex_anon_uid = item->ex_anon_uid;
833 new->ex_anon_gid = item->ex_anon_gid;
834 new->ex_fsid = item->ex_fsid;
835 new->ex_devid_map = item->ex_devid_map;
836 item->ex_devid_map = NULL;
837 new->ex_uuid = item->ex_uuid;
838 item->ex_uuid = NULL;
839 new->ex_fslocs.locations = item->ex_fslocs.locations;
840 item->ex_fslocs.locations = NULL;
841 new->ex_fslocs.locations_count = item->ex_fslocs.locations_count;
842 item->ex_fslocs.locations_count = 0;
843 new->ex_fslocs.migrated = item->ex_fslocs.migrated;
844 item->ex_fslocs.migrated = 0;
845 new->ex_layout_types = item->ex_layout_types;
846 new->ex_nflavors = item->ex_nflavors;
848 new->ex_flavors[i] = item->ex_flavors[i];
850 new->ex_xprtsec_modes = item->ex_xprtsec_modes;