Lines Matching refs:hash_context
96 mm->context.hash_context = kmalloc(sizeof(struct hash_mm_context), in hash__init_new_context()
98 if (!mm->context.hash_context) in hash__init_new_context()
116 memset(mm->context.hash_context, 0, sizeof(struct hash_mm_context)); in hash__init_new_context()
120 …memcpy(mm->context.hash_context, current->mm->context.hash_context, sizeof(struct hash_mm_context)… in hash__init_new_context()
123 if (current->mm->context.hash_context->spt) { in hash__init_new_context()
124 mm->context.hash_context->spt = kmalloc(sizeof(struct subpage_prot_table), in hash__init_new_context()
126 if (!mm->context.hash_context->spt) { in hash__init_new_context()
127 kfree(mm->context.hash_context); in hash__init_new_context()
137 kfree(mm->context.hash_context->spt); in hash__init_new_context()
139 kfree(mm->context.hash_context); in hash__init_new_context()
178 mm->context.hash_context = NULL; in radix__init_new_context()
223 kfree(ctx->hash_context); in destroy_contexts()