Searched refs:algo (Results 1 – 5 of 5) sorted by relevance
/lib/raid6/ |
D | algos.c | 103 const struct raid6_recov_calls *const *algo; in raid6_choose_recov() local 106 for (best = NULL, algo = raid6_recov_algos; *algo; algo++) in raid6_choose_recov() 107 if (!best || (*algo)->priority > best->priority) in raid6_choose_recov() 108 if (!(*algo)->valid || (*algo)->valid()) in raid6_choose_recov() 109 best = *algo; in raid6_choose_recov() 126 const struct raid6_calls *const *algo; in raid6_choose_gen() local 129 for (bestperf = 0, best = NULL, algo = raid6_algos; *algo; algo++) { in raid6_choose_gen() 130 if (!best || (*algo)->prefer >= best->prefer) { in raid6_choose_gen() 131 if ((*algo)->valid && !(*algo)->valid()) in raid6_choose_gen() 142 (*algo)->gen_syndrome(disks, PAGE_SIZE, *dptrs); in raid6_choose_gen() [all …]
|
/lib/raid6/test/ |
D | test.c | 92 const struct raid6_calls *const *algo; in main() local 107 for (algo = raid6_algos; *algo; algo++) { in main() 108 if (!(*algo)->valid || (*algo)->valid()) { in main() 109 raid6_call = **algo; in main()
|
/lib/ |
D | textsearch.c | 260 struct ts_config *textsearch_prepare(const char *algo, const void *pattern, in textsearch_prepare() argument 270 ops = lookup_ts_algo(algo); in textsearch_prepare() 278 request_module("ts_%s", algo); in textsearch_prepare() 279 ops = lookup_ts_algo(algo); in textsearch_prepare()
|
D | genalloc.c | 157 pool->algo = gen_pool_first_fit; in gen_pool_create() 288 start_bit = pool->algo(chunk->bits, end_bit, start_bit, nbits, in gen_pool_alloc() 419 void gen_pool_set_algo(struct gen_pool *pool, genpool_algo_t algo, void *data) in gen_pool_set_algo() argument 423 pool->algo = algo; in gen_pool_set_algo() 424 if (!pool->algo) in gen_pool_set_algo() 425 pool->algo = gen_pool_first_fit; in gen_pool_set_algo()
|
D | digsig.c | 97 if (pkh->algo != PUBKEY_ALGO_RSA) in digsig_verify_rsa() 201 if (sh->algo != PUBKEY_ALGO_RSA) in digsig_verify()
|