Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
Dbtt.c734 arena->map_locks = kcalloc(arena->nfree, sizeof(struct aligned_lock), in btt_maplocks_init()
736 if (!arena->map_locks) in btt_maplocks_init()
740 spin_lock_init(&arena->map_locks[i].lock); in btt_maplocks_init()
809 kfree(arena->map_locks); in free_arenas()
1091 __acquires(&arena->map_locks[idx].lock) in lock_map()
1095 spin_lock(&arena->map_locks[idx].lock); in lock_map()
1099 __releases(&arena->map_locks[idx].lock) in unlock_map()
1103 spin_unlock(&arena->map_locks[idx].lock); in unlock_map()
Dbtt.h189 struct aligned_lock *map_locks; member
/linux-6.1.9/Documentation/driver-api/nvdimm/
Dbtt.rst205 Instead we use an array of (nfree) map_locks that is indexed by