Lines Matching defs:alg
106 struct ieee80211_crypto_alg *alg;
111 alg = kzalloc(sizeof(*alg), GFP_KERNEL);
112 if (alg == NULL)
115 alg->ops = ops;
118 list_add(&alg->list, &hcrypt->algs);
138 struct ieee80211_crypto_alg *alg =
140 if (alg->ops == ops) {
141 list_del(&alg->list);
142 del_alg = alg;
169 struct ieee80211_crypto_alg *alg =
171 if (strcmp(alg->ops->name, name) == 0) {
172 found_alg = alg;
226 struct ieee80211_crypto_alg *alg = NULL;
232 alg = list_entry(ptr, struct ieee80211_crypto_alg, list);
233 if (alg) {
237 alg->ops->name);
238 kfree(alg);