RTEMS: cpukit/include/rtems/rtems-rfs-format.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
rtems-rfs-format.h
Go to the documentation of this file.
1
11/*
12 * COPYRIGHT (c) 2010 Chris Johns <chrisj@rtems.org>
13 *
14 * The license and distribution terms for this file may be
15 * found in the file LICENSE in this distribution or at
16 * http://www.rtems.org/license/LICENSE.
17 */
18
19#if !defined (_RTEMS_RFS_FORMAT_H_)
20#define _RTEMS_RFS_FORMAT_H_
21
22#include <stddef.h>
23#include <stdbool.h>
24#include <stdint.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#include <rtems/rfs/rtems-rfs-trace.h>
31
36 typedef struct _rtems_rfs_format_config
37{
41 size_t block_size;
42
46 size_t group_blocks;
47
51 size_t group_inodes;
52
56 int inode_overhead;
57
61 size_t max_name_length;
62
66 bool initialise_inodes;
67
71 bool verbose;
72
73} rtems_rfs_format_config;
74
84int rtems_rfs_format (const char* name, const rtems_rfs_format_config* config);
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif
rtems_rfs_format
int rtems_rfs_format(const char *name, const rtems_rfs_format_config *config)
Definition: rtems-rfs-format.c:540
rtems_rfs_format_config
struct _rtems_rfs_format_config rtems_rfs_format_config
rtems-rfs-trace.h
Manages the Trace and Debugging Features of the RTEMS RFS File System.
_rtems_rfs_format_config
Definition: rtems-rfs-format.h:37
_rtems_rfs_format_config::verbose
bool verbose
Definition: rtems-rfs-format.h:71
_rtems_rfs_format_config::group_inodes
size_t group_inodes
Definition: rtems-rfs-format.h:51
_rtems_rfs_format_config::block_size
size_t block_size
Definition: rtems-rfs-format.h:41
_rtems_rfs_format_config::initialise_inodes
bool initialise_inodes
Definition: rtems-rfs-format.h:66
_rtems_rfs_format_config::max_name_length
size_t max_name_length
Definition: rtems-rfs-format.h:61
_rtems_rfs_format_config::group_blocks
size_t group_blocks
Definition: rtems-rfs-format.h:46
_rtems_rfs_format_config::inode_overhead
int inode_overhead
Definition: rtems-rfs-format.h:56
config_s
Definition: deflate.c:115