Searched refs:list (Results 1 – 6 of 6) sorted by relevance
/crypto/ |
D | algapi.c | 92 spawn = list_first_entry_or_null(stack, struct crypto_spawn, list); in crypto_more_spawns() 96 n = list_next_entry(spawn, list); in crypto_more_spawns() 98 if (spawn->alg && &n->list != stack && !n->alg) in crypto_more_spawns() 99 n->alg = (n->list.next == stack) ? alg : in crypto_more_spawns() 100 &list_next_entry(n, list)->inst->alg; in crypto_more_spawns() 102 list_move(&spawn->list, secondary_spawns); in crypto_more_spawns() 104 return &n->list == stack ? top : &n->inst->alg.cra_users; in crypto_more_spawns() 108 struct list_head *list) in crypto_remove_instance() argument 116 if (hlist_unhashed(&inst->list)) in crypto_remove_instance() 122 list_move(&inst->alg.cra_list, list); in crypto_remove_instance() [all …]
|
D | drbg.c | 251 if (list_empty(&drbg->test_data.list)) in drbg_fips_continuous_test() 331 list_for_each_entry(curr, in, list) { in drbg_ctr_bcc() 433 list_for_each_entry(seed, seedlist, list) in drbg_ctr_df() 455 list_add_tail(&S1.list, &bcc_list); in drbg_ctr_df() 457 list_add_tail(&S2.list, &bcc_list); in drbg_ctr_df() 460 list_add_tail(&S4.list, &bcc_list); in drbg_ctr_df() 669 list_add_tail(&seed1.list, &seedlist); in drbg_hmac_update() 672 list_add_tail(&seed2.list, &seedlist); in drbg_hmac_update() 678 list_add_tail(&vdata.list, &vdatalist); in drbg_hmac_update() 723 list_add_tail(&data.list, &datalist); in drbg_hmac_generate() [all …]
|
D | af_alg.c | 24 struct list_head list; member 45 list_for_each_entry(node, &alg_types, list) { in alg_get_type() 64 list_for_each_entry(node, &alg_types, list) { in af_alg_register_type() 78 list_add(&node->list, &alg_types); in af_alg_register_type() 94 list_for_each_entry(node, &alg_types, list) { in af_alg_unregister_type() 98 list_del(&node->list); in af_alg_unregister_type() 493 sgl = list_entry(ctx->tsgl_list.prev, struct af_alg_tsgl, list); in af_alg_alloc_tsgl() 510 list_add_tail(&sgl->list, &ctx->tsgl_list); in af_alg_alloc_tsgl() 538 list_for_each_entry(sgl, &ctx->tsgl_list, list) { in af_alg_count_tsgl() 594 list); in af_alg_pull_tsgl() [all …]
|
D | internal.h | 68 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, 70 void crypto_remove_final(struct list_head *list);
|
D | crypto_user_base.c | 266 LIST_HEAD(list); in crypto_update_alg() 283 crypto_remove_spawns(alg, &list, NULL); in crypto_update_alg() 291 crypto_remove_final(&list); in crypto_update_alg()
|
D | algif_aead.c | 182 list_for_each_entry_safe(tsgl, tmp, &ctx->tsgl_list, list) { in _aead_recvmsg()
|