Lines Matching defs:inode

32 #include "inode-map.h"
714 struct inode *inode;
718 inode = async->private_data;
733 ret = btrfs_map_bio(btrfs_sb(inode->i_sb), async->bio, async->mirror_num);
816 blk_status_t btrfs_submit_metadata_bio(struct inode *inode, struct bio *bio,
819 struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb);
820 int async = check_async_write(fs_info, BTRFS_I(inode));
844 0, inode, btree_submit_bio_start);
1266 inode_item = &log_root->root_item.inode;
2126 struct inode *inode = fs_info->btree_inode;
2128 inode->i_ino = BTRFS_BTREE_INODE_OBJECTID;
2129 set_nlink(inode, 1);
2131 * we set the i_size on the btree inode to the max possible int.
2135 inode->i_size = OFFSET_MAX;
2136 inode->i_mapping->a_ops = &btree_aops;
2138 RB_CLEAR_NODE(&BTRFS_I(inode)->rb_node);
2139 extent_io_tree_init(fs_info, &BTRFS_I(inode)->io_tree,
2140 IO_TREE_BTREE_INODE_IO, inode);
2141 BTRFS_I(inode)->io_tree.track_uptodate = false;
2142 extent_map_tree_init(&BTRFS_I(inode)->extent_tree);
2144 BTRFS_I(inode)->root = btrfs_grab_root(fs_info->tree_root);
2145 memset(&BTRFS_I(inode)->location, 0, sizeof(struct btrfs_key));
2146 set_bit(BTRFS_INODE_DUMMY, &BTRFS_I(inode)->runtime_flags);
2147 btrfs_insert_inode_hash(inode);
3465 * make sure we're done with the btree inode before we stop our
4150 * but the delayed iput for the respective inode is made only when doing
4173 * There might be existing delayed inode workers still running
4174 * and holding an empty delayed inode item. We must wait for
4257 struct inode *btree_inode = buf->pages[0]->mapping->host;
4535 struct inode *inode = NULL;
4542 * Make sure we get a live inode and that it'll not disappear
4545 inode = igrab(&btrfs_inode->vfs_inode);
4546 if (inode) {
4550 invalidate_inode_pages2(inode->i_mapping);
4552 iput(inode);
4652 struct inode *inode;
4654 inode = cache->io_ctl.inode;
4655 if (inode) {
4659 invalidate_inode_pages2(inode->i_mapping);
4662 BTRFS_I(inode)->generation = 0;
4663 cache->io_ctl.inode = NULL;
4664 iput(inode);