Home
last modified time | relevance | path

Searched refs:acop (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/mm/
Dicswx.c73 mtspr(SPRN_ACOP, next->context.acop); in switch_cop()
85 int use_cop(unsigned long acop, struct mm_struct *mm) in use_cop() argument
92 if (!mm || !acop) in use_cop()
104 mm->context.acop |= acop; in use_cop()
129 void drop_cop(unsigned long acop, struct mm_struct *mm) in drop_cop() argument
143 mm->context.acop &= ~acop; in drop_cop()
243 if ((acop_copro_type_bit(ct) & current->active_mm->context.acop) != 0) { in acop_handle_fault()
Dicswx_pid.c75 if ((!mm->context.acop) && (mm->context.cop_pid != COP_PID_NONE)) { in disable_cop_pid()
Dmmu_context_hash64.c137 drop_cop(mm->context.acop, mm); in destroy_context()
/arch/powerpc/include/asm/
Dmmu_context.h35 extern int use_cop(unsigned long acop, struct mm_struct *mm);
36 extern void drop_cop(unsigned long acop, struct mm_struct *mm);
63 if (prev->context.acop || next->context.acop) in switch_mm()
Dmmu-hash64.h525 unsigned long acop; /* mask of enabled coprocessor types */ member
Dkvm_host.h490 ulong acop; member
/arch/powerpc/kvm/
Dbook3s_hv.c1036 *val = get_reg_val(id, vcpu->arch.acop); in kvmppc_get_one_reg_hv()
1234 vcpu->arch.acop = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
/arch/powerpc/kernel/
Dasm-offsets.c550 DEFINE(VCPU_ACOP, offsetof(struct kvm_vcpu, arch.acop)); in main()