Searched refs:map_locks (Results 1 – 2 of 2) sorted by relevance
734 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()
190 struct aligned_lock *map_locks; member