Lines Matching refs:malloc
231 policy = malloc(sizeof(struct cpufreq_policy)); in cpufreq_get_policy()
281 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors()
286 first = malloc(sizeof(*first)); in cpufreq_get_available_governors()
294 current->governor = malloc(i - pos + 1); in cpufreq_get_available_governors()
358 current->next = malloc(sizeof(*current)); in cpufreq_get_available_frequencies()
363 first = malloc(sizeof(*first)); in cpufreq_get_available_frequencies()
414 current->next = malloc(sizeof(*current)); in cpufreq_get_boost_frequencies()
419 first = malloc(sizeof(*first)); in cpufreq_get_boost_frequencies()
489 current->next = malloc(sizeof(*current)); in sysfs_get_cpu_list()
494 first = malloc(sizeof(*first)); in sysfs_get_cpu_list()
722 current->next = malloc(sizeof(*current)); in cpufreq_get_stats()
727 first = malloc(sizeof(*first)); in cpufreq_get_stats()