RTEMS  5.0.0
Variables

RTEMS RFS Device InterfaceThis file contains the set of handlers used to map operations on RFS device nodes onto calls to the RTEMS Classic API IO Manager. More...

#include "rtems-rfs-rtems.h"
#include <rtems/deviceio.h>

Variables

const rtems_filesystem_file_handlers_r rtems_rfs_rtems_device_handlers
 

Detailed Description

RTEMS RFS Device Interface

This file contains the set of handlers used to map operations on RFS device nodes onto calls to the RTEMS Classic API IO Manager.

Variable Documentation

◆ rtems_rfs_rtems_device_handlers

const rtems_filesystem_file_handlers_r rtems_rfs_rtems_device_handlers
Initial value:
= {
.open_h = rtems_rfs_rtems_device_open,
.close_h = rtems_rfs_rtems_device_close,
.read_h = rtems_rfs_rtems_device_read,
.write_h = rtems_rfs_rtems_device_write,
.ioctl_h = rtems_rfs_rtems_device_ioctl,
.ftruncate_h = rtems_rfs_rtems_device_ftruncate,
}
int rtems_filesystem_default_fcntl(rtems_libio_t *iop, int cmd)
Definition: default_fcntl.c:21
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:415
off_t rtems_filesystem_default_lseek_file(rtems_libio_t *iop, off_t offset, int whence)
Default lseek() handler for files.
Definition: default_lseek_file.c:28
int rtems_filesystem_default_fsync_or_fdatasync(rtems_libio_t *iop)
Definition: default_fsync.c:23