Searched refs:start_nid (Results 1 – 2 of 2) sorted by relevance
/fs/f2fs/ |
D | node.h | 15 #define NAT_BLOCK_OFFSET(start_nid) ((start_nid) / NAT_ENTRY_PER_BLOCK) argument 224 static inline void set_to_next_nat(struct f2fs_nm_info *nm_i, nid_t start_nid) in set_to_next_nat() argument 226 unsigned int block_off = NAT_BLOCK_OFFSET(start_nid); in set_to_next_nat()
|
D | node.c | 421 nid_t start_nid = START_NID(nid); in get_node_info() local 463 ne = nat_blk->entries[nid - start_nid]; in get_node_info() 1969 struct page *nat_page, nid_t start_nid) in scan_nat_page() argument 1974 unsigned int nat_ofs = NAT_BLOCK_OFFSET(start_nid); in scan_nat_page() 1979 i = start_nid % NAT_ENTRY_PER_BLOCK; in scan_nat_page() 1981 for (; i < NAT_ENTRY_PER_BLOCK; i++, start_nid++) { in scan_nat_page() 1982 if (unlikely(start_nid >= nm_i->max_nid)) in scan_nat_page() 1988 add_free_nid(sbi, start_nid, true, true); in scan_nat_page() 1991 update_free_nid_bitmap(sbi, start_nid, false, true); in scan_nat_page() 2463 static void __update_nat_bits(struct f2fs_sb_info *sbi, nid_t start_nid, in __update_nat_bits() argument [all …]
|