Lines Matching refs:ek

64 	struct svc_expkey *ek = container_of(h, struct svc_expkey, h);  in expkey_request()  local
67 qword_add(bpp, blen, ek->ek_client->name); in expkey_request()
68 snprintf(type, 5, "%d", ek->ek_fsidtype); in expkey_request()
70 qword_addhex(bpp, blen, (char*)ek->ek_fsid, key_len(ek->ek_fsidtype)); in expkey_request()
88 struct svc_expkey *ek = NULL; in expkey_parse() local
134 ek = svc_expkey_lookup(cd, &key); in expkey_parse()
136 if (!ek) in expkey_parse()
148 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
149 if (ek) in expkey_parse()
150 trace_nfsd_expkey_update(ek, NULL); in expkey_parse()
160 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
161 if (ek) in expkey_parse()
162 trace_nfsd_expkey_update(ek, buf); in expkey_parse()
169 if (ek) in expkey_parse()
170 cache_put(&ek->h, cd); in expkey_parse()
181 struct svc_expkey *ek ; in expkey_show() local
188 ek = container_of(h, struct svc_expkey, h); in expkey_show()
189 seq_printf(m, "%s %d 0x", ek->ek_client->name, in expkey_show()
190 ek->ek_fsidtype); in expkey_show()
191 for (i=0; i < key_len(ek->ek_fsidtype)/4; i++) in expkey_show()
192 seq_printf(m, "%08x", ek->ek_fsid[i]); in expkey_show()
196 seq_path(m, &ek->ek_path, "\\ \t\n"); in expkey_show()
900 struct svc_expkey key, *ek; in exp_find_key() local
910 ek = svc_expkey_lookup(cd, &key); in exp_find_key()
911 if (ek == NULL) in exp_find_key()
913 err = cache_check(cd, &ek->h, reqp); in exp_find_key()
918 return ek; in exp_find_key()
1024 struct svc_expkey *ek = exp_find_key(nn->svc_expkey_cache, clp, fsid_type, fsidv, reqp); in exp_find() local
1025 if (IS_ERR(ek)) in exp_find()
1026 return ERR_CAST(ek); in exp_find()
1028 exp = exp_get_by_name(cd, clp, &ek->ek_path, reqp); in exp_find()
1029 cache_put(&ek->h, nn->svc_expkey_cache); in exp_find()