H A D | testmgr.c | 563 static int init_test_sglist(struct test_sglist *tsgl) in init_test_sglist() argument 565 return __testmgr_alloc_buf(tsgl->bufs, 1 /* two pages per buffer */); in init_test_sglist() 568 static void destroy_test_sglist(struct test_sglist *tsgl) in destroy_test_sglist() argument 570 return __testmgr_free_buf(tsgl->bufs, 1 /* two pages per buffer */); in destroy_test_sglist() 576 * @tsgl: the scatterlist to build. @tsgl->bufs[] contains an array of 2-page 577 * buffers which the scatterlist @tsgl->sgl[] will be made to point into. 591 static int build_test_sglist(struct test_sglist *tsgl, in build_test_sglist() argument 606 BUILD_BUG_ON(ARRAY_SIZE(partitions) != ARRAY_SIZE(tsgl->sgl)); in build_test_sglist() 611 tsgl in build_test_sglist() 686 verify_correct_output(const struct test_sglist * tsgl,const char * expected_output,unsigned int len_to_check,unsigned int unchecked_prefix_len,bool check_poison) verify_correct_output() argument 724 is_test_sglist_corrupted(const struct test_sglist * tsgl) is_test_sglist_corrupted() argument 1247 build_hash_sglist(struct test_sglist * tsgl,const struct hash_testvec * vec,const struct testvec_config * cfg,unsigned int alignmask,const struct test_sg_division * divs[XBUFSIZE]) build_hash_sglist() argument 1298 test_shash_vec_cfg(const struct hash_testvec * vec,const char * vec_name,const struct testvec_config * cfg,struct shash_desc * desc,struct test_sglist * tsgl,u8 * hashstate) test_shash_vec_cfg() argument 1481 test_ahash_vec_cfg(const struct hash_testvec * vec,const char * vec_name,const struct testvec_config * cfg,struct ahash_request * req,struct test_sglist * tsgl,u8 * hashstate) test_ahash_vec_cfg() argument 1647 test_hash_vec_cfg(const struct hash_testvec * vec,const char * vec_name,const struct testvec_config * cfg,struct ahash_request * req,struct shash_desc * desc,struct test_sglist * tsgl,u8 * hashstate) test_hash_vec_cfg() argument 1670 test_hash_vec(const struct hash_testvec * vec,unsigned int vec_num,struct ahash_request * req,struct shash_desc * desc,struct test_sglist * tsgl,u8 * hashstate) test_hash_vec() argument 1757 test_hash_vs_generic_impl(const char * generic_driver,unsigned int maxkeysize,struct ahash_request * req,struct shash_desc * desc,struct test_sglist * tsgl,u8 * hashstate) test_hash_vs_generic_impl() argument 1913 struct test_sglist *tsgl = NULL; __alg_test_hash() local [all...] |