lwext4_fs.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 ML!PA Consulting GmbH
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
24 #include <stdalign.h>
25 
26 #include "vfs.h"
27 #include "mtd.h"
28 #include "mutex.h"
29 #include "ext4.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
38 typedef struct {
39  struct ext4_mountpoint mp;
40  struct ext4_blockdev bdev;
41  struct ext4_blockdev_iface iface;
46 
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
const vfs_file_system_t lwext4_file_system
The littlefs vfs driver.
Mutex for thread synchronization.
lwext4 descriptor for vfs integration
Definition: lwext4_fs.h:38
mutex_t lock
mutex
Definition: lwext4_fs.h:44
mtd_dev_t * dev
mtd device to use
Definition: lwext4_fs.h:43
MTD device descriptor.
Definition: mtd.h:111
Mutex structure.
Definition: mutex.h:39
A file system driver.
Definition: vfs.h:374