Searched refs:head (Results 1 – 2 of 2) sorted by relevance
224 static void *cryptd_alloc_instance(struct crypto_alg *alg, unsigned int head, in cryptd_alloc_instance() argument231 p = kzalloc(head + sizeof(*inst) + tail, GFP_KERNEL); in cryptd_alloc_instance()235 inst = (void *)(p + head); in cryptd_alloc_instance()
860 unsigned int head) in crypto_alloc_instance() argument866 p = kzalloc(head + sizeof(*inst) + sizeof(struct crypto_spawn), in crypto_alloc_instance()871 inst = (void *)(p + head); in crypto_alloc_instance()