Searched refs:log_new (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/nvdimm/ |
D | btt.c | 537 struct log_entry log_new; in btt_freelist_init() local 546 new = btt_log_read(arena, i, &log_new, LOG_NEW_ENT); in btt_freelist_init() 551 log_oldmap = ent_lba(le32_to_cpu(log_new.old_map)); in btt_freelist_init() 552 log_newmap = ent_lba(le32_to_cpu(log_new.new_map)); in btt_freelist_init() 556 arena->freelist[i].seq = nd_inc_seq(le32_to_cpu(log_new.seq)); in btt_freelist_init() 563 if (ent_e_flag(le32_to_cpu(log_new.old_map)) && in btt_freelist_init() 564 !ent_normal(le32_to_cpu(log_new.old_map))) { in btt_freelist_init() 577 ret = btt_map_read(arena, le32_to_cpu(log_new.lba), &map_entry, in btt_freelist_init() 594 ret = btt_map_write(arena, le32_to_cpu(log_new.lba), in btt_freelist_init() 595 le32_to_cpu(log_new.new_map), 0, 0, 0); in btt_freelist_init()
|