Lines Matching refs:hash_context
99 mm->context.hash_context = kmalloc(sizeof(struct hash_mm_context), in hash__init_new_context()
101 if (!mm->context.hash_context) in hash__init_new_context()
119 memset(mm->context.hash_context, 0, sizeof(struct hash_mm_context)); in hash__init_new_context()
123 …memcpy(mm->context.hash_context, current->mm->context.hash_context, sizeof(struct hash_mm_context)… in hash__init_new_context()
126 if (current->mm->context.hash_context->spt) { in hash__init_new_context()
127 mm->context.hash_context->spt = kmalloc(sizeof(struct subpage_prot_table), in hash__init_new_context()
129 if (!mm->context.hash_context->spt) { in hash__init_new_context()
130 kfree(mm->context.hash_context); in hash__init_new_context()
140 kfree(mm->context.hash_context->spt); in hash__init_new_context()
142 kfree(mm->context.hash_context); in hash__init_new_context()
189 mm->context.hash_context = NULL; in radix__init_new_context()
239 kfree(ctx->hash_context); in destroy_contexts()