]> git.ipfire.org Git - thirdparty/u-boot.git/blame - include/btrfs.h
Merge branch 'net' of git://git.denx.de/u-boot-socfpga
[thirdparty/u-boot.git] / include / btrfs.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
0c936ee3
MB
2/*
3 * BTRFS filesystem implementation for U-Boot
4 *
5 * 2017 Marek Behun, CZ.NIC, marek.behun@nic.cz
0c936ee3
MB
6 */
7
8#ifndef __U_BOOT_BTRFS_H__
9#define __U_BOOT_BTRFS_H__
10
e6f6f9e6
SG
11struct blk_desc;
12struct disk_partition;
13
0528979f
SG
14int btrfs_probe(struct blk_desc *fs_dev_desc,
15 struct disk_partition *fs_partition);
0c936ee3
MB
16int btrfs_ls(const char *);
17int btrfs_exists(const char *);
18int btrfs_size(const char *, loff_t *);
19int btrfs_read(const char *, void *, loff_t, loff_t, loff_t *);
20void btrfs_close(void);
21int btrfs_uuid(char *);
22void btrfs_list_subvols(void);
23
24#endif /* __U_BOOT_BTRFS_H__ */