2022-10-26 12:08:28 -07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
|
|
|
#ifndef BTRFS_UUID_TREE_H
|
|
|
|
#define BTRFS_UUID_TREE_H
|
|
|
|
|
2024-01-26 16:53:06 -07:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
struct btrfs_trans_handle;
|
|
|
|
struct btrfs_fs_info;
|
|
|
|
|
2024-05-30 10:14:12 -07:00
|
|
|
int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type,
|
2022-10-26 12:08:28 -07:00
|
|
|
u64 subid);
|
2024-05-30 10:14:12 -07:00
|
|
|
int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type,
|
2022-10-26 12:08:28 -07:00
|
|
|
u64 subid);
|
|
|
|
int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
|
2024-07-23 21:59:02 -07:00
|
|
|
int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info);
|
|
|
|
int btrfs_uuid_scan_kthread(void *data);
|
2022-10-26 12:08:28 -07:00
|
|
|
|
|
|
|
#endif
|