Lines Matching defs:array
2143 pmc_t *array = NULL;
2152 array = (pmc_t *)kalloc(sizeof(pmc_t) * size);
2153 if(!array) {
2171 kfree(array, sizeof(pmc_t) * size);
2172 array = NULL;
2175 /* if we get here, and array is NULL, we try again. */
2176 }while(!array);
2181 array[count++] = pmc;
2187 *pmcs = array;
2194 * pmc_free_pmc_list frees an array of pmc_t that has been returned from
2235 // move matches to the head of the array.
2247 * If we have matches, they are all at the head of the array, so
2249 * head of the array to the new allocation. Then free the old
2296 * pmc_get_accessible_core_list returns a pointer to an array of logical core
2297 * numbers (as well as the size of that array) that represent the local cores