Searched refs:hash_context (Results 1 - 5 of 5) sorted by relevance

/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dmmu.h114 struct hash_mm_context *hash_context; member in struct:__anon6
141 return ctx->hash_context->user_psize;
146 ctx->hash_context->user_psize = user_psize;
151 return ctx->hash_context->low_slices_psize;
156 return ctx->hash_context->high_slices_psize;
161 return ctx->hash_context->slb_addr_limit;
166 ctx->hash_context->slb_addr_limit = limit;
173 return &ctx->hash_context->mask_64k;
177 return &ctx->hash_context->mask_16m;
179 return &ctx->hash_context
[all...]
H A Dmmu-hash.h670 #define TASK_SLICE_ARRAY_SZ(x) ((x)->hash_context->slb_addr_limit >> 41)
/linux-master/arch/powerpc/mm/book3s64/
H A Dmmu_context.c99 mm->context.hash_context = kmalloc(sizeof(struct hash_mm_context),
101 if (!mm->context.hash_context)
119 memset(mm->context.hash_context, 0, sizeof(struct hash_mm_context));
122 /* This is fork. Copy hash_context details from current->mm */
123 memcpy(mm->context.hash_context, current->mm->context.hash_context, sizeof(struct hash_mm_context));
126 if (current->mm->context.hash_context->spt) {
127 mm->context.hash_context->spt = kmalloc(sizeof(struct subpage_prot_table),
129 if (!mm->context.hash_context->spt) {
130 kfree(mm->context.hash_context);
[all...]
H A Dsubpage_prot.c229 mm->context.hash_context->spt = spt;
H A Dhash_utils.c1274 init_mm.context.hash_context = &init_hash_mm_context;

Completed in 210 milliseconds