Searched refs:ifile (Results 1 – 8 of 8) sorted by relevance
/fs/nilfs2/ |
D | ifile.c | 38 static inline struct nilfs_ifile_info *NILFS_IFILE_I(struct inode *ifile) in NILFS_IFILE_I() argument 40 return (struct nilfs_ifile_info *)NILFS_MDT(ifile); in NILFS_IFILE_I() 61 int nilfs_ifile_create_inode(struct inode *ifile, ino_t *out_ino, in nilfs_ifile_create_inode() argument 73 ret = nilfs_palloc_prepare_alloc_entry(ifile, &req); in nilfs_ifile_create_inode() 75 ret = nilfs_palloc_get_entry_block(ifile, req.pr_entry_nr, 1, in nilfs_ifile_create_inode() 78 nilfs_palloc_abort_alloc_entry(ifile, &req); in nilfs_ifile_create_inode() 84 nilfs_palloc_commit_alloc_entry(ifile, &req); in nilfs_ifile_create_inode() 86 nilfs_mdt_mark_dirty(ifile); in nilfs_ifile_create_inode() 106 int nilfs_ifile_delete_inode(struct inode *ifile, ino_t ino) in nilfs_ifile_delete_inode() argument 115 ret = nilfs_palloc_prepare_free_entry(ifile, &req); in nilfs_ifile_delete_inode() [all …]
|
D | ifile.h | 31 nilfs_ifile_map_inode(struct inode *ifile, ino_t ino, struct buffer_head *ibh) in nilfs_ifile_map_inode() argument 35 return nilfs_palloc_block_get_entry(ifile, ino, ibh, kaddr); in nilfs_ifile_map_inode() 38 static inline void nilfs_ifile_unmap_inode(struct inode *ifile, ino_t ino, in nilfs_ifile_unmap_inode() argument
|
D | inode.c | 362 err = nilfs_ifile_create_inode(root->ifile, &ino, &ii->i_bh); in nilfs_new_inode() 492 err = nilfs_ifile_get_inode_block(root->ifile, ino, &bh); in __nilfs_read_inode() 496 raw_inode = nilfs_ifile_map_inode(root->ifile, ino, bh); in __nilfs_read_inode() 520 nilfs_ifile_unmap_inode(root->ifile, ino, bh); in __nilfs_read_inode() 529 nilfs_ifile_unmap_inode(root->ifile, ino, bh); in __nilfs_read_inode() 678 struct inode *ifile = ii->i_root->ifile; in nilfs_update_inode() local 681 raw_inode = nilfs_ifile_map_inode(ifile, ino, ibh); in nilfs_update_inode() 684 memset(raw_inode, 0, NILFS_MDT(ifile)->mi_entry_size); in nilfs_update_inode() 695 nilfs_ifile_unmap_inode(ifile, ino, ibh); in nilfs_update_inode() 810 ret = nilfs_ifile_delete_inode(ii->i_root->ifile, inode->i_ino); in nilfs_evict_inode() [all …]
|
D | Makefile | 5 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
|
D | segment.c | 826 if (nilfs_mdt_fetch_dirty(root->ifile)) in nilfs_test_metadata_dirty() 865 nilfs_mdt_clear_dirty(sci->sc_root->ifile); in nilfs_segctor_clear_metadata_dirty() 926 nilfs_write_inode_common(sci->sc_root->ifile, in nilfs_segctor_fill_in_checkpoint() 935 static void nilfs_fill_in_file_bmap(struct inode *ifile, in nilfs_fill_in_file_bmap() argument 945 raw_inode = nilfs_ifile_map_inode(ifile, ii->vfs_inode.i_ino, in nilfs_fill_in_file_bmap() 948 nilfs_ifile_unmap_inode(ifile, ii->vfs_inode.i_ino, ibh); in nilfs_fill_in_file_bmap() 957 nilfs_fill_in_file_bmap(sci->sc_root->ifile, ii); in nilfs_segctor_fill_in_file_bmap() 1202 err = nilfs_segctor_scan_file(sci, sci->sc_root->ifile, in nilfs_segctor_collect_blocks() 1941 struct inode *ifile = sci->sc_root->ifile; in nilfs_segctor_collect_dirty_files() local 1952 ifile, ii->vfs_inode.i_ino, &ibh); in nilfs_segctor_collect_dirty_files() [all …]
|
D | the_nilfs.h | 251 struct inode *ifile; member
|
D | super.c | 535 if (root->ifile) in nilfs_attach_checkpoint() 553 &raw_cp->cp_ifile_inode, &root->ifile); in nilfs_attach_checkpoint() 639 err = nilfs_ifile_count_free_inodes(root->ifile, in nilfs_statfs()
|
D | the_nilfs.c | 787 new->ifile = NULL; in nilfs_find_or_create_root() 817 iput(root->ifile); in nilfs_put_root()
|