Blame view

fs/btrfs/delalloc-space.h 950 Bytes
867363429   Josef Bacik   btrfs: migrate th...
1
2
3
4
5
6
7
8
  /* 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);
36ea6f3e9   Nikolay Borisov   btrfs: make btrfs...
9
  int btrfs_check_data_free_space(struct btrfs_inode *inode,
867363429   Josef Bacik   btrfs: migrate th...
10
  			struct extent_changeset **reserved, u64 start, u64 len);
25ce28caa   Nikolay Borisov   btrfs: make btrfs...
11
  void btrfs_free_reserved_data_space(struct btrfs_inode *inode,
867363429   Josef Bacik   btrfs: migrate th...
12
  			struct extent_changeset *reserved, u64 start, u64 len);
86d52921a   Nikolay Borisov   btrfs: make btrfs...
13
  void btrfs_delalloc_release_space(struct btrfs_inode *inode,
867363429   Josef Bacik   btrfs: migrate th...
14
15
  				  struct extent_changeset *reserved,
  				  u64 start, u64 len, bool qgroup_free);
9db5d510a   Nikolay Borisov   btrfs: make btrfs...
16
  void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info,
867363429   Josef Bacik   btrfs: migrate th...
17
18
19
  					    u64 len);
  void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
  				     bool qgroup_free);
e5b7231e2   Nikolay Borisov   btrfs: make btrfs...
20
  int btrfs_delalloc_reserve_space(struct btrfs_inode *inode,
867363429   Josef Bacik   btrfs: migrate th...
21
22
23
  			struct extent_changeset **reserved, u64 start, u64 len);
  
  #endif /* BTRFS_DELALLOC_SPACE_H */