RTEMS CPU Kit with SuperCore  4.10.99.0
Data Structures | Functions | Variables
rtems/devfs.h File Reference

Device Only File System. More...

#include <rtems/libio_.h>
Include dependency graph for devfs.h:

Go to the source code of this file.

Data Structures

struct  devFS_node
 Per Device Node Control Structure. More...
struct  devFS_data

Functions

void devFS_eval_path (rtems_filesystem_eval_path_context_t *ctx)
 Evaluate Path.
int devFS_open (rtems_libio_t *iop, const char *pathname, int oflag, mode_t mode)
 Maps Open Operation to rtems_io_open.
int devFS_close (rtems_libio_t *iop)
 Maps Close Operation to rtems_io_close.
ssize_t devFS_read (rtems_libio_t *iop, void *buffer, size_t count)
 Maps Read Operation to rtems_io_read.
ssize_t devFS_write (rtems_libio_t *iop, const void *buffer, size_t count)
 Writes Operation to rtems_io_write.
int devFS_ioctl (rtems_libio_t *iop, ioctl_command_t command, void *buffer)
 Maps ioctl Operation to rtems_io_ioctl.
int devFS_stat (const rtems_filesystem_location_info_t *loc, struct stat *buf)
 Gets the Device File Information.
rtems_filesystem_node_types_t devFS_node_type (const rtems_filesystem_location_info_t *loc)
 Invoked upon Determination of a Node Type.
int devFS_mknod (const rtems_filesystem_location_info_t *parentloc, const char *name, size_t namelen, mode_t mode, dev_t dev)
 Creates an item in the main device table.
int devFS_initialize (rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
 Creates the Main Device Table.

Variables

const
rtems_filesystem_operations_table 
devFS_ops
 The following defines the device-only filesystem operating operations.
const
rtems_filesystem_file_handlers_r 
devFS_file_handlers
 The following defines the device-only filesystem operating handlers.

Detailed Description

Device Only File System.

This include file contains all constants and structures associated with the 'device-only' filesystem.