Searched refs:kPanicStringMaxLen (Results 1 – 1 of 1) sorted by relevance
94 #define kPanicStringMaxLen 1024 macro128 message = (char *)kalloc_data(kPanicStringMaxLen, Z_WAITOK | Z_ZERO); in reboot()132 int copy_error = copyinstr(uap->msg, (void *)message, kPanicStringMaxLen, (size_t *)&dummy); in reboot()134 strncpy(message, "user space RB_PANIC message copyin failed", kPanicStringMaxLen - 1); in reboot()136 message[kPanicStringMaxLen - 1] = '\0'; in reboot()160 kfree_data(message, kPanicStringMaxLen); in reboot()