Lines Matching refs:s
127 char *s = buf; in mem_sleep_show() local
135 s += sprintf(s, "[%s] ", label); in mem_sleep_show()
137 s += sprintf(s, "%s ", label); in mem_sleep_show()
141 if (s != buf) in mem_sleep_show()
142 *(s-1) = '\n'; in mem_sleep_show()
144 return (s - buf); in mem_sleep_show()
210 char *s = buf; in pm_test_show() local
216 s += sprintf(s, "[%s] ", pm_tests[level]); in pm_test_show()
218 s += sprintf(s, "%s ", pm_tests[level]); in pm_test_show()
221 if (s != buf) in pm_test_show()
223 *(s-1) = '\n'; in pm_test_show()
225 return (s - buf); in pm_test_show()
231 const char * const *s; in pm_test_store() local
243 for (s = &pm_tests[level]; level <= TEST_MAX; s++, level++) in pm_test_store()
244 if (*s && len == strlen(*s) && !strncmp(buf, *s, len)) { in pm_test_store()
364 static int suspend_stats_show(struct seq_file *s, void *unused) in suspend_stats_show() argument
374 seq_printf(s, "%s: %d\n%s: %d\n%s: %d\n%s: %d\n%s: %d\n" in suspend_stats_show()
390 seq_printf(s, "failures:\n last_failed_dev:\t%-s\n", in suspend_stats_show()
395 seq_printf(s, "\t\t\t%-s\n", in suspend_stats_show()
398 seq_printf(s, " last_failed_errno:\t%-d\n", in suspend_stats_show()
403 seq_printf(s, "\t\t\t%-d\n", in suspend_stats_show()
406 seq_printf(s, " last_failed_step:\t%-s\n", in suspend_stats_show()
412 seq_printf(s, "\t\t\t%-s\n", in suspend_stats_show()
555 char *s = buf; in state_show() local
561 s += sprintf(s,"%s ", pm_states[i]); in state_show()
565 s += sprintf(s, "disk "); in state_show()
566 if (s != buf) in state_show()
568 *(s-1) = '\n'; in state_show()
569 return (s - buf); in state_show()