Searched refs:SUSPEND_MAX_REASON_SIZE (Results 1 – 2 of 2) sorted by relevance
480 reason_length = strnlen(reason, SUSPEND_MAX_REASON_SIZE - 1); in ps_suspend_send_response()612 error_reason = (char *)kmem_zalloc(SUSPEND_MAX_REASON_SIZE, KM_SLEEP); in ps_suspend_sequence()620 rv = suspend_pre(error_reason, SUSPEND_MAX_REASON_SIZE, in ps_suspend_sequence()625 SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()637 kmem_free(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()645 rv = suspend_start(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()655 kmem_free(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()660 rv = suspend_post(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()672 kmem_free(error_reason, SUSPEND_MAX_REASON_SIZE); in ps_suspend_sequence()
37 #define SUSPEND_MAX_REASON_SIZE 256 macro