Searched refs:templateInfo (Results 1 – 3 of 3) sorted by relevance
| /xnu-11417.101.15/tests/vm/ |
| H A D | neural_footprint.c | 61 struct ledger_template_info *templateInfo; in ledger_init() local 80 templateInfo = malloc((size_t)li.li_entries * in ledger_init() 84 T_ASSERT_NOTNULL(templateInfo, "malloc()"); in ledger_init() 91 (caddr_t)templateInfo, in ledger_init() 96 if (!strncmp(templateInfo[i].lti_name, in ledger_init() 101 } else if (!strncmp(templateInfo[i].lti_name, in ledger_init() 106 } else if (!strncmp(templateInfo[i].lti_name, in ledger_init() 111 } else if (!strncmp(templateInfo[i].lti_name, in ledger_init() 116 } else if (!strncmp(templateInfo[i].lti_name, in ledger_init() 123 free(templateInfo); in ledger_init()
|
| H A D | vm_reclaim.c | 378 struct ledger_template_info *templateInfo = NULL; in ledger_phys_footprint_index() local 388 templateInfo = malloc((size_t)li.li_entries * sizeof(struct ledger_template_info)); in ledger_phys_footprint_index() 389 T_QUIET; T_ASSERT_NOTNULL(templateInfo, "malloc entries"); in ledger_phys_footprint_index() 392 ret = ledger(LEDGER_TEMPLATE_INFO, (caddr_t) templateInfo, (caddr_t) num_entries, NULL); in ledger_phys_footprint_index() 395 if (strcmp(templateInfo[i].lti_name, "phys_footprint") == 0) { in ledger_phys_footprint_index() 400 free(templateInfo); in ledger_phys_footprint_index()
|
| /xnu-11417.101.15/tests/ |
| H A D | vm_phys_footprint.c | 51 struct ledger_template_info *templateInfo; in ledger_init() local 91 templateInfo = malloc((size_t)li.li_entries * sizeof(struct ledger_template_info)); in ledger_init() 94 T_ASSERT_NE(templateInfo, NULL, "malloc()"); in ledger_init() 102 (caddr_t)templateInfo, in ledger_init() 108 if (!strncmp(templateInfo[i].lti_name, in ledger_init() 112 } else if (!strncmp(templateInfo[i].lti_name, in ledger_init() 118 free(templateInfo); in ledger_init()
|