mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 04:48:52 +09:00
![Marek Behún](/assets/img/avatar_default.png)
Signed-off-by: Marek Behun <marek.behun@nic.cz> create mode 100644 fs/btrfs/Kconfig create mode 100644 fs/btrfs/Makefile create mode 100644 fs/btrfs/btrfs.c create mode 100644 include/btrfs.h
22 lines
532 B
C
22 lines
532 B
C
/*
|
|
* BTRFS filesystem implementation for U-Boot
|
|
*
|
|
* 2017 Marek Behun, CZ.NIC, marek.behun@nic.cz
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __U_BOOT_BTRFS_H__
|
|
#define __U_BOOT_BTRFS_H__
|
|
|
|
int btrfs_probe(struct blk_desc *, disk_partition_t *);
|
|
int btrfs_ls(const char *);
|
|
int btrfs_exists(const char *);
|
|
int btrfs_size(const char *, loff_t *);
|
|
int btrfs_read(const char *, void *, loff_t, loff_t, loff_t *);
|
|
void btrfs_close(void);
|
|
int btrfs_uuid(char *);
|
|
void btrfs_list_subvols(void);
|
|
|
|
#endif /* __U_BOOT_BTRFS_H__ */
|