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