Loading...
Searching...
No Matches
devfs Struct Reference

A device "file" consists of a file name and an opaque pointer to device driver private data. More...

Detailed Description

A device "file" consists of a file name and an opaque pointer to device driver private data.

The file system is implemented as a linked list.

Definition at line 45 of file devfs.h.

#include <devfs.h>

Data Fields

clist_node_t list_entry
 List item entry.
 
const char * path
 File system relative path to this node.
 
const vfs_file_ops_tf_op
 Pointer to file operations table for this device.
 
void * private_data
 Pointer to device driver specific data.
 

Field Documentation

◆ f_op

const vfs_file_ops_t* devfs::f_op

Pointer to file operations table for this device.

Definition at line 48 of file devfs.h.

◆ list_entry

clist_node_t devfs::list_entry

List item entry.

Definition at line 46 of file devfs.h.

◆ path

const char* devfs::path

File system relative path to this node.

Definition at line 47 of file devfs.h.

◆ private_data

void* devfs::private_data

Pointer to device driver specific data.

Definition at line 49 of file devfs.h.


The documentation for this struct was generated from the following file: