Searched refs:blake3_per_cpu_ctx (Results 1 – 3 of 3) sorted by relevance
290 void **blake3_per_cpu_ctx; variable298 blake3_per_cpu_ctx = kmem_alloc(max_ncpus * sizeof (void *), KM_SLEEP); in blake3_per_cpu_ctx_init()300 blake3_per_cpu_ctx[i] = kmem_alloc(sizeof (BLAKE3_CTX), in blake3_per_cpu_ctx_init()309 memset(blake3_per_cpu_ctx[i], 0, sizeof (BLAKE3_CTX)); in blake3_per_cpu_ctx_fini()310 kmem_free(blake3_per_cpu_ctx[i], sizeof (BLAKE3_CTX)); in blake3_per_cpu_ctx_fini()312 memset(blake3_per_cpu_ctx, 0, max_ncpus * sizeof (void *)); in blake3_per_cpu_ctx_fini()313 kmem_free(blake3_per_cpu_ctx, max_ncpus * sizeof (void *)); in blake3_per_cpu_ctx_fini()
96 extern void **blake3_per_cpu_ctx;
54 BLAKE3_CTX *ctx = blake3_per_cpu_ctx[CPU_SEQID]; in abd_checksum_blake3_native()