Home
last modified time | relevance | path

Searched refs:map_locks (Results 1 – 2 of 2) sorted by relevance

/drivers/nvdimm/
Dbtt.c629 arena->map_locks = kcalloc(arena->nfree, sizeof(struct aligned_lock), in btt_maplocks_init()
631 if (!arena->map_locks) in btt_maplocks_init()
635 spin_lock_init(&arena->map_locks[i].lock); in btt_maplocks_init()
702 kfree(arena->map_locks); in free_arenas()
984 __acquires(&arena->map_locks[idx].lock) in lock_map()
988 spin_lock(&arena->map_locks[idx].lock); in lock_map()
992 __releases(&arena->map_locks[idx].lock) in unlock_map()
996 spin_unlock(&arena->map_locks[idx].lock); in unlock_map()
Dbtt.h186 struct aligned_lock *map_locks; member