Lines Matching refs:btrfs_inode
306 static int fiemap_next_leaf_item(struct btrfs_inode *inode, struct btrfs_path *path) in fiemap_next_leaf_item()
369 static int fiemap_search_slot(struct btrfs_inode *inode, struct btrfs_path *path, in fiemap_search_slot()
436 static int fiemap_process_hole(struct btrfs_inode *inode, in fiemap_process_hole()
554 static int fiemap_find_last_extent_offset(struct btrfs_inode *inode, in fiemap_find_last_extent_offset()
630 static int extent_fiemap(struct btrfs_inode *inode, in extent_fiemap()
884 struct btrfs_inode *btrfs_inode = BTRFS_I(inode); in btrfs_fiemap() local
905 ret = btrfs_wait_ordered_range(btrfs_inode, 0, LLONG_MAX); in btrfs_fiemap()
910 btrfs_inode_lock(btrfs_inode, BTRFS_ILOCK_SHARED); in btrfs_fiemap()
919 ret = btrfs_wait_ordered_range(btrfs_inode, 0, LLONG_MAX); in btrfs_fiemap()
921 btrfs_inode_unlock(btrfs_inode, BTRFS_ILOCK_SHARED); in btrfs_fiemap()
926 ret = extent_fiemap(btrfs_inode, fieinfo, start, len); in btrfs_fiemap()
927 btrfs_inode_unlock(btrfs_inode, BTRFS_ILOCK_SHARED); in btrfs_fiemap()