^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #ifndef BTRFS_INODE_MAP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #define BTRFS_INODE_MAP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) void btrfs_init_free_ino_ctl(struct btrfs_root *root);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) void btrfs_unpin_free_ino(struct btrfs_root *root);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) void btrfs_return_ino(struct btrfs_root *root, u64 objectid);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) int btrfs_save_ino_cache(struct btrfs_root *root,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct btrfs_trans_handle *trans);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #endif