Searched refs:NAT_ENTRY_PER_BLOCK (Results 1 – 6 of 6) sorted by relevance
53 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()
706 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 …]
518 return (nid < (NAT_ENTRY_PER_BLOCK * in IS_VALID_NID()
84 &nat_block->entries[nid % NAT_ENTRY_PER_BLOCK]); in nat_dump()
1133 #define NAT_ENTRY_PER_BLOCK (F2FS_BLKSIZE / sizeof(struct f2fs_nat_entry)) macro1134 #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)) * \
347 NAT_ENTRY_PER_BLOCK); in f2fs_prepare_super_block()