Lines Matching refs:context
77 mm->context.id = index; in init_new_context()
79 mm->context.cop_lockp = kmalloc(sizeof(spinlock_t), GFP_KERNEL); in init_new_context()
80 if (!mm->context.cop_lockp) { in init_new_context()
83 mm->context.id = MMU_NO_CONTEXT; in init_new_context()
86 spin_lock_init(mm->context.cop_lockp); in init_new_context()
90 mm->context.pte_frag = NULL; in init_new_context()
110 pte_frag = mm->context.pte_frag; in destroy_pagetable_page()
137 drop_cop(mm->context.acop, mm); in destroy_context()
138 kfree(mm->context.cop_lockp); in destroy_context()
139 mm->context.cop_lockp = NULL; in destroy_context()
143 __destroy_context(mm->context.id); in destroy_context()
145 mm->context.id = MMU_NO_CONTEXT; in destroy_context()