Searched refs:algo (Results 1 – 8 of 8) sorted by relevance
/lib/raid6/ |
D | algos.c | 129 const struct raid6_recov_calls *const *algo; in raid6_choose_recov() local 132 for (best = NULL, algo = raid6_recov_algos; *algo; algo++) in raid6_choose_recov() 133 if (!best || (*algo)->priority > best->priority) in raid6_choose_recov() 134 if (!(*algo)->valid || (*algo)->valid()) in raid6_choose_recov() 135 best = *algo; in raid6_choose_recov() 153 const struct raid6_calls *const *algo; in raid6_choose_gen() local 156 for (bestgenperf = 0, bestxorperf = 0, best = NULL, algo = raid6_algos; *algo; algo++) { in raid6_choose_gen() 157 if (!best || (*algo)->prefer >= best->prefer) { in raid6_choose_gen() 158 if ((*algo)->valid && !(*algo)->valid()) in raid6_choose_gen() 162 best = *algo; in raid6_choose_gen() [all …]
|
/lib/raid6/test/ |
D | test.c | 90 const struct raid6_calls *const *algo; in main() local 106 for (algo = raid6_algos; *algo; algo++) { in main() 107 if ((*algo)->valid && !(*algo)->valid()) in main() 110 raid6_call = **algo; in main()
|
/lib/ |
D | genalloc.c | 160 pool->algo = gen_pool_first_fit; in gen_pool_create() 276 genpool_algo_t algo, void *data, void **owner) in gen_pool_alloc_algo_owner() argument 302 start_bit = algo(chunk->bits, end_bit, start_bit, in gen_pool_alloc_algo_owner() 341 return gen_pool_dma_alloc_algo(pool, size, dma, pool->algo, pool->data); in gen_pool_dma_alloc() 361 dma_addr_t *dma, genpool_algo_t algo, void *data) in gen_pool_dma_alloc_algo() argument 368 vaddr = gen_pool_alloc_algo(pool, size, algo, data); in gen_pool_dma_alloc_algo() 419 return gen_pool_dma_zalloc_algo(pool, size, dma, pool->algo, pool->data); in gen_pool_dma_zalloc() 439 dma_addr_t *dma, genpool_algo_t algo, void *data) in gen_pool_dma_zalloc_algo() argument 441 void *vaddr = gen_pool_dma_alloc_algo(pool, size, dma, algo, data); in gen_pool_dma_zalloc_algo() 619 void gen_pool_set_algo(struct gen_pool *pool, genpool_algo_t algo, void *data) in gen_pool_set_algo() argument [all …]
|
D | textsearch.c | 263 struct ts_config *textsearch_prepare(const char *algo, const void *pattern, in textsearch_prepare() argument 273 ops = lookup_ts_algo(algo); in textsearch_prepare() 281 request_module("ts_%s", algo); in textsearch_prepare() 282 ops = lookup_ts_algo(algo); in textsearch_prepare()
|
D | parman.c | 53 const struct parman_algo *algo; member 279 parman->algo = parman_algos[ops->algo]; in parman_create() 355 return parman->algo->item_add(parman, prio, item); in parman_item_add() 370 parman->algo->item_remove(parman, prio, item); in parman_item_remove()
|
D | digsig.c | 101 if (pkh->algo != PUBKEY_ALGO_RSA) in digsig_verify_rsa() 212 if (sh->algo != PUBKEY_ALGO_RSA) in digsig_verify()
|
D | test_parman.c | 129 .algo = PARMAN_ALGO_TYPE_LSORT,
|
D | objagg.c | 943 const struct objagg_opt_algo *algo = objagg_opt_algos[opt_algo_type]; in objagg_hints_get() local 967 err = algo->fillup_hints(objagg_hints, objagg); in objagg_hints_get()
|