• Home
  • Raw
  • Download

Lines Matching refs:l

182 	unsigned l = lock_nr(key, prison->num_locks);  in bio_detain()  local
184 spin_lock_irq(&prison->regions[l].lock); in bio_detain()
185 r = __bio_detain(&prison->regions[l].cell, key, inmate, cell_prealloc, cell_result); in bio_detain()
186 spin_unlock_irq(&prison->regions[l].lock); in bio_detain()
230 unsigned l = lock_nr(&cell->key, prison->num_locks); in dm_cell_release() local
232 spin_lock_irq(&prison->regions[l].lock); in dm_cell_release()
233 __cell_release(&prison->regions[l].cell, cell, bios); in dm_cell_release()
234 spin_unlock_irq(&prison->regions[l].lock); in dm_cell_release()
253 unsigned l = lock_nr(&cell->key, prison->num_locks); in dm_cell_release_no_holder() local
256 spin_lock_irqsave(&prison->regions[l].lock, flags); in dm_cell_release_no_holder()
257 __cell_release_no_holder(&prison->regions[l].cell, cell, inmates); in dm_cell_release_no_holder()
258 spin_unlock_irqrestore(&prison->regions[l].lock, flags); in dm_cell_release_no_holder()
283 unsigned l = lock_nr(&cell->key, prison->num_locks); in dm_cell_visit_release() local
284 spin_lock_irq(&prison->regions[l].lock); in dm_cell_visit_release()
286 rb_erase(&cell->node, &prison->regions[l].cell); in dm_cell_visit_release()
287 spin_unlock_irq(&prison->regions[l].lock); in dm_cell_visit_release()
307 unsigned l = lock_nr(&cell->key, prison->num_locks); in dm_cell_promote_or_release() local
309 spin_lock_irq(&prison->regions[l].lock); in dm_cell_promote_or_release()
310 r = __promote_or_release(&prison->regions[l].cell, cell); in dm_cell_promote_or_release()
311 spin_unlock_irq(&prison->regions[l].lock); in dm_cell_promote_or_release()