inode-map.h 568 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef BTRFS_INODE_MAP_H
  3. #define BTRFS_INODE_MAP_H
  4. void btrfs_init_free_ino_ctl(struct btrfs_root *root);
  5. void btrfs_unpin_free_ino(struct btrfs_root *root);
  6. void btrfs_return_ino(struct btrfs_root *root, u64 objectid);
  7. int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid);
  8. int btrfs_save_ino_cache(struct btrfs_root *root,
  9. struct btrfs_trans_handle *trans);
  10. int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid);
  11. int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid);
  12. #endif