Lines Matching refs:lock
17 raw_spin_lock_init(&head->lock); in pcpu_freelist_init()
20 raw_spin_lock_init(&s->extralist.lock); in pcpu_freelist_init()
40 raw_spin_lock(&head->lock); in ___pcpu_freelist_push()
42 raw_spin_unlock(&head->lock); in ___pcpu_freelist_push()
48 if (!raw_spin_trylock(&s->extralist.lock)) in pcpu_freelist_try_push_extra()
52 raw_spin_unlock(&s->extralist.lock); in pcpu_freelist_try_push_extra()
66 if (raw_spin_trylock(&head->lock)) { in ___pcpu_freelist_push_nmi()
68 raw_spin_unlock(&head->lock); in ___pcpu_freelist_push_nmi()
132 raw_spin_lock(&head->lock); in ___pcpu_freelist_pop()
136 raw_spin_unlock(&head->lock); in ___pcpu_freelist_pop()
139 raw_spin_unlock(&head->lock); in ___pcpu_freelist_pop()
148 raw_spin_lock(&s->extralist.lock); in ___pcpu_freelist_pop()
152 raw_spin_unlock(&s->extralist.lock); in ___pcpu_freelist_pop()
166 if (raw_spin_trylock(&head->lock)) { in ___pcpu_freelist_pop_nmi()
170 raw_spin_unlock(&head->lock); in ___pcpu_freelist_pop_nmi()
173 raw_spin_unlock(&head->lock); in ___pcpu_freelist_pop_nmi()
183 if (!raw_spin_trylock(&s->extralist.lock)) in ___pcpu_freelist_pop_nmi()
188 raw_spin_unlock(&s->extralist.lock); in ___pcpu_freelist_pop_nmi()