Lines Matching refs:first
264 struct cpufreq_available_governors *first = NULL;
286 first = malloc(sizeof(*first));
287 if (!first)
289 current = first;
291 current->first = first;
304 return first;
307 while (first) {
308 current = first->next;
309 if (first->governor)
310 free(first->governor);
311 free(first);
312 first = current;
324 tmp = any->first;
338 struct cpufreq_available_frequencies *first = NULL;
363 first = malloc(sizeof(*first));
364 if (!first)
366 current = first;
368 current->first = first;
380 return first;
383 while (first) {
384 current = first->next;
385 free(first);
386 first = current;
394 struct cpufreq_available_frequencies *first = NULL;
419 first = malloc(sizeof(*first));
420 if (!first)
422 current = first;
424 current->first = first;
436 return first;
439 while (first) {
440 current = first->next;
441 free(first);
442 first = current;
454 tmp = any->first;
470 struct cpufreq_affected_cpus *first = NULL;
494 first = malloc(sizeof(*first));
495 if (!first)
497 current = first;
499 current->first = first;
512 return first;
515 while (first) {
516 current = first->next;
517 free(first);
518 first = current;
535 tmp = any->first;
701 struct cpufreq_stats *first = NULL;
727 first = malloc(sizeof(*first));
728 if (!first)
730 current = first;
732 current->first = first;
747 return first;
750 while (first) {
751 current = first->next;
752 free(first);
753 first = current;
765 tmp = any->first;