Searched refs:nm_i (Results 1 – 1 of 1) sorted by relevance
465 struct f2fs_nm_info *nm_i = NM_I(sbi); in init_node_manager() local469 nm_i->nat_blkaddr = le32_to_cpu(sb_raw->nat_blkaddr); in init_node_manager()474 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nat_blocks; in init_node_manager()475 nm_i->fcnt = 0; in init_node_manager()476 nm_i->nat_cnt = 0; in init_node_manager()477 nm_i->init_scan_nid = le32_to_cpu(sbi->ckpt->next_free_nid); in init_node_manager()478 nm_i->next_scan_nid = le32_to_cpu(sbi->ckpt->next_free_nid); in init_node_manager()480 nm_i->bitmap_size = __bitmap_size(sbi, NAT_BITMAP); in init_node_manager()482 nm_i->nat_bitmap = malloc(nm_i->bitmap_size); in init_node_manager()483 if (!nm_i->nat_bitmap) in init_node_manager()[all …]