Searched refs:gov_name (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/cpuidle/
H A Dsysfs.c88 char gov_name[CPUIDLE_NAME_LEN]; store_current_governor() local
93 if (!len || len >= sizeof(gov_name)) store_current_governor()
96 memcpy(gov_name, buf, len); store_current_governor()
97 gov_name[len] = '\0'; store_current_governor()
98 if (gov_name[len - 1] == '\n') store_current_governor()
99 gov_name[--len] = '\0'; store_current_governor()
104 if (strlen(gov->name) == len && !strcmp(gov->name, gov_name)) { store_current_governor()

Completed in 54 milliseconds