Lines Matching defs:arena
29 static struct device *to_dev(struct arena_info *arena) in to_dev()
39 static int arena_read_bytes(struct arena_info *arena, resource_size_t offset, in arena_read_bytes()
50 static int arena_write_bytes(struct arena_info *arena, resource_size_t offset, in arena_write_bytes()
61 static int btt_info_write(struct arena_info *arena, struct btt_sb *super) in btt_info_write()
84 static int btt_info_read(struct arena_info *arena, struct btt_sb *super) in btt_info_read()
96 static int __btt_map_write(struct arena_info *arena, u32 lba, __le32 mapping, in __btt_map_write()
108 static int btt_map_write(struct arena_info *arena, u32 lba, u32 mapping, in btt_map_write()
152 static int btt_map_read(struct arena_info *arena, u32 lba, u32 *mapping, in btt_map_read()
208 static int btt_log_group_read(struct arena_info *arena, u32 lane, in btt_log_group_read()
260 struct arena_info *arena; in btt_debugfs_init() local
329 static int btt_log_read(struct arena_info *arena, u32 lane, in btt_log_read()
363 static int __btt_log_write(struct arena_info *arena, u32 lane, in __btt_log_write()
384 static int btt_flog_write(struct arena_info *arena, u32 lane, u32 sub, in btt_flog_write()
408 static int btt_map_init(struct arena_info *arena) in btt_map_init()
452 static int btt_log_init(struct arena_info *arena) in btt_log_init()
502 static u64 to_namespace_offset(struct arena_info *arena, u64 lba) in to_namespace_offset()
507 static int arena_clear_freelist_error(struct arena_info *arena, u32 lane) in arena_clear_freelist_error()
536 static int btt_freelist_init(struct arena_info *arena) in btt_freelist_init()
625 static int log_set_indices(struct arena_info *arena) in log_set_indices()
723 static int btt_rtt_init(struct arena_info *arena) in btt_rtt_init()
732 static int btt_maplocks_init(struct arena_info *arena) in btt_maplocks_init()
750 struct arena_info *arena; in alloc_arena() local
806 struct arena_info *arena, *next; in free_arenas() local
822 static void parse_arena_meta(struct arena_info *arena, struct btt_sb *super, in parse_arena_meta()
851 struct arena_info *arena; in discover_arenas() local
935 struct arena_info *arena; in create_arenas() local
965 static int btt_arena_write_layout(struct arena_info *arena) in btt_arena_write_layout()
1024 struct arena_info *arena; in btt_meta_init() local
1065 struct arena_info **arena) in lba_to_arena()
1086 static void lock_map(struct arena_info *arena, u32 premap) in lock_map()
1094 static void unlock_map(struct arena_info *arena, u32 premap) in unlock_map()
1102 static int btt_data_read(struct arena_info *arena, struct page *page, in btt_data_read()
1115 static int btt_data_write(struct arena_info *arena, u32 lba, in btt_data_write()
1138 struct arena_info *arena, u32 postmap, int rw) in btt_rw_integrity()
1185 struct arena_info *arena, u32 postmap, int rw) in btt_rw_integrity()
1197 struct arena_info *arena = NULL; in btt_read_pg() local
1294 static bool btt_is_badblock(struct btt *btt, struct arena_info *arena, in btt_is_badblock()
1309 struct arena_info *arena = NULL; in btt_write_pg() local