Lines Matching refs:hash_context
95 mm->context.hash_context = kmalloc(sizeof(struct hash_mm_context), in hash__init_new_context()
97 if (!mm->context.hash_context) in hash__init_new_context()
115 memset(mm->context.hash_context, 0, sizeof(struct hash_mm_context)); in hash__init_new_context()
119 …memcpy(mm->context.hash_context, current->mm->context.hash_context, sizeof(struct hash_mm_context)… in hash__init_new_context()
122 if (current->mm->context.hash_context->spt) { in hash__init_new_context()
123 mm->context.hash_context->spt = kmalloc(sizeof(struct subpage_prot_table), in hash__init_new_context()
125 if (!mm->context.hash_context->spt) { in hash__init_new_context()
126 kfree(mm->context.hash_context); in hash__init_new_context()
136 kfree(mm->context.hash_context->spt); in hash__init_new_context()
138 kfree(mm->context.hash_context); in hash__init_new_context()
177 mm->context.hash_context = NULL; in radix__init_new_context()
222 kfree(ctx->hash_context); in destroy_contexts()