Contributors: 12
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Josef Whiter |
99 |
50.77% |
4 |
13.33% |
Josef Bacik |
25 |
12.82% |
3 |
10.00% |
Chris Mason |
19 |
9.74% |
4 |
13.33% |
Zheng Yan |
14 |
7.18% |
2 |
6.67% |
Qu Wenruo |
10 |
5.13% |
2 |
6.67% |
David Sterba |
9 |
4.62% |
4 |
13.33% |
Nikolay Borisov |
8 |
4.10% |
6 |
20.00% |
Filipe David Borba Manana |
6 |
3.08% |
1 |
3.33% |
Naohiro Aota |
2 |
1.03% |
1 |
3.33% |
Jeff Mahoney |
1 |
0.51% |
1 |
3.33% |
Stefan Behrens |
1 |
0.51% |
1 |
3.33% |
Arne Jansen |
1 |
0.51% |
1 |
3.33% |
Total |
195 |
|
30 |
|
/* 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_inode *inode, 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);
void btrfs_delalloc_shrink_extents(struct btrfs_inode *inode, u64 reserved_len, u64 new_len);
#endif /* BTRFS_DELALLOC_SPACE_H */