Lines Matching refs:ualg
179 struct crypto_user_alg *ualg, in crypto_reportstat_one() argument
182 memset(ualg, 0, sizeof(*ualg)); in crypto_reportstat_one()
184 strscpy(ualg->cru_name, alg->cra_name, sizeof(ualg->cru_name)); in crypto_reportstat_one()
185 strscpy(ualg->cru_driver_name, alg->cra_driver_name, in crypto_reportstat_one()
186 sizeof(ualg->cru_driver_name)); in crypto_reportstat_one()
187 strscpy(ualg->cru_module_name, module_name(alg->cra_module), in crypto_reportstat_one()
188 sizeof(ualg->cru_module_name)); in crypto_reportstat_one()
190 ualg->cru_type = 0; in crypto_reportstat_one()
191 ualg->cru_mask = 0; in crypto_reportstat_one()
192 ualg->cru_flags = alg->cra_flags; in crypto_reportstat_one()
193 ualg->cru_refcnt = refcount_read(&alg->cra_refcnt); in crypto_reportstat_one()
271 struct crypto_user_alg *ualg; in crypto_reportstat_alg() local
275 CRYPTO_MSG_GETSTAT, sizeof(*ualg), info->nlmsg_flags); in crypto_reportstat_alg()
281 ualg = nlmsg_data(nlh); in crypto_reportstat_alg()
283 err = crypto_reportstat_one(alg, ualg, skb); in crypto_reportstat_alg()