Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
581bb050 LZ |
2 | #ifndef __BTRFS_INODE_MAP |
3 | #define __BTRFS_INODE_MAP | |
4 | ||
5 | void btrfs_init_free_ino_ctl(struct btrfs_root *root); | |
6 | void btrfs_unpin_free_ino(struct btrfs_root *root); | |
7 | void btrfs_return_ino(struct btrfs_root *root, u64 objectid); | |
8 | int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid); | |
82d5902d LZ |
9 | int btrfs_save_ino_cache(struct btrfs_root *root, |
10 | struct btrfs_trans_handle *trans); | |
581bb050 LZ |
11 | |
12 | int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid); | |
f32e48e9 | 13 | int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid); |
581bb050 LZ |
14 | |
15 | #endif |