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