Home
last modified time | relevance | path

Searched refs:max_nid (Results 1 – 5 of 5) sorted by relevance

/external/f2fs-tools/fsck/
Dnode.c24 for (i = 0; i < nm_i->max_nid; i++) in f2fs_alloc_nid()
28 ASSERT(i < nm_i->max_nid); in f2fs_alloc_nid()
37 ASSERT(nid < nm_i->max_nid); in f2fs_release_nid()
Dresize.c297 for (nid = nm_i->max_nid - 1; nid > new_max_nid; nid -= NAT_ENTRY_PER_BLOCK) { in shrink_nats()
316 nm_i->max_nid = new_max_nid; in shrink_nats()
340 for (nid = nm_i->max_nid - 1; nid >= 0; nid -= NAT_ENTRY_PER_BLOCK) { in migrate_nat()
375 for (nid = nm_i->max_nid; nid < new_max_nid; in migrate_nat()
Df2fs.h126 nid_t max_nid; member
Dmount.c641 if (blkno >= NAT_BLOCK_OFFSET(NM_I(sbi)->max_nid)) in f2fs_ra_meta_pages()
1381 int nid_bitmap_size = (nm_i->max_nid + BITS_PER_BYTE - 1) / BITS_PER_BYTE; in f2fs_early_init_nid_bitmap()
1447 f2fs_ra_meta_pages(sbi, 0, NAT_BLOCK_OFFSET(nm_i->max_nid), in f2fs_late_init_nid_bitmap()
1449 for (nid = 0; nid < nm_i->max_nid; nid++) { in f2fs_late_init_nid_bitmap()
1649 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nm_i->nat_blocks; in init_node_manager()
Dmain.c892 opt->end_nat = NM_I(sbi)->max_nid; in do_dump()