RTEMS  5.1
Variables

RTEMS RFS File Handlers. More...

#include <inttypes.h>
#include <string.h>
#include <rtems/rfs/rtems-rfs-file.h>
#include "rtems-rfs-rtems.h"

Variables

const rtems_filesystem_file_handlers_r rtems_rfs_rtems_file_handlers
 

Detailed Description

RTEMS RFS File Handlers.

This file contains the set of handlers used to process operations on RFS file nodes.

Variable Documentation

◆ rtems_rfs_rtems_file_handlers

const rtems_filesystem_file_handlers_r rtems_rfs_rtems_file_handlers
Initial value:
= {
.open_h = rtems_rfs_rtems_file_open,
.close_h = rtems_rfs_rtems_file_close,
.read_h = rtems_rfs_rtems_file_read,
.write_h = rtems_rfs_rtems_file_write,
.lseek_h = rtems_rfs_rtems_file_lseek,
.ftruncate_h = rtems_rfs_rtems_file_ftruncate,
.fdatasync_h = rtems_rfs_rtems_fdatasync,
}
int rtems_filesystem_default_fcntl(rtems_libio_t *iop, int cmd)
Definition: default_fcntl.c:22
int rtems_filesystem_default_mmap(rtems_libio_t *iop, void **addr, size_t len, int prot, off_t off)
Default MMAP handler.
Definition: default_mmap.c:23
int rtems_filesystem_default_kqfilter(rtems_libio_t *iop, struct knote *kn)
Default kernel event filter handler.
Definition: default_kqfilter.c:29
int rtems_filesystem_default_poll(rtems_libio_t *iop, int events)
Default poll handler.
Definition: default_poll.c:31
ssize_t rtems_filesystem_default_readv(rtems_libio_t *iop, const struct iovec *iov, int iovcnt, ssize_t total)
Calls the read handler for each IO vector entry.
Definition: default_readv.c:32
ssize_t rtems_filesystem_default_writev(rtems_libio_t *iop, const struct iovec *iov, int iovcnt, ssize_t total)
Calls the write handler for each IO vector entry.
Definition: default_writev.c:32
int rtems_rfs_rtems_fstat(const rtems_filesystem_location_info_t *pathloc, struct stat *buf)
Definition: rtems-rfs-rtems.c:416
int rtems_rfs_rtems_fdatasync(rtems_libio_t *iop)
Definition: rtems-rfs-rtems.c:593
int rtems_filesystem_default_ioctl(rtems_libio_t *iop, ioctl_command_t request, void *buffer)
Definition: default_ioctl.c:24