Lines Matching defs:ek
64 struct svc_expkey *ek = container_of(h, struct svc_expkey, h);
67 qword_add(bpp, blen, ek->ek_client->name);
68 snprintf(type, 5, "%d", ek->ek_fsidtype);
70 qword_addhex(bpp, blen, (char*)ek->ek_fsid, key_len(ek->ek_fsidtype));
88 struct svc_expkey *ek = NULL;
134 ek = svc_expkey_lookup(cd, &key);
136 if (!ek)
148 ek = svc_expkey_update(cd, &key, ek);
149 if (ek)
150 trace_nfsd_expkey_update(ek, NULL);
160 ek = svc_expkey_update(cd, &key, ek);
161 if (ek)
162 trace_nfsd_expkey_update(ek, buf);
169 if (ek)
170 cache_put(&ek->h, cd);
181 struct svc_expkey *ek ;
188 ek = container_of(h, struct svc_expkey, h);
189 seq_printf(m, "%s %d 0x", ek->ek_client->name,
190 ek->ek_fsidtype);
191 for (i=0; i < key_len(ek->ek_fsidtype)/4; i++)
192 seq_printf(m, "%08x", ek->ek_fsid[i]);
196 seq_path(m, &ek->ek_path, "\\ \t\n");
840 struct svc_expkey key, *ek;
850 ek = svc_expkey_lookup(cd, &key);
851 if (ek == NULL)
853 err = cache_check(cd, &ek->h, reqp);
858 return ek;
964 struct svc_expkey *ek = exp_find_key(nn->svc_expkey_cache, clp, fsid_type, fsidv, reqp);
965 if (IS_ERR(ek))
966 return ERR_CAST(ek);
968 exp = exp_get_by_name(cd, clp, &ek->ek_path, reqp);
969 cache_put(&ek->h, nn->svc_expkey_cache);