Lines Matching full:context

24 	spin_lock_init(&mm->context.lock);  in init_new_context()
25 INIT_LIST_HEAD(&mm->context.gmap_list); in init_new_context()
26 cpumask_clear(&mm->context.cpu_attach_mask); in init_new_context()
27 atomic_set(&mm->context.flush_count, 0); in init_new_context()
28 atomic_set(&mm->context.protected_count, 0); in init_new_context()
29 mm->context.gmap_asce = 0; in init_new_context()
30 mm->context.flush_mm = 0; in init_new_context()
32 mm->context.alloc_pgste = page_table_allocate_pgste || in init_new_context()
34 (current->mm && current->mm->context.alloc_pgste); in init_new_context()
35 mm->context.has_pgste = 0; in init_new_context()
36 mm->context.uses_skeys = 0; in init_new_context()
37 mm->context.uses_cmm = 0; in init_new_context()
38 mm->context.allow_cow_sharing = 1; in init_new_context()
39 mm->context.allow_gmap_hpage_1m = 0; in init_new_context()
41 switch (mm->context.asce_limit) { in init_new_context()
44 * context created by exec, the value of asce_limit can in init_new_context()
47 VM_BUG_ON(mm->context.asce_limit); in init_new_context()
49 mm->context.asce_limit = _REGION2_SIZE; in init_new_context()
67 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in init_new_context()
81 get_lowcore()->user_asce.val = next->context.asce; in switch_mm_irqs_off()
82 cpumask_set_cpu(cpu, &next->context.cpu_attach_mask); in switch_mm_irqs_off()
86 cpumask_clear_cpu(cpu, &prev->context.cpu_attach_mask); in switch_mm_irqs_off()
108 while (atomic_read(&mm->context.flush_count)) in finish_arch_post_lock_switch()