Lines Matching full:allocation
30 * Contains implementation of memory allocation routines instrumented for
31 * usage in the emulator to detect memory allocation violations, such as
34 * and serves simply as hooks into memory allocation routines. Main job of this
36 * providing information about each allocation. The idea is that emulator will
102 /* Id of the process that initialized libc instance, in which allocation
109 /* Id of the process in context of which allocation has occurred.
111 * is doing allocation has been forked from the process that initialized
116 /* Number of access violations detected on this allocation. */
152 /* Code of the allocation routine, in context of which query has been made:
158 /* Address of memory allocation descriptor for the queried pointer.
238 /* Defines default size of allocation prefix.
243 /* Defines default size of allocation suffix.
347 /* Memory allocation alignment that is used in dlmalloc.
361 /* Gets pointer, returned to malloc caller for the given allocation decriptor.
363 * desc - Allocation descriptor.
372 * allocation decriptor.
374 * desc - Allocation descriptor.
463 * ptr - Pointer to request allocation information for.
464 * desc - Pointer to MallocDesc instance that will receive allocation
466 * routine - Code of the allocation routine, in context of which query is made:
528 /* Dumps content of memory allocation descriptor to a string.
547 /* Causes an access violation on allocation descriptor, and verifies that
558 * get allocation descriptor from QEMU, av_counter should be bigger than
594 /* We will be using emulator's magic page to report memory allocation
674 * bytes (plus prefix, and suffix guards), and report allocation to the
681 * returns a valid pointer on zero allocation. Lets mimic this behavior. */
757 // Just let go zero bytes allocation.
778 * allocation size, aligned to the size of an element, plus the usual
824 * allocation, but overall it doesn't seem to matter, as caller of realloc
873 * shrinking "in place", adjusting suffix_size in the allocation descriptor
935 // Just let go zero bytes allocation.
941 /* Prefix size for aligned allocation must be equal to the alignment used
942 * for allocation in order to ensure proper alignment of the returned