blob: 7390975ea74b1ffeed29e0a4760160c5b43e772b [file] [log] [blame]
Marek BehĂșn0c936ee2017-09-03 17:00:29 +02001/*
2 * BTRFS filesystem implementation for U-Boot
3 *
4 * 2017 Marek Behun, CZ.NIC, marek.behun@nic.cz
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#ifndef __U_BOOT_BTRFS_H__
10#define __U_BOOT_BTRFS_H__
11
12int btrfs_probe(struct blk_desc *, disk_partition_t *);
13int btrfs_ls(const char *);
14int btrfs_exists(const char *);
15int btrfs_size(const char *, loff_t *);
16int btrfs_read(const char *, void *, loff_t, loff_t, loff_t *);
17void btrfs_close(void);
18int btrfs_uuid(char *);
19void btrfs_list_subvols(void);
20
21#endif /* __U_BOOT_BTRFS_H__ */