Searched refs:alg (Results 1 - 8 of 8) sorted by relevance

/net/wireless/
H A Dlib80211.c167 struct lib80211_crypto_alg *alg; local
169 alg = kzalloc(sizeof(*alg), GFP_KERNEL);
170 if (alg == NULL)
173 alg->ops = ops;
176 list_add(&alg->list, &lib80211_crypto_algs);
188 struct lib80211_crypto_alg *alg; local
192 list_for_each_entry(alg, &lib80211_crypto_algs, list) {
193 if (alg->ops == ops)
202 list_del(&alg
211 struct lib80211_crypto_alg *alg; local
[all...]
H A Dwext-compat.c670 switch (ext->alg) {
/net/ceph/crush/
H A Dcrush.c13 const char *crush_bucket_alg_name(int alg) argument
15 switch (alg) {
34 switch (b->alg) {
82 switch (b->alg) {
H A Dmapper.c245 switch (in->alg) {
259 dprintk("unknown bucket %d alg %d\n", in->id, in->alg);
528 if (in->alg == CRUSH_BUCKET_UNIFORM &&
/net/mac80211/
H A Drate.c34 struct rate_control_alg *alg; local
40 list_for_each_entry(alg, &rate_ctrl_algs, list) {
41 if (!strcmp(alg->ops->name, ops->name)) {
49 alg = kzalloc(sizeof(*alg), GFP_KERNEL);
50 if (alg == NULL) {
54 alg->ops = ops;
56 list_add_tail(&alg->list, &rate_ctrl_algs);
65 struct rate_control_alg *alg; local
68 list_for_each_entry(alg,
82 struct rate_control_alg *alg; local
[all...]
/net/sunrpc/auth_gss/
H A Dgss_krb5_mech.c223 int alg; local
225 p = simple_get_bytes(p, end, &alg, sizeof(alg));
229 switch (alg) {
234 alg = ENCTYPE_DES_CBC_RAW;
238 if (!supported_gss_krb5_enctype(alg)) {
240 "encryption key algorithm %d\n", alg);
/net/ceph/
H A Dosdmap.c183 u32 alg; local
186 ceph_decode_32_safe(p, end, alg, bad);
187 if (alg == 0) {
194 switch (alg) {
219 b->alg = ceph_decode_8(p);
239 switch (b->alg) {
/net/sctp/
H A Dsocket.c6308 char alg[32]; local
6312 sprintf(alg, "hmac(%s)", sp->sctp_hmac_alg);
6313 tfm = crypto_alloc_hash(alg, 0, CRYPTO_ALG_ASYNC);

Completed in 180 milliseconds