|
def | __init__ (self, parent, base_offset, size) |
|
def | __len__ (self) |
|
def | __str__ (self) |
|
def | __enter__ (self) |
|
def | __exit__ (self, tipo, value, traceback) |
|
def | region (self, offset=-1, size=-1) |
|
def | read (self, length=-1, offset=-1, advance=True) |
|
def | write (self, value, length=-1, offset=-1, advance=True) |
|
|
| parent |
|
| base_offset |
|
| cursor |
|
A virtual region of mapped memory
This class is a 'faked' mmap() result that allows for the finer allocation of memory mappings
beyond/below what the filesystem really allows. It is backed by true mmap()'d pages and
uses magic methods to achieve the appearance of being an isolated region of memory.
The documentation for this class was generated from the following file:
- starfuse/fs/mapped_file.py