Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Marek BehĂșn | 98ec1d1 | 2017-09-03 17:00:29 +0200 | [diff] [blame] | 2 | /* |
| 3 | * BTRFS filesystem implementation for U-Boot |
| 4 | * |
| 5 | * 2017 Marek Behun, CZ.NIC, marek.behun@nic.cz |
Marek BehĂșn | 98ec1d1 | 2017-09-03 17:00:29 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __U_BOOT_BTRFS_H__ |
| 9 | #define __U_BOOT_BTRFS_H__ |
| 10 | |
| 11 | int btrfs_probe(struct blk_desc *, disk_partition_t *); |
| 12 | int btrfs_ls(const char *); |
| 13 | int btrfs_exists(const char *); |
| 14 | int btrfs_size(const char *, loff_t *); |
| 15 | int btrfs_read(const char *, void *, loff_t, loff_t, loff_t *); |
| 16 | void btrfs_close(void); |
| 17 | int btrfs_uuid(char *); |
| 18 | void btrfs_list_subvols(void); |
| 19 | |
| 20 | #endif /* __U_BOOT_BTRFS_H__ */ |