Searched refs:pin_lock (Results 1 – 4 of 4) sorted by relevance
8 static DEFINE_SPINLOCK(pin_lock);12 spin_lock(&pin_lock); in pin_remove()15 spin_unlock(&pin_lock); in pin_remove()24 spin_lock(&pin_lock); in pin_insert()27 spin_unlock(&pin_lock); in pin_insert()
69 spin_lock_irqsave(&cfile->pin_lock, flags); in genwqe_add_pin()71 spin_unlock_irqrestore(&cfile->pin_lock, flags); in genwqe_add_pin()78 spin_lock_irqsave(&cfile->pin_lock, flags); in genwqe_del_pin()80 spin_unlock_irqrestore(&cfile->pin_lock, flags); in genwqe_del_pin()102 spin_lock_irqsave(&cfile->pin_lock, flags); in genwqe_search_pin()112 spin_unlock_irqrestore(&cfile->pin_lock, flags); in genwqe_search_pin()116 spin_unlock_irqrestore(&cfile->pin_lock, flags); in genwqe_search_pin()316 spin_lock_init(&cfile->pin_lock); /* list of user pinned memory */ in genwqe_open()
409 spinlock_t pin_lock; /* lock for pinned memory */ member
238 must be held: lockdep_assert_held*(&lock) and lockdep_*pin_lock(&lock).255 The other family of macros is lockdep_*pin_lock(), which is admittedly only