Lines Matching defs:ek
67 struct svc_expkey *ek = container_of(h, struct svc_expkey, h);
70 qword_add(bpp, blen, ek->ek_client->name);
71 snprintf(type, 5, "%d", ek->ek_fsidtype);
73 qword_addhex(bpp, blen, (char*)ek->ek_fsid, key_len(ek->ek_fsidtype));
90 struct svc_expkey *ek = NULL;
135 ek = svc_expkey_lookup(cd, &key);
137 if (!ek)
149 ek = svc_expkey_update(cd, &key, ek);
150 if (ek)
151 trace_nfsd_expkey_update(ek, NULL);
161 ek = svc_expkey_update(cd, &key, ek);
162 if (ek)
163 trace_nfsd_expkey_update(ek, buf);
170 if (ek)
171 cache_put(&ek->h, cd);
182 struct svc_expkey *ek ;
189 ek = container_of(h, struct svc_expkey, h);
190 seq_printf(m, "%s %d 0x", ek->ek_client->name,
191 ek->ek_fsidtype);
192 for (i=0; i < key_len(ek->ek_fsidtype)/4; i++)
193 seq_printf(m, "%08x", ek->ek_fsid[i]);
197 seq_path(m, &ek->ek_path, "\\ \t\n");
385 struct svc_expkey *ek;
388 ek = container_of(items[i], struct svc_expkey, h);
397 ek->ek_client->name) ||
399 ek->ek_fsidtype) ||
401 key_len(ek->ek_fsidtype), ek->ek_fsid)) {
446 struct svc_expkey *ek = NULL;
501 ek = svc_expkey_lookup(cd, &key);
502 if (!ek) {
509 ek = svc_expkey_update(cd, &key, ek);
510 if (ek)
511 trace_nfsd_expkey_update(ek, NULL);
519 ek = svc_expkey_update(cd, &key, ek);
520 if (ek)
521 trace_nfsd_expkey_update(ek,
534 if (ek)
535 cache_put(&ek->h, cd);
1652 struct svc_expkey key, *ek;
1662 ek = svc_expkey_lookup(cd, &key);
1663 if (ek == NULL)
1665 err = cache_check(cd, &ek->h, reqp);
1670 return ek;
1776 struct svc_expkey *ek = exp_find_key(nn->svc_expkey_cache, clp, fsid_type, fsidv, reqp);
1777 if (IS_ERR(ek))
1778 return ERR_CAST(ek);
1780 exp = exp_get_by_name(cd, clp, &ek->ek_path, reqp);
1781 cache_put(&ek->h, nn->svc_expkey_cache);