Contributors: 18
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Chris Mason |
130 |
51.18% |
9 |
25.00% |
Miao Xie |
24 |
9.45% |
2 |
5.56% |
Zheng Yan |
20 |
7.87% |
3 |
8.33% |
Josef Whiter |
19 |
7.48% |
2 |
5.56% |
David Sterba |
12 |
4.72% |
2 |
5.56% |
Johannes Thumshirn |
10 |
3.94% |
1 |
2.78% |
Jeff Mahoney |
7 |
2.76% |
3 |
8.33% |
Li Zefan |
6 |
2.36% |
1 |
2.78% |
Josef Bacik |
5 |
1.97% |
1 |
2.78% |
Sweet Tea Dorminy |
4 |
1.57% |
2 |
5.56% |
Eric Sandeen |
3 |
1.18% |
1 |
2.78% |
Omar Sandoval |
3 |
1.18% |
1 |
2.78% |
Alexander Block |
3 |
1.18% |
1 |
2.78% |
Ilya Dryomov |
2 |
0.79% |
2 |
5.56% |
Sage Weil |
2 |
0.79% |
1 |
2.78% |
Boris Burkov |
2 |
0.79% |
2 |
5.56% |
Mark Fasheh |
1 |
0.39% |
1 |
2.78% |
Qu Wenruo |
1 |
0.39% |
1 |
2.78% |
Total |
254 |
|
36 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef BTRFS_ROOT_TREE_H
#define BTRFS_ROOT_TREE_H
#include <linux/types.h>
struct fscrypt_str;
struct extent_buffer;
struct btrfs_key;
struct btrfs_root;
struct btrfs_root_item;
struct btrfs_path;
struct btrfs_fs_info;
struct btrfs_block_rsv;
struct btrfs_trans_handle;
int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
struct btrfs_block_rsv *rsv,
int nitems, bool use_global_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 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