Lines Matching refs:nid_t
33 int f2fs_check_nid_range(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_check_nid_range()
133 static struct page *get_current_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_current_nat_page()
138 static struct page *get_next_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_next_nat_page()
168 nid_t nid, bool no_fail) in __alloc_nat_entry()
207 static struct nat_entry *__lookup_nat_cache(struct f2fs_nm_info *nm_i, nid_t n) in __lookup_nat_cache()
225 nid_t start, unsigned int nr, struct nat_entry **ep) in __gang_lookup_nat_cache()
241 nid_t set = NAT_BLOCK_OFFSET(ne->ni.nid); in __grab_nat_entry_set()
307 nid_t start, unsigned int nr, struct nat_entry_set **ep) in __gang_lookup_nat_set()
380 int f2fs_need_dentry_mark(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_need_dentry_mark()
397 bool f2fs_is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_is_checkpointed_node()
411 bool f2fs_need_inode_block_update(struct f2fs_sb_info *sbi, nid_t ino) in f2fs_need_inode_block_update()
428 static void cache_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in cache_nat_entry()
546 int f2fs_get_node_info(struct f2fs_sb_info *sbi, nid_t nid, in f2fs_get_node_info()
552 nid_t start_nid = START_NID(nid); in f2fs_get_node_info()
630 nid_t nid; in f2fs_ra_node_pages()
768 nid_t nids[4]; in f2fs_get_dnode_of_data()
970 nid_t child_nid; in truncate_nodes()
1045 nid_t nid[3]; in truncate_partial_nodes()
1046 nid_t child_nid; in truncate_partial_nodes()
1207 nid_t nid = F2FS_I(inode)->i_xattr_nid; in f2fs_truncate_xattr_node()
1397 void f2fs_ra_node_page(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_ra_node_page()
1490 nid_t nid = get_nid(parent, start, false); in f2fs_get_node_page_ra()
1495 static void flush_inline_data(struct f2fs_sb_info *sbi, nid_t ino) in flush_inline_data()
1531 static struct page *last_fsync_dnode(struct f2fs_sb_info *sbi, nid_t ino) in last_fsync_dnode()
1593 nid_t nid; in __write_node_page()
1754 nid_t ino = inode->i_ino; in f2fs_fsync_node_pages()
1893 nid_t ino = ino_of_node(page); in flush_dirty_inode()
2185 nid_t n) in __lookup_free_nid_list()
2256 static void update_free_nid_bitmap(struct f2fs_sb_info *sbi, nid_t nid, in update_free_nid_bitmap()
2282 nid_t nid, bool build, bool update) in add_free_nid()
2355 static void remove_free_nid(struct f2fs_sb_info *sbi, nid_t nid) in remove_free_nid()
2374 struct page *nat_page, nid_t start_nid) in scan_nat_page()
2416 nid_t nid; in scan_curseg_cache()
2432 nid_t nid; in scan_free_nid_bits()
2465 nid_t nid = nm_i->next_scan_nid; in __f2fs_build_free_nids()
2558 bool f2fs_alloc_nid(struct f2fs_sb_info *sbi, nid_t *nid) in f2fs_alloc_nid()
2599 void f2fs_alloc_nid_done(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_alloc_nid_done()
2616 void f2fs_alloc_nid_failed(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_alloc_nid_failed()
2719 nid_t prev_xnid = F2FS_I(inode)->i_xattr_nid; in f2fs_recover_xattr_data()
2720 nid_t new_xnid; in f2fs_recover_xattr_data()
2767 nid_t ino = ino_of_node(page); in f2fs_recover_inode_page()
2885 nid_t nid = le32_to_cpu(nid_in_journal(journal, i)); in remove_nats_in_journal()
2950 static void update_nat_bits(struct f2fs_sb_info *sbi, nid_t start_nid, in update_nat_bits()
3007 nid_t start_nid = set->set * NAT_ENTRY_PER_BLOCK; in __flush_nat_entry_set()
3036 nid_t nid = nat_get_nid(ne); in __flush_nat_entry_set()
3088 nid_t set_idx = 0; in f2fs_flush_nat_entries()
3191 nid_t nid, last_nid; in load_free_nid_bitmap()
3342 nid_t nid = 0; in f2fs_destroy_node_manager()