Searched defs:nine_allocator (Results 1 – 1 of 1) sorted by relevance
201 struct nine_allocator { struct202 struct NineDevice9 *device;203 int page_size; /* Page size */204 int num_fd_max; /* Max number of memfd files */205 int min_file_size; /* Minimum memfd file size */207 long long total_allocations; /* Amount of memory allocated */208 long long total_locked_memory; /* TODO */ /* Amount of memory blocked by a lock */209 long long total_virtual_memory; /* Current virtual memory used by our allocations */210 …/* Target maximum virtual memory used. Above that, tries to unmap memfd files whenever possible. */212 int num_fd; /* Number of memfd files */ /* TODO release unused memfd files */[all …]