Lines Matching refs:n

131 			      const char *buf, size_t n)  in pm_async_store()  argument
142 return n; in pm_async_store()
174 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state() argument
180 p = memchr(buf, '\n', n); in decode_suspend_state()
181 len = p ? p - buf : n; in decode_suspend_state()
194 const char *buf, size_t n) in mem_sleep_store() argument
208 state = decode_suspend_state(buf, n); in mem_sleep_store()
216 return error ? error : n; in mem_sleep_store()
237 const char *buf, size_t n) in sync_on_suspend_store() argument
248 return n; in sync_on_suspend_store()
288 const char *buf, size_t n) in pm_test_store() argument
297 p = memchr(buf, '\n', n); in pm_test_store()
298 len = p ? p - buf : n; in pm_test_store()
312 return error ? error : n; in pm_test_store()
592 const char *buf, size_t n) in pm_print_times_store() argument
603 return n; in pm_print_times_store()
641 const char *buf, size_t n) in pm_debug_messages_store() argument
652 return n; in pm_debug_messages_store()
703 static suspend_state_t decode_state(const char *buf, size_t n) in decode_state() argument
711 p = memchr(buf, '\n', n); in decode_state()
712 len = p ? p - buf : n; in decode_state()
731 const char *buf, size_t n) in state_store() argument
745 state = decode_state(buf, n); in state_store()
759 return error ? error : n; in state_store()
805 const char *buf, size_t n) in wakeup_count_store() argument
822 error = n; in wakeup_count_store()
858 const char *buf, size_t n) in autosleep_store() argument
860 suspend_state_t state = decode_state(buf, n); in autosleep_store()
871 return error ? error : n; in autosleep_store()
887 const char *buf, size_t n) in wake_lock_store() argument
890 return error ? error : n; in wake_lock_store()
904 const char *buf, size_t n) in wake_unlock_store() argument
907 return error ? error : n; in wake_unlock_store()
926 const char *buf, size_t n) in pm_trace_store() argument
936 return n; in pm_trace_store()
963 const char *buf, size_t n) in pm_freeze_timeout_store() argument
971 return n; in pm_freeze_timeout_store()
989 const char *buf, size_t n) in freeze_filesystems_store() argument
1000 return n; in freeze_filesystems_store()