Lines Matching refs:str
40 char *str = buf; in pm_show_wakelocks() local
48 str += scnprintf(str, end - str, "%s ", wl->name); in pm_show_wakelocks()
50 if (str > buf) in pm_show_wakelocks()
51 str--; in pm_show_wakelocks()
53 str += scnprintf(str, end - str, "\n"); in pm_show_wakelocks()
56 return (str - buf); in pm_show_wakelocks()
188 const char *str = buf; in pm_wake_lock() local
197 while (*str && !isspace(*str)) in pm_wake_lock()
198 str++; in pm_wake_lock()
200 len = str - buf; in pm_wake_lock()
204 if (*str && *str != '\n') { in pm_wake_lock()
206 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()