NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FsProtocol::File Struct Reference

#include <service_fs.h>

Public Member Functions

 File (FsProtocol &fs_o, cap_sel file)
unsigned get_info (Utcb &utcb, dirent &dirent)
unsigned copy (Utcb &utcb, void *addr, unsigned long addr_size, unsigned long long file_offset=0)
unsigned map (Utcb &utcb, unsigned long addr, unsigned order, unsigned offset, unsigned &size)
unsigned write (Utcb &utcb, void const *addr_void, unsigned long region_size)

Public Attributes

FsProtocolfs_obj
cap_sel file_cap
const char * name
unsigned long name_len

Constructor & Destructor Documentation

FsProtocol::File::File ( FsProtocol fs_o,
cap_sel  file 
)
inline

Member Function Documentation

unsigned FsProtocol::File::copy ( Utcb utcb,
void *  addr,
unsigned long  addr_size,
unsigned long long  file_offset = 0 
)
inline
unsigned FsProtocol::File::get_info ( Utcb utcb,
dirent dirent 
)
inline
unsigned FsProtocol::File::map ( Utcb utcb,
unsigned long  addr,
unsigned  order,
unsigned  offset,
unsigned &  size 
)
inline
unsigned FsProtocol::File::write ( Utcb utcb,
void const *  addr_void,
unsigned long  region_size 
)
inline

Member Data Documentation

cap_sel FsProtocol::File::file_cap
FsProtocol& FsProtocol::File::fs_obj
const char* FsProtocol::File::name
unsigned long FsProtocol::File::name_len

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