Searched refs:prev_map (Results 1 – 2 of 2) sorted by relevance
67 static void __iomem *prev_map[FIX_BTMAPS_SLOTS] __initdata; variable76 WARN_ON_ONCE(prev_map[i]); in early_ioremap_setup()87 if (prev_map[i]) in check_early_ioremap_leak()112 if (!prev_map[i]) { in __early_ioremap()158 prev_map[slot] = (void __iomem *)(offset + slot_virt[slot]); in __early_ioremap()159 return prev_map[slot]; in __early_ioremap()172 if (prev_map[i] == addr) { in early_iounmap()206 prev_map[slot] = NULL; in early_iounmap()
3066 struct btrfs_chunk_map *prev_map = NULL; in btrfs_find_chunk_map_nolock() local3071 prev_map = map; in btrfs_find_chunk_map_nolock()3087 while (prev && logical >= prev_map->start + prev_map->chunk_len) { in btrfs_find_chunk_map_nolock()3089 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()3094 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()3095 while (prev && logical < prev_map->start) { in btrfs_find_chunk_map_nolock()3097 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()3112 if (end > prev_map->start && in btrfs_find_chunk_map_nolock()3113 logical < prev_map->start + prev_map->chunk_len) { in btrfs_find_chunk_map_nolock()3114 refcount_inc(&prev_map->refs); in btrfs_find_chunk_map_nolock()[all …]