Lines Matching defs:alg
107 struct ieee80211_crypto_alg *alg;
112 alg = kzalloc(sizeof(*alg), GFP_KERNEL);
113 if (alg == NULL)
116 alg->ops = ops;
119 list_add(&alg->list, &hcrypt->algs);
139 struct ieee80211_crypto_alg *alg =
141 if (alg->ops == ops) {
142 list_del(&alg->list);
143 del_alg = alg;
170 struct ieee80211_crypto_alg *alg =
172 if (strcmp(alg->ops->name, name) == 0) {
173 found_alg = alg;
229 struct ieee80211_crypto_alg *alg = NULL;
235 alg = list_entry(ptr, struct ieee80211_crypto_alg, list);
236 if (alg) {
240 alg->ops->name);
241 kfree(alg);