Searched refs:cop_lockp (Results 1 – 3 of 3) sorted by relevance
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()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()
97 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()
532 struct spinlock *cop_lockp; /* guard acop and cop_pid */ member