Lines Matching defs:ops
37 struct lib80211_crypto_ops *ops;
75 if (crypt->ops) {
76 crypt->ops->deinit(crypt->priv);
77 module_put(crypt->ops->owner);
99 if (entry->ops) {
100 entry->ops->deinit(entry->priv);
101 module_put(entry->ops->owner);
148 /* must not run ops->deinit() while there may be pending encrypt or
164 int lib80211_register_crypto_ops(struct lib80211_crypto_ops *ops)
173 alg->ops = ops;
180 ops->name);
186 int lib80211_unregister_crypto_ops(struct lib80211_crypto_ops *ops)
193 if (alg->ops == ops)
201 ops->name);
216 if (strcmp(alg->ops->name, name) == 0)
224 return alg->ops;