Lines Matching refs:lock
86 spin_lock_init(&pool->lock); in mempool_create_node()
134 spin_lock_irqsave(&pool->lock, flags); in mempool_resize()
138 spin_unlock_irqrestore(&pool->lock, flags); in mempool_resize()
140 spin_lock_irqsave(&pool->lock, flags); in mempool_resize()
145 spin_unlock_irqrestore(&pool->lock, flags); in mempool_resize()
152 spin_lock_irqsave(&pool->lock, flags); in mempool_resize()
155 spin_unlock_irqrestore(&pool->lock, flags); in mempool_resize()
166 spin_unlock_irqrestore(&pool->lock, flags); in mempool_resize()
170 spin_lock_irqsave(&pool->lock, flags); in mempool_resize()
174 spin_unlock_irqrestore(&pool->lock, flags); in mempool_resize()
180 spin_unlock_irqrestore(&pool->lock, flags); in mempool_resize()
220 spin_lock_irqsave(&pool->lock, flags); in mempool_alloc()
223 spin_unlock_irqrestore(&pool->lock, flags); in mempool_alloc()
239 spin_unlock_irqrestore(&pool->lock, flags); in mempool_alloc()
246 spin_unlock_irqrestore(&pool->lock, flags); in mempool_alloc()
254 spin_unlock_irqrestore(&pool->lock, flags); in mempool_alloc()
316 spin_lock_irqsave(&pool->lock, flags); in mempool_free()
319 spin_unlock_irqrestore(&pool->lock, flags); in mempool_free()
323 spin_unlock_irqrestore(&pool->lock, flags); in mempool_free()