Searched refs:zallocations (Results 1 - 2 of 2) sorted by relevance

/macosx-10.9.5/xnu-2422.115.4/tools/lldbmacros/
H A Dmemory.py516 """ Prints a zallocation from the zallocations array based off its index and prints the associated symbolicated backtrace.
522 if unsigned(kern.globals.zallocations) == 0:
523 print "zallocations array not initialized!"
525 zallocation = kern.globals.zallocations[ArgumentStringToInt(cmd_args[0])]
625 """ Prints all allocations in the zallocations table
627 if unsigned(kern.globals.zallocations) == 0:
628 print "zallocations array not initialized!"
635 current_zalloc = kern.globals.zallocations[current_index]
648 """ Prints all allocations pointing to the passed in trace's index into ztraces by looking through zallocations table
660 current_zalloc = kern.globals.zallocations[current_inde
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/
H A Dzalloc.c1128 * We track the allocations in the zallocations hash table, which stores the address that was returned from
1129 * the zone allocator. Each stored entry in the zallocations table points to an entry in the ztraces table, which
1187 static struct zallocation* zallocations; variable in typeref:struct:zallocation
1193 /* Lock to protect zallocations, ztraces, and top_ztrace from concurrent modification. */
1226 /* zleak-allocs=XXXX (override number of buckets in zallocations) */
1313 zallocations = allocations_ptr;
1384 struct zallocation* allocation = &zallocations[hashaddr(addr, zleak_alloc_buckets)];
1476 struct zallocation* allocation = &zallocations[hashaddr(addr, zleak_alloc_buckets)];

Completed in 92 milliseconds