Searched refs:mmu_notifier_lock (Results 1 – 2 of 2) sorted by relevance
516 mm->mmu_notifier_lock = kzalloc(sizeof(struct percpu_rw_semaphore), GFP_KERNEL); in mmu_notifier_subscriptions_init()517 if (!mm->mmu_notifier_lock) in mmu_notifier_subscriptions_init()519 if (percpu_init_rwsem(mm->mmu_notifier_lock)) { in mmu_notifier_subscriptions_init()520 kfree(mm->mmu_notifier_lock); in mmu_notifier_subscriptions_init()535 percpu_rwsem_async_destroy(mm->mmu_notifier_lock); in mmu_notifier_subscriptions_destroy()783 return percpu_down_read_trylock(mm->mmu_notifier_lock); in mmu_notifier_trylock()788 percpu_up_read(mm->mmu_notifier_lock); in mmu_notifier_unlock()
599 struct percpu_rw_semaphore *mmu_notifier_lock; member