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