cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

delalloc-space.h (950B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2
      3#ifndef BTRFS_DELALLOC_SPACE_H
      4#define BTRFS_DELALLOC_SPACE_H
      5
      6struct extent_changeset;
      7
      8int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes);
      9int btrfs_check_data_free_space(struct btrfs_inode *inode,
     10			struct extent_changeset **reserved, u64 start, u64 len);
     11void btrfs_free_reserved_data_space(struct btrfs_inode *inode,
     12			struct extent_changeset *reserved, u64 start, u64 len);
     13void btrfs_delalloc_release_space(struct btrfs_inode *inode,
     14				  struct extent_changeset *reserved,
     15				  u64 start, u64 len, bool qgroup_free);
     16void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info,
     17					    u64 len);
     18void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
     19				     bool qgroup_free);
     20int btrfs_delalloc_reserve_space(struct btrfs_inode *inode,
     21			struct extent_changeset **reserved, u64 start, u64 len);
     22
     23#endif /* BTRFS_DELALLOC_SPACE_H */