Searched refs:NAT_ENTRY_PER_BLOCK (Results 1 – 4 of 4) sorted by relevance
307 * sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()474 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nat_blocks; in init_node_manager()905 block_off = nid / NAT_ENTRY_PER_BLOCK; in get_nat_entry()906 entry_off = nid % NAT_ENTRY_PER_BLOCK; in get_nat_entry()1133 block_off = nid / NAT_ENTRY_PER_BLOCK; in nullify_nat_entry()1134 entry_off = nid % NAT_ENTRY_PER_BLOCK; in nullify_nat_entry()1175 fsck->nr_nat_entries = nr_nat_blks * NAT_ENTRY_PER_BLOCK; in build_nat_area_bitmap()1193 nid = block_off * NAT_ENTRY_PER_BLOCK; in build_nat_area_bitmap()1194 for (i = 0; i < NAT_ENTRY_PER_BLOCK; i++) { in build_nat_area_bitmap()
333 return (nid <= (NAT_ENTRY_PER_BLOCK * in IS_VALID_NID()
519 #define NAT_ENTRY_PER_BLOCK (PAGE_CACHE_SIZE / sizeof(struct f2fs_nat_entry)) macro528 struct f2fs_nat_entry entries[NAT_ENTRY_PER_BLOCK];
240 blocks_for_nat = ALIGN(total_valid_blks_available, NAT_ENTRY_PER_BLOCK); in f2fs_prepare_super_block()