Searched refs:mem (Results 1 – 3 of 3) sorted by relevance
491 char *mem; in crypto_alloc_tfmmem() local496 mem = kzalloc_node(total, gfp, node); in crypto_alloc_tfmmem()497 if (mem == NULL) in crypto_alloc_tfmmem()500 tfm = (struct crypto_tfm *)(mem + tfmsize); in crypto_alloc_tfmmem()505 return mem; in crypto_alloc_tfmmem()513 char *mem; in crypto_create_tfm_node() local516 mem = crypto_alloc_tfmmem(alg, frontend, node, GFP_KERNEL); in crypto_create_tfm_node()517 if (IS_ERR(mem)) in crypto_create_tfm_node()520 tfm = (struct crypto_tfm *)(mem + frontend->tfmsize); in crypto_create_tfm_node()536 kfree(mem); in crypto_create_tfm_node()[all …]
82 void *mem; in crypto_scomp_alloc_scratches() local86 mem = vmalloc_node(SCOMP_SCRATCH_SIZE, cpu_to_node(i)); in crypto_scomp_alloc_scratches()87 if (!mem) in crypto_scomp_alloc_scratches()89 scratch->src = mem; in crypto_scomp_alloc_scratches()90 mem = vmalloc_node(SCOMP_SCRATCH_SIZE, cpu_to_node(i)); in crypto_scomp_alloc_scratches()91 if (!mem) in crypto_scomp_alloc_scratches()93 scratch->dst = mem; in crypto_scomp_alloc_scratches()
80 unsigned char *mem; /* Memory access location with size of member406 if (NULL == ec || NULL == ec->mem) in jent_memaccess()418 unsigned char *tmpval = ec->mem + ec->memlocation; in jent_memaccess()595 entropy_collector->mem = jent_zalloc(JENT_MEMORY_SIZE); in jent_entropy_collector_alloc()596 if (!entropy_collector->mem) { in jent_entropy_collector_alloc()620 jent_zfree(entropy_collector->mem); in jent_entropy_collector_free()621 entropy_collector->mem = NULL; in jent_entropy_collector_free()