Contributors: 16
| Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
| Chris Mason |
115 |
48.12% |
9 |
27.27% |
| Miao Xie |
30 |
12.55% |
2 |
6.06% |
| Zheng Yan |
28 |
11.72% |
4 |
12.12% |
| Josef Whiter |
20 |
8.37% |
1 |
3.03% |
| Omar Sandoval |
9 |
3.77% |
2 |
6.06% |
| Josef Bacik |
8 |
3.35% |
1 |
3.03% |
| Li Zefan |
6 |
2.51% |
1 |
3.03% |
| Jeff Mahoney |
5 |
2.09% |
3 |
9.09% |
| Sweet Tea Dorminy |
4 |
1.67% |
2 |
6.06% |
| Eric Sandeen |
3 |
1.26% |
1 |
3.03% |
| Alexander Block |
3 |
1.26% |
1 |
3.03% |
| Boris Burkov |
2 |
0.84% |
2 |
6.06% |
| Sage Weil |
2 |
0.84% |
1 |
3.03% |
| Qu Wenruo |
2 |
0.84% |
1 |
3.03% |
| Mark Fasheh |
1 |
0.42% |
1 |
3.03% |
| David Sterba |
1 |
0.42% |
1 |
3.03% |
| Total |
239 |
|
33 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef BTRFS_ROOT_TREE_H
#define BTRFS_ROOT_TREE_H
int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
struct btrfs_block_rsv *rsv,
int nitems, bool use_global_rsv);
void btrfs_subvolume_release_metadata(struct btrfs_root *root,
struct btrfs_block_rsv *rsv);
int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
u64 ref_id, u64 dirid, u64 sequence,
const struct fscrypt_str *name);
int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
u64 ref_id, u64 dirid, u64 *sequence,
const struct fscrypt_str *name);
int btrfs_del_root(struct btrfs_trans_handle *trans, const struct btrfs_key *key);
int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
const struct btrfs_key *key,
struct btrfs_root_item *item);
int __must_check btrfs_update_root(struct btrfs_trans_handle *trans,
struct btrfs_root *root,
struct btrfs_key *key,
struct btrfs_root_item *item);
int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
struct btrfs_path *path, struct btrfs_root_item *root_item,
struct btrfs_key *root_key);
int btrfs_find_orphan_roots(struct btrfs_fs_info *fs_info);
void btrfs_set_root_node(struct btrfs_root_item *item,
struct extent_buffer *node);
void btrfs_check_and_init_root_item(struct btrfs_root_item *item);
void btrfs_update_root_times(struct btrfs_trans_handle *trans, struct btrfs_root *root);
#endif