RTEMS CPU Kit with SuperCore
4.11.3
|
RTEMS File System Interface for RTEMS. More...
#include <sys/param.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include <rtems/rfs/rtems-rfs-file.h>
#include <rtems/rfs/rtems-rfs-dir.h>
#include <rtems/rfs/rtems-rfs-link.h>
#include "rtems-rfs-rtems.h"
Functions | |
int | rtems_rfs_rtems_fstat (const rtems_filesystem_location_info_t *pathloc, struct stat *buf) |
The following routine does a stat on a node. | |
int | rtems_rfs_rtems_rmnod (const rtems_filesystem_location_info_t *parent_pathloc, const rtems_filesystem_location_info_t *pathloc) |
Routine to remove a node from the RFS file system. More... | |
int | rtems_rfs_rtems_fdatasync (rtems_libio_t *iop) |
The following routine does a sync on an inode node. More... | |
int | rtems_rfs_rtems_initialise (rtems_filesystem_mount_table_entry_t *mt_entry, const void *data) |
Forward decl for the ops table. More... | |
void | rtems_rfs_rtems_shutdown (rtems_filesystem_mount_table_entry_t *mt_entry) |
Shutdown the file system. | |
Variables | |
const rtems_filesystem_file_handlers_r | rtems_rfs_rtems_link_handlers |
Handler table for RFS link nodes. More... | |
const rtems_filesystem_operations_table | rtems_rfs_ops |
RFS file system operations table. More... | |
RTEMS File System Interface for RTEMS.
int rtems_rfs_rtems_fdatasync | ( | rtems_libio_t * | iop | ) |
The following routine does a sync on an inode node.
Currently it flushes everything related to this device.
iop |
References rtems_rfs_buffer_sync(), rtems_rfs_rtems_error, and rtems_rfs_rtems_pathloc_dev.
int rtems_rfs_rtems_rmnod | ( | const rtems_filesystem_location_info_t * | parent_pathloc, |
const rtems_filesystem_location_info_t * | pathloc | ||
) |
Routine to remove a node from the RFS file system.
parent_pathloc | |
pathloc |
References rtems_rfs_rtems_get_pathloc_doff, rtems_rfs_rtems_get_pathloc_ino, rtems_rfs_rtems_pathloc_dev, and rtems_rfs_rtems_trace.
const rtems_filesystem_operations_table rtems_rfs_ops |
RFS file system operations table.
const rtems_filesystem_file_handlers_r rtems_rfs_rtems_link_handlers |
Handler table for RFS link nodes.