This represents a memory mapped region of a file. More...
#include <eina_file_common.h>
Data Fields | |
| void * | map |
| A pointer to the mapped region. | |
| unsigned long int | offset |
| The offset in the file. | |
| unsigned long int | length |
| The length of the region. | |
| int | refcount |
| Tracks references to this region. | |
| Eina_Bool | hugetlb: 1 |
| Indicates if we are using HugeTLB. | |
| Eina_Bool | faulty: 1 |
| Indicates if this region was not mapped correctly (i.e. | |
This represents a memory mapped region of a file.
| void* _Eina_File_Map::map |
A pointer to the mapped region.
Referenced by eina_file_common_map_free(), eina_file_flush(), eina_file_map_faulted(), eina_file_map_new(), and eina_file_virtual_map_new().
| unsigned long int _Eina_File_Map::offset |
The offset in the file.
Referenced by eina_file_common_map_free(), eina_file_flush(), eina_file_map_new(), eina_file_virtual_map_free(), and eina_file_virtual_map_new().
| unsigned long int _Eina_File_Map::length |
The length of the region.
Referenced by eina_file_common_map_free(), eina_file_flush(), eina_file_map_new(), eina_file_map_populate(), eina_file_virtual_map_free(), and eina_file_virtual_map_new().
| int _Eina_File_Map::refcount |
Tracks references to this region.
Referenced by eina_file_common_map_free(), eina_file_flush(), eina_file_map_new(), eina_file_virtual_map_free(), and eina_file_virtual_map_new().
| Eina_Bool _Eina_File_Map::hugetlb |
Indicates if we are using HugeTLB.
Referenced by eina_file_map_new(), and eina_file_map_populate().
| Eina_Bool _Eina_File_Map::faulty |
Indicates if this region was not mapped correctly (i.e.
the call to mmap(2) failed).
Referenced by eina_file_map_faulted().