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

/linux-4.4.14/drivers/power/
H A Dcharger-manager.c466 static char env_str_save[UEVENT_BUF_SIZE + 1] = ""; uevent_notify() local
470 if (env_str_save[0] == 0) { uevent_notify()
473 strncpy(env_str_save, event, UEVENT_BUF_SIZE); uevent_notify()
477 if (!strncmp(env_str_save, event, UEVENT_BUF_SIZE)) uevent_notify()
479 strncpy(env_str_save, event, UEVENT_BUF_SIZE); uevent_notify()
485 if (!env_str_save[0]) uevent_notify()
488 strncpy(env_str, env_str_save, UEVENT_BUF_SIZE); uevent_notify()
490 env_str_save[0] = 0; uevent_notify()

Completed in 46 milliseconds