Lines Matching refs:inode

26 	struct inode *inode;  member
54 static inline struct nilfs_mdt_info *NILFS_MDT(const struct inode *inode) in NILFS_MDT() argument
56 return inode->i_private; in NILFS_MDT()
59 static inline int nilfs_is_metadata_file_inode(const struct inode *inode) in nilfs_is_metadata_file_inode() argument
61 return inode->i_private != NULL; in nilfs_is_metadata_file_inode()
67 int nilfs_mdt_get_block(struct inode *, unsigned long, int,
68 void (*init_block)(struct inode *,
71 int nilfs_mdt_find_block(struct inode *inode, unsigned long start,
74 int nilfs_mdt_delete_block(struct inode *, unsigned long);
75 int nilfs_mdt_forget_block(struct inode *, unsigned long);
76 int nilfs_mdt_fetch_dirty(struct inode *);
78 int nilfs_mdt_init(struct inode *inode, gfp_t gfp_mask, size_t objsz);
79 void nilfs_mdt_clear(struct inode *inode);
80 void nilfs_mdt_destroy(struct inode *inode);
82 void nilfs_mdt_set_entry_size(struct inode *, unsigned int, unsigned int);
84 int nilfs_mdt_setup_shadow_map(struct inode *inode,
86 int nilfs_mdt_save_to_shadow_map(struct inode *inode);
87 void nilfs_mdt_restore_from_shadow_map(struct inode *inode);
88 void nilfs_mdt_clear_shadow_map(struct inode *inode);
89 int nilfs_mdt_freeze_buffer(struct inode *inode, struct buffer_head *bh);
90 struct buffer_head *nilfs_mdt_get_frozen_buffer(struct inode *inode,
93 static inline void nilfs_mdt_mark_dirty(struct inode *inode) in nilfs_mdt_mark_dirty() argument
95 if (!test_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state)) in nilfs_mdt_mark_dirty()
96 set_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_mark_dirty()
99 static inline void nilfs_mdt_clear_dirty(struct inode *inode) in nilfs_mdt_clear_dirty() argument
101 clear_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_clear_dirty()
104 static inline __u64 nilfs_mdt_cno(struct inode *inode) in nilfs_mdt_cno() argument
106 return ((struct the_nilfs *)inode->i_sb->s_fs_info)->ns_cno; in nilfs_mdt_cno()
110 nilfs_mdt_bgl_lock(struct inode *inode, unsigned int block_group) in nilfs_mdt_bgl_lock() argument
112 return bgl_lock_ptr(NILFS_MDT(inode)->mi_bgl, block_group); in nilfs_mdt_bgl_lock()