Searched refs:lock_nr (Results 1 – 1 of 1) sorted by relevance
120 static inline unsigned int lock_nr(struct dm_cell_key *key, unsigned int num_locks) in lock_nr() function182 unsigned l = lock_nr(key, prison->num_locks); in bio_detain()221 unsigned l = lock_nr(&cell->key, prison->num_locks); in dm_cell_release()244 unsigned l = lock_nr(&cell->key, prison->num_locks); in dm_cell_release_no_holder()274 unsigned l = lock_nr(&cell->key, prison->num_locks); in dm_cell_visit_release()