Lines Matching refs:flags
130 unsigned long flags; in mempool_resize() local
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()
201 unsigned long flags; in mempool_alloc() local
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()
277 unsigned long flags; in mempool_free() local
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()