Lines Matching refs:inode
85 struct inode *inode; /* inode being written out */ member
199 void inode_wait_for_writeback(struct inode *inode);
200 void inode_io_list_del(struct inode *inode);
203 static inline void wait_on_inode(struct inode *inode) in wait_on_inode() argument
206 wait_on_bit(&inode->i_state, __I_NEW, TASK_UNINTERRUPTIBLE); in wait_on_inode()
214 void __inode_attach_wb(struct inode *inode, struct page *page);
216 struct inode *inode)
217 __releases(&inode->i_lock);
235 static inline void inode_attach_wb(struct inode *inode, struct page *page) in inode_attach_wb() argument
237 if (!inode->i_wb) in inode_attach_wb()
238 __inode_attach_wb(inode, page); in inode_attach_wb()
247 static inline void inode_detach_wb(struct inode *inode) in inode_detach_wb() argument
249 if (inode->i_wb) { in inode_detach_wb()
250 WARN_ON_ONCE(!(inode->i_state & I_CLEAR)); in inode_detach_wb()
251 wb_put(inode->i_wb); in inode_detach_wb()
252 inode->i_wb = NULL; in inode_detach_wb()
266 struct inode *inode) in wbc_attach_fdatawrite_inode() argument
268 spin_lock(&inode->i_lock); in wbc_attach_fdatawrite_inode()
269 inode_attach_wb(inode, NULL); in wbc_attach_fdatawrite_inode()
270 wbc_attach_and_unlock_inode(wbc, inode); in wbc_attach_fdatawrite_inode()
297 static inline void inode_attach_wb(struct inode *inode, struct page *page) in inode_attach_wb() argument
301 static inline void inode_detach_wb(struct inode *inode) in inode_detach_wb() argument
306 struct inode *inode) in wbc_attach_and_unlock_inode() argument
307 __releases(&inode->i_lock) in wbc_attach_and_unlock_inode()
309 spin_unlock(&inode->i_lock); in wbc_attach_and_unlock_inode()
313 struct inode *inode) in wbc_attach_fdatawrite_inode() argument
398 void sb_mark_inode_writeback(struct inode *inode);
399 void sb_clear_inode_writeback(struct inode *inode);