Lines Matching refs:ek

57 	struct svc_expkey *ek = container_of(h, struct svc_expkey, h);  in expkey_request()  local
60 qword_add(bpp, blen, ek->ek_client->name); in expkey_request()
61 snprintf(type, 5, "%d", ek->ek_fsidtype); in expkey_request()
63 qword_addhex(bpp, blen, (char*)ek->ek_fsid, key_len(ek->ek_fsidtype)); in expkey_request()
81 struct svc_expkey *ek = NULL; in expkey_parse() local
127 ek = svc_expkey_lookup(cd, &key); in expkey_parse()
129 if (!ek) in expkey_parse()
141 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
142 if (!ek) in expkey_parse()
151 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
152 if (!ek) in expkey_parse()
158 if (ek) in expkey_parse()
159 cache_put(&ek->h, cd); in expkey_parse()
170 struct svc_expkey *ek ; in expkey_show() local
177 ek = container_of(h, struct svc_expkey, h); in expkey_show()
178 seq_printf(m, "%s %d 0x", ek->ek_client->name, in expkey_show()
179 ek->ek_fsidtype); in expkey_show()
180 for (i=0; i < key_len(ek->ek_fsidtype)/4; i++) in expkey_show()
181 seq_printf(m, "%08x", ek->ek_fsid[i]); in expkey_show()
185 seq_path(m, &ek->ek_path, "\\ \t\n"); in expkey_show()
808 struct svc_expkey key, *ek; in exp_find_key() local
818 ek = svc_expkey_lookup(cd, &key); in exp_find_key()
819 if (ek == NULL) in exp_find_key()
821 err = cache_check(cd, &ek->h, reqp); in exp_find_key()
824 return ek; in exp_find_key()
928 struct svc_expkey *ek = exp_find_key(nn->svc_expkey_cache, clp, fsid_type, fsidv, reqp); in exp_find() local
929 if (IS_ERR(ek)) in exp_find()
930 return ERR_CAST(ek); in exp_find()
932 exp = exp_get_by_name(cd, clp, &ek->ek_path, reqp); in exp_find()
933 cache_put(&ek->h, nn->svc_expkey_cache); in exp_find()