FreeNOS
Data Fields
FileSystemMessage Struct Reference

FileSystem IPC message. More...

#include <FileSystemMessage.h>

Inheritance diagram for FileSystemMessage:
ChannelMessage

Data Fields

FileSystem::Action action
 Action to perform. More...
 
FileSystem::Result result
 Result code. More...
 
char * buffer
 Points to a buffer for I/O. More...
 
Size size
 Size of the buffer. More...
 
Size offset
 Offset in the file for I/O. More...
 
u32 inode
 Inode number of the file. More...
 
FileSystem::FileStatstat
 File Statistics. More...
 
Timer::Info timeout
 Timeout value for the action. More...
 
ProcessID pid
 Process identifier (used for redirection) More...
 
Size pathMountLength
 Length of the mounted path (used for redirection) More...
 
- Data Fields inherited from ChannelMessage
Type type:1
 Message type is either a request or response. More...
 
Size identifier:31
 Optional request identifier. More...
 
ProcessID from
 Source process of the message. More...
 

Additional Inherited Members

- Public Types inherited from ChannelMessage
enum  Type { Request = 0, Response = 1 }
 Message types. More...
 

Detailed Description

FileSystem IPC message.

Definition at line 37 of file FileSystemMessage.h.

Field Documentation

◆ action

FileSystem::Action FileSystemMessage::action

◆ buffer

char* FileSystemMessage::buffer

◆ inode

u32 FileSystemMessage::inode

Inode number of the file.

Definition at line 44 of file FileSystemMessage.h.

Referenced by FileSystemServer::inodeHandler(), FileSystemClient::readFile(), and FileSystemClient::writeFile().

◆ offset

Size FileSystemMessage::offset

Offset in the file for I/O.

Definition at line 43 of file FileSystemMessage.h.

Referenced by FileSystemServer::inodeHandler(), FileSystemClient::readFile(), and FileSystemClient::writeFile().

◆ pathMountLength

Size FileSystemMessage::pathMountLength

Length of the mounted path (used for redirection)

Definition at line 48 of file FileSystemMessage.h.

Referenced by FileSystemServer::redirectRequest(), and FileSystemClient::request().

◆ pid

ProcessID FileSystemMessage::pid

Process identifier (used for redirection)

Definition at line 47 of file FileSystemMessage.h.

Referenced by FileSystemServer::processRequest(), FileSystemServer::redirectRequest(), and FileSystemClient::request().

◆ result

FileSystem::Result FileSystemMessage::result

◆ size

Size FileSystemMessage::size

◆ stat

FileSystem::FileStat* FileSystemMessage::stat

◆ timeout

Timer::Info FileSystemMessage::timeout

Timeout value for the action.

Definition at line 46 of file FileSystemMessage.h.

Referenced by FileSystemClient::waitFile(), and FileSystemServer::waitFileHandler().


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