Searched refs:NAT_ENTRY_PER_BLOCK (Results 1 – 7 of 7) sorted by relevance
9 #define START_NID(nid) (((nid) / NAT_ENTRY_PER_BLOCK) * NAT_ENTRY_PER_BLOCK)12 #define NAT_BLOCK_OFFSET(start_nid) ((start_nid) / NAT_ENTRY_PER_BLOCK)16 #define MAX_FREE_NIDS (NAT_ENTRY_PER_BLOCK * FREE_NID_PAGES)
2402 i = start_nid % NAT_ENTRY_PER_BLOCK; in scan_nat_page()2461 NAT_ENTRY_PER_BLOCK, idx); in scan_free_nid_bits()2462 if (idx >= NAT_ENTRY_PER_BLOCK) in scan_free_nid_bits()2465 nid = i * NAT_ENTRY_PER_BLOCK + idx; in scan_free_nid_bits()2488 if (unlikely(nid % NAT_ENTRY_PER_BLOCK)) in __f2fs_build_free_nids()2538 nid += (NAT_ENTRY_PER_BLOCK - (nid % NAT_ENTRY_PER_BLOCK)); in __f2fs_build_free_nids()2962 if (valid == NAT_ENTRY_PER_BLOCK) in __update_nat_bits()2984 for (; i < NAT_ENTRY_PER_BLOCK; i++) { in update_nat_bits()3025 nid_t start_nid = set->set * NAT_ENTRY_PER_BLOCK; in __flush_nat_entry_set()3221 nid = i * NAT_ENTRY_PER_BLOCK; in load_free_nid_bitmap()[all …]
280 f2fs_bitmap_size(NAT_ENTRY_PER_BLOCK); in update_mem_info()
285 blkno * NAT_ENTRY_PER_BLOCK); in f2fs_ra_meta_pages()
3789 NAT_ENTRY_PER_BLOCK)); in init_sb_info()
482 f2fs_try_to_free_nats(sbi, NAT_ENTRY_PER_BLOCK); in f2fs_balance_fs_bg()
372 #define NAT_ENTRY_PER_BLOCK (F2FS_BLKSIZE / sizeof(struct f2fs_nat_entry)) macro381 struct f2fs_nat_entry entries[NAT_ENTRY_PER_BLOCK];