Home
last modified time | relevance | path

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

/linux/arch/powerpc/include/asm/book3s/64/
A Dmmu.h113 struct hash_mm_context *hash_context; member
138 return ctx->hash_context->user_psize; in mm_ctx_user_psize()
143 ctx->hash_context->user_psize = user_psize; in mm_ctx_set_user_psize()
148 return ctx->hash_context->low_slices_psize; in mm_ctx_low_slices()
158 return ctx->hash_context->slb_addr_limit; in mm_ctx_slb_addr_limit()
163 ctx->hash_context->slb_addr_limit = limit; in mm_ctx_set_slb_addr_limit()
170 return &ctx->hash_context->mask_64k; in slice_mask_for_size()
174 return &ctx->hash_context->mask_16m; in slice_mask_for_size()
176 return &ctx->hash_context->mask_16g; in slice_mask_for_size()
180 return &ctx->hash_context->mask_4k; in slice_mask_for_size()
[all …]
A Dmmu-hash.h663 #define TASK_SLICE_ARRAY_SZ(x) ((x)->hash_context->slb_addr_limit >> 41)
/linux/arch/powerpc/mm/book3s64/
A Dmmu_context.c96 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()
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()
[all …]
A Dsubpage_prot.c235 mm->context.hash_context->spt = spt; in SYSCALL_DEFINE3()
A Dhash_utils.c1107 init_mm.context.hash_context = &init_hash_mm_context; in hash__early_init_mmu()

Completed in 28 milliseconds