Lines Matching refs:inode
213 * initializes [sb], initializes root inode and dentry.
221 struct inode *iroot;
251 LogRelFunc(("could not allocate memory for root inode info\n"));
260 LogRelFunc(("could not allocate memory for root inode path\n"));
303 LogFunc(("could not get root inode\n"));
378 /* this is called when vfs is about to destroy the [inode]. all
379 resources associated with this [inode] must be cleared here */
381 static void sf_clear_inode(struct inode *inode)
386 sf_i = GET_INODE_INFO(inode);
393 SET_INODE_INFO(inode, NULL);
396 static void sf_evict_inode(struct inode *inode)
401 truncate_inode_pages(&inode->i_data, 0);
403 clear_inode(inode);
405 end_writeback(inode);
408 sf_i = GET_INODE_INFO(inode);
415 SET_INODE_INFO(inode, NULL);
419 /* this is called by vfs when it wants to populate [inode] with data.
420 the only thing that is known about inode at this point is its index
422 job to properly fill then [inode] */
424 static void sf_read_inode(struct inode *inode)
459 struct inode *iroot;