Lines Matching refs:str
41 char *str = buf; in pm_show_wakelocks() local
49 str += scnprintf(str, end - str, "%s ", wl->name); in pm_show_wakelocks()
51 if (str > buf) in pm_show_wakelocks()
52 str--; in pm_show_wakelocks()
54 str += scnprintf(str, end - str, "\n"); in pm_show_wakelocks()
57 return (str - buf); in pm_show_wakelocks()
200 const char *str = buf; in pm_wake_lock() local
209 while (*str && !isspace(*str)) in pm_wake_lock()
210 str++; in pm_wake_lock()
212 len = str - buf; in pm_wake_lock()
216 if (*str && *str != '\n') { in pm_wake_lock()
218 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()