Searched refs:NAT_ENTRY_PER_BLOCK (Results 1 – 6 of 6) sorted by relevance
12 #define START_NID(nid) ((nid / NAT_ENTRY_PER_BLOCK) * NAT_ENTRY_PER_BLOCK)15 #define NAT_BLOCK_OFFSET(start_nid) (start_nid / NAT_ENTRY_PER_BLOCK)
1489 i = start_nid % NAT_ENTRY_PER_BLOCK; in scan_nat_page()1491 for (; i < NAT_ENTRY_PER_BLOCK; i++, start_nid++) { in scan_nat_page()1514 if (nm_i->fcnt > NAT_ENTRY_PER_BLOCK) in build_free_nids()1526 nid += (NAT_ENTRY_PER_BLOCK - (nid % NAT_ENTRY_PER_BLOCK)); in build_free_nids()1828 nid_t start_nid = set->set * NAT_ENTRY_PER_BLOCK; in __flush_nat_entry_set()1948 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nat_blocks; in init_node_manager()
137 blkno * NAT_ENTRY_PER_BLOCK); in ra_meta_pages()
911 * sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()
288 if (try_to_free_nats(sbi, NAT_ENTRY_PER_BLOCK) || in f2fs_balance_fs_bg()
256 #define NAT_ENTRY_PER_BLOCK (PAGE_CACHE_SIZE / sizeof(struct f2fs_nat_entry)) macro265 struct f2fs_nat_entry entries[NAT_ENTRY_PER_BLOCK];