Lines Matching refs:first
273 struct cpufreq_available_governors *first = NULL;
295 first = malloc(sizeof(*first));
296 if (!first)
298 current = first;
300 current->first = first;
313 return first;
316 while (first) {
317 current = first->next;
318 if (first->governor)
319 free(first->governor);
320 free(first);
321 first = current;
333 tmp = any->first;
347 struct cpufreq_available_frequencies *first = NULL;
372 first = malloc(sizeof(*first));
373 if (!first)
375 current = first;
377 current->first = first;
389 return first;
392 while (first) {
393 current = first->next;
394 free(first);
395 first = current;
403 struct cpufreq_available_frequencies *first = NULL;
428 first = malloc(sizeof(*first));
429 if (!first)
431 current = first;
433 current->first = first;
445 return first;
448 while (first) {
449 current = first->next;
450 free(first);
451 first = current;
463 tmp = any->first;
479 struct cpufreq_affected_cpus *first = NULL;
503 first = malloc(sizeof(*first));
504 if (!first)
506 current = first;
508 current->first = first;
521 return first;
524 while (first) {
525 current = first->next;
526 free(first);
527 first = current;
544 tmp = any->first;
710 struct cpufreq_stats *first = NULL;
736 first = malloc(sizeof(*first));
737 if (!first)
739 current = first;
741 current->first = first;
756 return first;
759 while (first) {
760 current = first->next;
761 free(first);
762 first = current;
774 tmp = any->first;