/Linux-v6.6/fs/f2fs/ |
D | node.h | 59 nid_t nid; /* node id */ 60 nid_t ino; /* inode number of the node's owner */ 156 nid_t set; /* set number*/ 162 nid_t nid; /* node id */ 166 static inline void next_free_nid(struct f2fs_sb_info *sbi, nid_t *nid) in next_free_nid() 196 static inline pgoff_t current_nat_addr(struct f2fs_sb_info *sbi, nid_t start) in current_nat_addr() 229 static inline void set_to_next_nat(struct f2fs_nm_info *nm_i, nid_t start_nid) in set_to_next_nat() 239 static inline nid_t ino_of_node(struct page *node_page) in ino_of_node() 245 static inline nid_t nid_of_node(struct page *node_page) in nid_of_node() 270 static inline void fill_node_footer(struct page *page, nid_t nid, in fill_node_footer() [all …]
|
D | node.c | 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() [all …]
|
D | f2fs.h | 125 typedef u32 nid_t; typedef 287 nid_t ino; /* inode number */ 655 nid_t ino; /* inode number */ 822 nid_t i_xattr_nid; /* node id that contains xattrs */ 914 nid_t max_nid; /* maximum possible node ids */ 915 nid_t available_nids; /* # of available node ids */ 916 nid_t next_scan_nid; /* the next nid to be scanned */ 917 nid_t max_rf_node_blocks; /* max # of nodes for recovery */ 963 nid_t nid; /* node id of the direct node block */ 973 struct page *ipage, struct page *npage, nid_t nid) in set_new_dnode() [all …]
|
D | checkpoint.c | 501 static void __add_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, in __add_ino_entry() 550 static void __remove_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, int type) in __remove_ino_entry() 568 void f2fs_add_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, int type) in f2fs_add_ino_entry() 574 void f2fs_remove_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, int type) in f2fs_remove_ino_entry() 581 bool f2fs_exist_written_data(struct f2fs_sb_info *sbi, nid_t ino, int mode) in f2fs_exist_written_data() 611 void f2fs_set_dirty_device(struct f2fs_sb_info *sbi, nid_t ino, in f2fs_set_dirty_device() 617 bool f2fs_is_dirty_device(struct f2fs_sb_info *sbi, nid_t ino, in f2fs_is_dirty_device() 670 void f2fs_remove_orphan_inode(struct f2fs_sb_info *sbi, nid_t ino) in f2fs_remove_orphan_inode() 676 static int recover_orphan_inode(struct f2fs_sb_info *sbi, nid_t ino) in recover_orphan_inode() 754 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); in f2fs_recover_orphan_inodes() [all …]
|
D | xattr.c | 300 nid_t xnid = F2FS_I(inode)->i_xattr_nid; in read_xattr_block() 325 nid_t xnid = F2FS_I(inode)->i_xattr_nid; in lookup_all_xattrs() 392 nid_t xnid = F2FS_I(inode)->i_xattr_nid; in read_all_xattrs() 440 nid_t new_nid = 0; in write_all_xattrs()
|
D | recovery.c | 67 nid_t ino) in get_fsync_inode() 79 struct list_head *head, nid_t ino, bool quota_inode) in add_fsync_inode() 171 nid_t pino = le32_to_cpu(raw_inode->i_pino); in recover_dentry() 504 nid_t ino, nid; in check_index_in_prev_nodes()
|
D | dir.c | 656 void f2fs_update_dentry(nid_t ino, umode_t mode, struct f2fs_dentry_ptr *d, in f2fs_update_dentry() 679 struct inode *inode, nid_t ino, umode_t mode) in f2fs_add_regular_entry() 774 struct inode *inode, nid_t ino, umode_t mode) in f2fs_add_dentry() 799 struct inode *inode, nid_t ino, umode_t mode) in f2fs_do_add_link()
|
D | namei.c | 224 nid_t ino; in f2fs_new_inode() 355 nid_t ino = 0; in f2fs_create() 458 static int __recover_dot_dentries(struct inode *dir, nid_t pino) in __recover_dot_dentries() 522 nid_t ino = -1; in f2fs_lookup()
|
D | inline.c | 475 nid_t ino; in f2fs_add_inline_entries() 616 struct inode *inode, nid_t ino, umode_t mode) in f2fs_add_inline_entry()
|
D | gc.c | 940 static struct inode *find_gc_inode(struct gc_inode_list *gc_list, nid_t ino) in find_gc_inode() 1017 nid_t nid = le32_to_cpu(entry->nid); in gc_node_segment() 1108 nid_t nid; in is_alive() 1525 nid_t nid = le32_to_cpu(entry->nid); in gc_data_segment()
|
D | data.c | 595 struct page *page, nid_t ino) in __has_merged_page() 689 nid_t ino, enum page_type type, bool force) in __submit_merged_write_cond() 719 nid_t ino, enum page_type type) in f2fs_submit_merged_write_cond() 1889 nid_t xnid = F2FS_I(inode)->i_xattr_nid; in f2fs_xattr_fiemap()
|
D | segment.h | 877 static inline void set_summary(struct f2fs_summary *sum, nid_t nid, in set_summary()
|
D | compress.c | 1841 nid_t ino, block_t blkaddr) in f2fs_cache_compressed_page() 1907 void f2fs_invalidate_compress_pages(struct f2fs_sb_info *sbi, nid_t ino) in f2fs_invalidate_compress_pages()
|
D | inode.c | 834 nid_t xnid = fi->i_xattr_nid; in f2fs_evict_inode()
|
D | file.c | 171 static int get_parent_ino(struct inode *inode, nid_t *pino) in get_parent_ino() 220 static bool need_inode_page_update(struct f2fs_sb_info *sbi, nid_t ino) in need_inode_page_update() 234 nid_t pino; in try_to_fix_pino() 250 nid_t ino = inode->i_ino; in f2fs_do_sync_file()
|
D | extent_cache.c | 341 nid_t ino = inode->i_ino; in __grab_extent_tree()
|
D | segment.c | 532 static int submit_flush_wait(struct f2fs_sb_info *sbi, nid_t ino) in submit_flush_wait() 584 int f2fs_issue_flush(struct f2fs_sb_info *sbi, nid_t ino) in f2fs_issue_flush() 3523 void f2fs_update_device_state(struct f2fs_sb_info *sbi, nid_t ino, in f2fs_update_device_state()
|
D | super.c | 3209 *ino_bits_ret = 8 * sizeof(nid_t); in f2fs_get_ino_and_lblk_bits()
|
/Linux-v6.6/include/trace/events/ |
D | f2fs.h | 374 TP_PROTO(struct inode *inode, nid_t nid, unsigned int ofs, int free), 381 __field(nid_t, nid) 461 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 468 __field(nid_t, nid) 487 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 501 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 508 TP_PROTO(struct inode *inode, nid_t *nid, int depth, int err), 515 __array(nid_t, nid, 3) 841 TP_PROTO(struct inode *dir, struct dentry *dentry, nid_t ino, 850 __field(nid_t, cino) [all …]
|