Loading...
Searching...
No Matches
lwext4_fs.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 ML!PA Consulting GmbH
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
20
21#include <stdalign.h>
22
23#include "vfs.h"
24#include "mtd.h"
25#include "mutex.h"
26#include "ext4.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
35typedef struct {
36 struct ext4_mountpoint mp;
37 struct ext4_blockdev bdev;
38 struct ext4_blockdev_iface iface;
39
43
48
49#ifdef __cplusplus
50}
51#endif
52
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:35
struct ext4_blockdev bdev
lwext4 block device struct
Definition lwext4_fs.h:37
mutex_t lock
mutex
Definition lwext4_fs.h:41
mtd_dev_t * dev
mtd device to use
Definition lwext4_fs.h:40
struct ext4_blockdev_iface iface
lwext4 block device interface
Definition lwext4_fs.h:38
struct ext4_mountpoint mp
lwext4 mountpoint struct
Definition lwext4_fs.h:36
MTD device descriptor.
Definition mtd.h:108
Mutex structure.
Definition mutex.h:36
A file system driver.
Definition vfs.h:389