Lines Matching full:next
290 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors()
291 if (!current->next) in cpufreq_get_available_governors()
293 current = current->next; in cpufreq_get_available_governors()
301 current->next = NULL; in cpufreq_get_available_governors()
317 current = first->next; in cpufreq_get_available_governors()
328 struct cpufreq_available_governors *tmp, *next; in cpufreq_put_available_governors() local
335 next = tmp->next; in cpufreq_put_available_governors()
339 tmp = next; in cpufreq_put_available_governors()
367 current->next = malloc(sizeof(*current)); in cpufreq_get_available_frequencies()
368 if (!current->next) in cpufreq_get_available_frequencies()
370 current = current->next; in cpufreq_get_available_frequencies()
378 current->next = NULL; in cpufreq_get_available_frequencies()
393 current = first->next; in cpufreq_get_available_frequencies()
423 current->next = malloc(sizeof(*current)); in cpufreq_get_boost_frequencies()
424 if (!current->next) in cpufreq_get_boost_frequencies()
426 current = current->next; in cpufreq_get_boost_frequencies()
434 current->next = NULL; in cpufreq_get_boost_frequencies()
449 current = first->next; in cpufreq_get_boost_frequencies()
458 struct cpufreq_available_frequencies *tmp, *next; in cpufreq_put_available_frequencies() local
465 next = tmp->next; in cpufreq_put_available_frequencies()
467 tmp = next; in cpufreq_put_available_frequencies()
498 current->next = malloc(sizeof(*current)); in sysfs_get_cpu_list()
499 if (!current->next) in sysfs_get_cpu_list()
501 current = current->next; in sysfs_get_cpu_list()
509 current->next = NULL; in sysfs_get_cpu_list()
525 current = first->next; in sysfs_get_cpu_list()
539 struct cpufreq_affected_cpus *tmp, *next; in cpufreq_put_affected_cpus() local
546 next = tmp->next; in cpufreq_put_affected_cpus()
548 tmp = next; in cpufreq_put_affected_cpus()
731 current->next = malloc(sizeof(*current)); in cpufreq_get_stats()
732 if (!current->next) in cpufreq_get_stats()
734 current = current->next; in cpufreq_get_stats()
742 current->next = NULL; in cpufreq_get_stats()
760 current = first->next; in cpufreq_get_stats()
769 struct cpufreq_stats *tmp, *next; in cpufreq_put_stats() local
776 next = tmp->next; in cpufreq_put_stats()
778 tmp = next; in cpufreq_put_stats()