RTEMS  5.0.0
Data Structures | Functions | Variables
devfs.h File Reference

Device Only File System. More...

#include <rtems/libio_.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. More...
 
int devFS_close (rtems_libio_t *iop)
 Maps Close Operation to rtems_io_close. More...
 
ssize_t devFS_read (rtems_libio_t *iop, void *buffer, size_t count)
 Maps Read Operation to rtems_io_read. More...
 
ssize_t devFS_write (rtems_libio_t *iop, const void *buffer, size_t count)
 Writes Operation to rtems_io_write. More...
 
int devFS_ioctl (rtems_libio_t *iop, ioctl_command_t command, void *buffer)
 Maps ioctl Operation to rtems_io_ioctl. More...
 
int devFS_stat (const rtems_filesystem_location_info_t *loc, struct stat *buf)
 Gets the Device File Information. More...
 
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. More...
 
int devFS_initialize (rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
 Creates the Main Device Table. More...
 
void devFS_Show (void)
 Retrieves and Prints all the Device Registered in System. More...
 

Variables

const rtems_filesystem_operations_table devFS_ops
 
const rtems_filesystem_file_handlers_r devFS_file_handlers
 

Detailed Description

Device Only File System.

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