All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 
22 #ifndef FS_LWEXT4_FS_H
23 #define FS_LWEXT4_FS_H
24 
25 #include <stdalign.h>
26 
27 #include "vfs.h"
28 #include "mtd.h"
29 #include "mutex.h"
30 #include "ext4.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
39 typedef struct {
40  struct ext4_mountpoint mp;
41  struct ext4_blockdev bdev;
42  struct ext4_blockdev_iface iface;
47 
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* FS_LWEXT4_FS_H */
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:39
mutex_t lock
mutex
Definition: lwext4_fs.h:45
mtd_dev_t * dev
mtd device to use
Definition: lwext4_fs.h:44
MTD device descriptor.
Definition: mtd.h:112
Mutex structure.
Definition: mutex.h:146
A file system driver.
Definition: vfs.h:375