what about

extmem_malloc(size)
as used in LittleFS_RAM of LittleFS library?