Lines Matching full:memory
76 //! Current amount of virtual memory mapped, all of which might not have been
79 //! Peak amount of virtual memory mapped, all of which might not have been
82 //! Current amount of memory in global caches for small and medium sizes
85 //! Current amount of memory allocated in huge allocations, i.e larger than
88 //! Peak amount of memory allocated in huge allocations, i.e larger than
91 //! Total amount of memory mapped since initialization (only if
94 //! Total amount of memory unmapped since initialization (only if
130 //! Number of raw memory map calls (not hitting the reserve spans but
150 //! Number of raw memory map calls (not hitting the reserve spans but
157 //! Map memory pages for the given number of bytes. The returned address MUST
162 // from the actual start of the memory region due to this alignment. The
163 // alignment offset will be passed to the memory unmap function. The
170 //! Unmap the memory pages starting at address and spanning the given number
176 // mapped memory range. If you set a memory_unmap function, you must also set
186 //! Called when a call to map memory pages fails (out of memory). If this
191 // the map call. Only used if the default system memory map function is used
194 //! Size of memory pages. The page size MUST be a power of two. All memory
200 //! Size of a span of memory blocks. MUST be a power of two, and in
205 //! Number of spans to map at each request to map new virtual memory blocks.
207 // be used to minimize the system call overhead at the cost of virtual memory
209 // used, so physical committed memory should not be affected in the default
210 // implementation. Will be aligned to a multiple of spans that match memory
219 // https://docs.microsoft.com/en-us/windows/desktop/memory/large-page-support
263 //! Allocate a memory block of at least the given size
267 //! Free the given memory block
270 //! Allocate a memory block of at least the given size and zero initialize it
283 // and should ideally be less than memory page size. A caveat of rpmalloc
291 //! Allocate a memory block of at least the given size and alignment.
293 // and should ideally be less than memory page size. A caveat of rpmalloc
300 //! Allocate a memory block of at least the given size and alignment, and zero
303 // and should ideally be less than memory page size. A caveat of rpmalloc
311 //! Allocate a memory block of at least the given size and alignment.
313 // and should ideally be less than memory page size. A caveat of rpmalloc
320 //! Allocate a memory block of at least the given size and alignment.
322 // and should ideally be less than memory page size. A caveat of rpmalloc
328 //! Query the usable size of the given memory block (from given pointer to the
340 //! Acquire a new heap. Will reuse existing released heaps or allocate memory
347 //! Release a heap (does NOT free the memory allocated by the heap, use
353 //! Allocate a memory block of at least the given size using the given heap.
358 //! Allocate a memory block of at least the given size using the given heap. The
361 // and a multiple of sizeof(void*), and should ideally be less than memory page
369 //! Allocate a memory block of at least the given size using the given heap and
376 //! Allocate a memory block of at least the given size using the given heap and
380 // than memory page size. A caveat of rpmalloc internals is that this must also
387 //! Reallocate the given block to at least the given size. The memory block MUST
395 //! Reallocate the given block to at least the given size. The memory block MUST
399 // multiple of sizeof(void*), and should ideally be less than memory page size.
406 //! Free the given memory block from the given heap. The memory block MUST be
411 //! Free all memory allocated by the heap