RTEMS: cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Variables
rtems-rfs-rtems-dir.c File Reference
IO Library » File System Types and Mount » RTEMS File System Group Management

RTEMS RFS Directory Access Routines. More...

`#include <inttypes.h>`
`#include <sys/types.h>`
`#include <sys/stat.h>`
`#include <fcntl.h>`
`#include <stdlib.h>`
`#include <stdio.h>`
`#include <unistd.h>`
`#include <rtems/rfs/rtems-rfs-dir.h>`
`#include <rtems/rfs/rtems-rfs-link.h>`
`#include "rtems-rfs-rtems.h"`

## Variables
const rtems_filesystem_file_handlers_r | rtems_rfs_rtems_dir_handlers

## Detailed Description

RTEMS RFS Directory Access Routines.

## Variable Documentation

## ◆ rtems_rfs_rtems_dir_handlers

const rtems_filesystem_file_handlers_r rtems_rfs_rtems_dir_handlers

Initial value:
= {
.open_h = rtems_rfs_rtems_dir_open,
.close_h = rtems_rfs_rtems_dir_close,
.read_h = rtems_rfs_rtems_dir_read,
.write_h = rtems_filesystem_default_write,
.ioctl_h = rtems_filesystem_default_ioctl,
.lseek_h = rtems_filesystem_default_lseek_directory,
.fstat_h = rtems_rfs_rtems_fstat,
.ftruncate_h = rtems_filesystem_default_ftruncate_directory,
.fsync_h = rtems_filesystem_default_fsync_or_fdatasync,
.fdatasync_h = rtems_rfs_rtems_fdatasync,
.fcntl_h = rtems_filesystem_default_fcntl,
.kqfilter_h = rtems_filesystem_default_kqfilter,
.mmap_h = rtems_filesystem_default_mmap,
.poll_h = rtems_filesystem_default_poll,
.readv_h = rtems_filesystem_default_readv,
.writev_h = rtems_filesystem_default_writev
}
rtems_filesystem_default_fcntl
int rtems_filesystem_default_fcntl(rtems_libio_t *iop, int cmd)
Definition: default_fcntl.c:22
rtems_filesystem_default_ftruncate_directory
int rtems_filesystem_default_ftruncate_directory(rtems_libio_t *iop, off_t length)
Definition: default_ftruncate_directory.c:30
rtems_filesystem_default_lseek_directory
off_t rtems_filesystem_default_lseek_directory(rtems_libio_t *iop, off_t offset, int whence)
An offset 0 with a whence of SEEK_SET will perform a directory rewind operation.
Definition: default_lseek_directory.c:29
rtems_filesystem_default_ioctl
int rtems_filesystem_default_ioctl(rtems_libio_t *iop, ioctl_command_t request, void *buffer)
Definition: default_ioctl.c:24
rtems_filesystem_default_poll
int rtems_filesystem_default_poll(rtems_libio_t *iop, int events)
Default poll handler.
Definition: default_poll.c:31
rtems_filesystem_default_fsync_or_fdatasync
int rtems_filesystem_default_fsync_or_fdatasync(rtems_libio_t *iop)
Definition: default_fsync.c:24
rtems_filesystem_default_kqfilter
int rtems_filesystem_default_kqfilter(rtems_libio_t *iop, struct knote *kn)
Default kernel event filter handler.
Definition: default_kqfilter.c:29
rtems_filesystem_default_writev
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
rtems_filesystem_default_readv
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
rtems_filesystem_default_mmap
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
rtems_filesystem_default_write
ssize_t rtems_filesystem_default_write(rtems_libio_t *iop, const void *buffer, size_t count)
Definition: default_write.c:22
rtems_rfs_rtems_fstat
int rtems_rfs_rtems_fstat(const rtems_filesystem_location_info_t *pathloc, struct stat *buf)
Definition: rtems-rfs-rtems.c:416
rtems_rfs_rtems_fdatasync
int rtems_rfs_rtems_fdatasync(rtems_libio_t *iop)
Definition: rtems-rfs-rtems.c:593

The handlers.