• Home
  • Raw
  • Download

Lines Matching refs:mm

19 				   struct mm_struct *mm)  in init_new_context()  argument
23 spin_lock_init(&mm->context.lock); in init_new_context()
24 INIT_LIST_HEAD(&mm->context.pgtable_list); 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.is_protected, 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_gmap_hpage_1m = 0; in init_new_context()
40 switch (mm->context.asce_limit) { in init_new_context()
46 VM_BUG_ON(mm->context.asce_limit); in init_new_context()
48 mm->context.asce_limit = _REGION2_SIZE; in init_new_context()
66 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in init_new_context()
68 crst_table_init((unsigned long *) mm->pgd, init_entry); in init_new_context()
72 #define destroy_context(mm) do { } while (0) argument
74 static inline void set_user_asce(struct mm_struct *mm) in set_user_asce() argument
76 S390_lowcore.user_asce = mm->context.asce; in set_user_asce()
115 struct mm_struct *mm = tsk->mm; in finish_arch_post_lock_switch() local
117 if (mm) { in finish_arch_post_lock_switch()
119 while (atomic_read(&mm->context.flush_count)) in finish_arch_post_lock_switch()
121 cpumask_set_cpu(smp_processor_id(), mm_cpumask(mm)); in finish_arch_post_lock_switch()
122 __tlb_flush_mm_lazy(mm); in finish_arch_post_lock_switch()
128 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument
129 #define deactivate_mm(tsk,mm) do { } while (0) argument