Home
last modified time | relevance | path

Searched refs:cop_lockp (Results 1 – 3 of 3) sorted by relevance

/arch/powerpc/mm/
Dmmu_context_hash64.c79 mm->context.cop_lockp = kmalloc(sizeof(spinlock_t), GFP_KERNEL); in init_new_context()
80 if (!mm->context.cop_lockp) { in init_new_context()
86 spin_lock_init(mm->context.cop_lockp); in init_new_context()
144 kfree(mm->context.cop_lockp); in destroy_context()
145 mm->context.cop_lockp = NULL; in destroy_context()
Dicswx.c97 spin_lock(mm->context.cop_lockp); in use_cop()
117 spin_unlock(mm->context.cop_lockp); in use_cop()
141 spin_lock(mm->context.cop_lockp); in drop_cop()
159 spin_unlock(mm->context.cop_lockp); in drop_cop()
/arch/powerpc/include/asm/
Dmmu-hash64.h532 struct spinlock *cop_lockp; /* guard acop and cop_pid */ member