FreeNOS
|
FileSystem IPC message. More...
#include <FileSystemMessage.h>
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::FileStat * | stat |
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... | |
FileSystem IPC message.
Definition at line 37 of file FileSystemMessage.h.
FileSystem::Action FileSystemMessage::action |
Action to perform.
Definition at line 39 of file FileSystemMessage.h.
Referenced by FileSystemClient::createFile(), FileSystemClient::deleteFile(), FileSystemClient::getFileSystems(), FileSystemServer::inodeHandler(), FileSystemClient::mountFileSystem(), FileSystemServer::processRequest(), FileSystemClient::readFile(), FileSystemServer::redirectRequest(), FileSystemClient::request(), FileSystemServer::sendResponse(), IOBuffer::setMessage(), FileSystemClient::statFile(), FileSystemClient::waitFile(), FileSystemClient::waitFileSystem(), DeviceLog::write(), UDPSocket::write(), and FileSystemClient::writeFile().
char* FileSystemMessage::buffer |
Points to a buffer for I/O.
Definition at line 41 of file FileSystemMessage.h.
Referenced by FileSystemClient::createFile(), FileSystemClient::deleteFile(), FileSystemClient::getFileSystems(), FileSystemServer::getFileSystemsHandler(), FileSystemClient::mountFileSystem(), FileSystemServer::mountHandler(), FileSystemServer::processRequest(), IOBuffer::read(), FileSystemClient::readFile(), FileSystemClient::request(), IOBuffer::setMessage(), FileSystemClient::statFile(), FileSystemClient::waitFile(), FileSystemClient::waitFileSystem(), UDPSocket::write(), IOBuffer::write(), and FileSystemClient::writeFile().
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().
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().
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().
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().
FileSystem::Result FileSystemMessage::result |
Result code.
Definition at line 40 of file FileSystemMessage.h.
Referenced by FileSystemServer::getFileSystemsHandler(), FileSystemServer::inodeHandler(), FileSystemServer::mountHandler(), LinnFileSystem::notSupportedHandler(), FileSystemServer::processRequest(), FileSystemServer::redirectRequest(), FileSystemClient::request(), FileSystemServer::sendResponse(), and FileSystemServer::waitFileHandler().
Size FileSystemMessage::size |
Size of the buffer.
Definition at line 42 of file FileSystemMessage.h.
Referenced by IOBuffer::bufferedRead(), FileSystemClient::getFileSystems(), FileSystemServer::getFileSystemsHandler(), FileSystemServer::inodeHandler(), FileSystemClient::readFile(), IOBuffer::setMessage(), FileSystemClient::waitFile(), FileSystemServer::waitFileHandler(), DeviceLog::write(), UDPSocket::write(), and FileSystemClient::writeFile().
FileSystem::FileStat* FileSystemMessage::stat |
File Statistics.
Definition at line 45 of file FileSystemMessage.h.
Referenced by FileSystemClient::createFile(), FileSystemServer::processRequest(), and FileSystemClient::statFile().
Timer::Info FileSystemMessage::timeout |
Timeout value for the action.
Definition at line 46 of file FileSystemMessage.h.
Referenced by FileSystemClient::waitFile(), and FileSystemServer::waitFileHandler().