backref.h (ef8c029fa793423439e67ef0416b220d3fa3321a) backref.h (96b5bd777118bb673b458b41bbefc7f0f31d65c9)
1/*
2 * Copyright (C) 2011 STRATO. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 48 unchanged lines hidden (view full) ---

57int paths_from_inode(u64 inum, struct inode_fs_paths *ipath);
58
59int btrfs_find_all_roots(struct btrfs_trans_handle *trans,
60 struct btrfs_fs_info *fs_info, u64 bytenr,
61 u64 time_seq, struct ulist **roots);
62char *btrfs_iref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
63 struct btrfs_inode_ref *iref, struct extent_buffer *eb,
64 u64 parent, char *dest, u32 size);
1/*
2 * Copyright (C) 2011 STRATO. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 48 unchanged lines hidden (view full) ---

57int paths_from_inode(u64 inum, struct inode_fs_paths *ipath);
58
59int btrfs_find_all_roots(struct btrfs_trans_handle *trans,
60 struct btrfs_fs_info *fs_info, u64 bytenr,
61 u64 time_seq, struct ulist **roots);
62char *btrfs_iref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
63 struct btrfs_inode_ref *iref, struct extent_buffer *eb,
64 u64 parent, char *dest, u32 size);
65char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
66 u32 name_len, unsigned long name_off,
67 struct extent_buffer *eb_in, u64 parent,
68 char *dest, u32 size);
65
66struct btrfs_data_container *init_data_container(u32 total_bytes);
67struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
68 struct btrfs_path *path);
69void free_ipath(struct inode_fs_paths *ipath);
70
71int btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid,
72 u64 start_off, struct btrfs_path *path,
73 struct btrfs_inode_extref **ret_extref,
74 u64 *found_off);
75
76#endif
69
70struct btrfs_data_container *init_data_container(u32 total_bytes);
71struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
72 struct btrfs_path *path);
73void free_ipath(struct inode_fs_paths *ipath);
74
75int btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid,
76 u64 start_off, struct btrfs_path *path,
77 struct btrfs_inode_extref **ret_extref,
78 u64 *found_off);
79
80#endif