Contributors: 9
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Josef Whiter |
93 |
54.71% |
3 |
12.50% |
Josef Bacik |
26 |
15.29% |
3 |
12.50% |
Chris Mason |
19 |
11.18% |
4 |
16.67% |
Zheng Yan |
12 |
7.06% |
2 |
8.33% |
Nikolay Borisov |
9 |
5.29% |
7 |
29.17% |
Filipe David Borba Manana |
6 |
3.53% |
1 |
4.17% |
David Sterba |
3 |
1.76% |
2 |
8.33% |
Arne Jansen |
1 |
0.59% |
1 |
4.17% |
Jeff Mahoney |
1 |
0.59% |
1 |
4.17% |
Total |
170 |
|
24 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef BTRFS_DELALLOC_SPACE_H
#define BTRFS_DELALLOC_SPACE_H
struct extent_changeset;
int btrfs_alloc_data_chunk_ondemand(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 */