Searched refs:NAT_BLOCK_OFFSET (Results 1 – 4 of 4) sorted by relevance
/fs/f2fs/ |
D | node.h | 12 #define NAT_BLOCK_OFFSET(start_nid) ((start_nid) / NAT_ENTRY_PER_BLOCK) macro 209 block_off = NAT_BLOCK_OFFSET(start); in current_nat_addr() 233 unsigned int block_off = NAT_BLOCK_OFFSET(start_nid); in set_to_next_nat()
|
D | node.c | 236 nid_t set = NAT_BLOCK_OFFSET(ne->ni.nid); in __grab_nat_entry_set() 2249 unsigned int nat_ofs = NAT_BLOCK_OFFSET(nid); in update_free_nid_bitmap() 2368 unsigned int nat_ofs = NAT_BLOCK_OFFSET(start_nid); in scan_nat_page() 2460 nid = NAT_BLOCK_OFFSET(nid) * NAT_ENTRY_PER_BLOCK; in __f2fs_build_free_nids() 2478 f2fs_ra_meta_pages(sbi, NAT_BLOCK_OFFSET(nid), FREE_NID_PAGES, in __f2fs_build_free_nids() 2484 if (!test_bit_le(NAT_BLOCK_OFFSET(nid), in __f2fs_build_free_nids() 2518 f2fs_ra_meta_pages(sbi, NAT_BLOCK_OFFSET(nm_i->next_scan_nid), in __f2fs_build_free_nids()
|
D | gc.c | 991 f2fs_ra_meta_pages(sbi, NAT_BLOCK_OFFSET(nid), 1, in gc_node_segment() 1501 f2fs_ra_meta_pages(sbi, NAT_BLOCK_OFFSET(nid), 1, in gc_data_segment()
|
D | checkpoint.c | 255 NAT_BLOCK_OFFSET(NM_I(sbi)->max_nid))) in f2fs_ra_meta_pages()
|