Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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;
44
mtd_dev_t
*
dev
;
45
mutex_t
lock
;
46
}
lwext4_desc_t
;
47
51
extern
const
vfs_file_system_t
lwext4_file_system
;
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#endif
/* FS_LWEXT4_FS_H */
lwext4_file_system
const vfs_file_system_t lwext4_file_system
The littlefs vfs driver.
mutex.h
Mutex for thread synchronization.
lwext4_desc_t
lwext4 descriptor for vfs integration
Definition
lwext4_fs.h:39
lwext4_desc_t::lock
mutex_t lock
mutex
Definition
lwext4_fs.h:45
lwext4_desc_t::dev
mtd_dev_t * dev
mtd device to use
Definition
lwext4_fs.h:44
mtd_dev_t
MTD device descriptor.
Definition
mtd.h:112
mutex_t
Mutex structure.
Definition
mutex.h:146
vfs_file_system_t
A file system driver.
Definition
vfs.h:375
Generated on Sat Nov 23 2024 19:57:24 by
1.9.8