Home
last modified time | relevance | path

Searched refs:NAT_ENTRY_PER_BLOCK (Results 1 – 6 of 6) sorted by relevance

/third_party/f2fs-tools/fsck/
Dresize.c53 NAT_ENTRY_PER_BLOCK); in get_new_sb()
297 new_max_nid = NAT_ENTRY_PER_BLOCK * nat_blocks; in shrink_nats()
299 for (nid = nm_i->max_nid - 1; nid > new_max_nid; nid -= NAT_ENTRY_PER_BLOCK) { in shrink_nats()
300 block_off = nid / NAT_ENTRY_PER_BLOCK; in shrink_nats()
342 for (nid = nm_i->max_nid - 1; nid >= 0; nid -= NAT_ENTRY_PER_BLOCK) { in migrate_nat()
343 block_off = nid / NAT_ENTRY_PER_BLOCK; in migrate_nat()
370 new_max_nid = NAT_ENTRY_PER_BLOCK * nat_blocks; in migrate_nat()
378 nid += NAT_ENTRY_PER_BLOCK) { in migrate_nat()
379 block_off = nid / NAT_ENTRY_PER_BLOCK; in migrate_nat()
Dmount.c706 blkno * NAT_ENTRY_PER_BLOCK, NULL); in f2fs_ra_meta_pages()
1108 sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()
1580 if (!(nid % NAT_ENTRY_PER_BLOCK)) { in f2fs_late_init_nid_bitmap()
1588 if (nat_block->entries[nid % NAT_ENTRY_PER_BLOCK].block_addr) in f2fs_late_init_nid_bitmap()
1660 for (j = 0; j < NAT_ENTRY_PER_BLOCK; j++) { in write_nat_bits()
1667 else if (valid == NAT_ENTRY_PER_BLOCK) in write_nat_bits()
1729 uint32_t start_nid = i * NAT_ENTRY_PER_BLOCK; in check_nat_bits()
1734 for (j = 0; j < NAT_ENTRY_PER_BLOCK; j++) { in check_nat_bits()
1743 } else if (valid == NAT_ENTRY_PER_BLOCK) { in check_nat_bits()
1779 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nm_i->nat_blocks; in init_node_manager()
[all …]
Df2fs.h518 return (nid < (NAT_ENTRY_PER_BLOCK * in IS_VALID_NID()
Ddump.c84 &nat_block->entries[nid % NAT_ENTRY_PER_BLOCK]); in nat_dump()
/third_party/f2fs-tools/include/
Df2fs_fs.h1133 #define NAT_ENTRY_PER_BLOCK (F2FS_BLKSIZE / sizeof(struct f2fs_nat_entry)) macro
1134 #define NAT_BLOCK_OFFSET(start_nid) (start_nid / NAT_ENTRY_PER_BLOCK)
1147 struct f2fs_nat_entry entries[NAT_ENTRY_PER_BLOCK];
1171 #define MAX_CP_PAYLOAD (SEG_ALIGN(SIZE_ALIGN(UINT32_MAX, NAT_ENTRY_PER_BLOCK)) * \
/third_party/f2fs-tools/mkfs/
Df2fs_format.c347 NAT_ENTRY_PER_BLOCK); in f2fs_prepare_super_block()