Contributors: 11
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Josef Whiter |
94 |
52.22% |
4 |
13.79% |
Josef Bacik |
25 |
13.89% |
3 |
10.34% |
Chris Mason |
19 |
10.56% |
4 |
13.79% |
Zheng Yan |
14 |
7.78% |
2 |
6.90% |
Nikolay Borisov |
9 |
5.00% |
7 |
24.14% |
David Sterba |
9 |
5.00% |
4 |
13.79% |
Filipe David Borba Manana |
6 |
3.33% |
1 |
3.45% |
Qu Wenruo |
1 |
0.56% |
1 |
3.45% |
Stefan Behrens |
1 |
0.56% |
1 |
3.45% |
Jeff Mahoney |
1 |
0.56% |
1 |
3.45% |
Arne Jansen |
1 |
0.56% |
1 |
3.45% |
Total |
180 |
|
29 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef BTRFS_DELALLOC_SPACE_H
#define BTRFS_DELALLOC_SPACE_H
#include <linux/types.h>
struct extent_changeset;
struct btrfs_inode;
struct btrfs_fs_info;
int btrfs_alloc_data_chunk_ondemand(const struct btrfs_inode *inode, u64 bytes);
int btrfs_check_data_free_space(struct btrfs_inode *inode,
struct extent_changeset **reserved, u64 start, u64 len,
bool noflush);
void btrfs_free_reserved_data_space(struct btrfs_inode *inode,
struct extent_changeset *reserved, u64 start, u64 len);
void btrfs_delalloc_release_space(struct btrfs_inode *inode,
struct extent_changeset *reserved,
u64 start, u64 len, bool qgroup_free);
void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info,
u64 len);
void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
bool qgroup_free);
int btrfs_delalloc_reserve_space(struct btrfs_inode *inode,
struct extent_changeset **reserved, u64 start, u64 len);
int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes,
u64 disk_num_bytes, bool noflush);
void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes);
#endif /* BTRFS_DELALLOC_SPACE_H */