Lines Matching refs:malloc
258 policy = malloc(sizeof(struct cpufreq_policy)); in cpufreq_get_policy()
308 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors()
313 first = malloc(sizeof(*first)); in cpufreq_get_available_governors()
321 current->governor = malloc(i - pos + 1); in cpufreq_get_available_governors()
385 current->next = malloc(sizeof(*current)); in cpufreq_get_available_frequencies()
390 first = malloc(sizeof(*first)); in cpufreq_get_available_frequencies()
441 current->next = malloc(sizeof(*current)); in cpufreq_get_boost_frequencies()
446 first = malloc(sizeof(*first)); in cpufreq_get_boost_frequencies()
516 current->next = malloc(sizeof(*current)); in sysfs_get_cpu_list()
521 first = malloc(sizeof(*first)); in sysfs_get_cpu_list()
749 current->next = malloc(sizeof(*current)); in cpufreq_get_stats()
754 first = malloc(sizeof(*first)); in cpufreq_get_stats()