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

/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dzalloc.c397 static struct zrecord *zrecords; /* the log itself, dynamically allocated when logging is enabled */ variable in typeref:struct:zrecord
449 #define DO_LOGGING(z) (zrecords && (z) == zone_of_interest)
576 if (zone_of_interest != NULL && zrecords == NULL && zlog_ready) {
577 if (kmem_alloc(kernel_map, (vm_offset_t *)&zrecords, log_records * sizeof(struct zrecord)) == KERN_SUCCESS) {
584 bzero((void *)zrecords, log_records * sizeof(struct zrecord));
588 printf("zone: couldn't allocate memory for zrecords, turning off zleak logging\n");
1049 if (!check_freed_element && zrecords[zcurrent].z_element && zrecorded < log_records) {
1059 if (zrecords[i].z_element == NULL) {
1066 if (zrecords[i].z_element == NULL) {
1078 if (zrecords[zcurren
[all...]

Completed in 22 milliseconds