30 #ifndef CPL_USERFAULTFD 31 #define CPL_USERFAULTFD 40 #include <sys/types.h> 41 #include <linux/userfaultfd.h> 44 #define GDAL_UFFD_LIMIT "GDAL_UFFD_LIMIT" 46 typedef struct cpl_uffd_context cpl_uffd_context;
48 bool CPLIsUserFaultMappingSupported();
49 cpl_uffd_context * CPLCreateUserFaultMapping(
const char * pszFilename,
void ** ppVma, uint64_t * pnVmaSize);
50 void CPLDeleteUserFaultMapping(cpl_uffd_context * ctx);