Searched refs:pfault_log_info (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/fs/pstore/ |
D | platform.c | 434 struct fault_log_info *pfault_log_info; in pstore_blackbox_dump() local 459 pfault_log_info = (struct fault_log_info *)psinfo->buf; in pstore_blackbox_dump() 461 memset(pfault_log_info, 0, sizeof(*pfault_log_info)); in pstore_blackbox_dump() 468 memcpy(pfault_log_info->flag, LOG_FLAG, strlen(LOG_FLAG)); in pstore_blackbox_dump() 469 strncpy(pfault_log_info->info.event, why, in pstore_blackbox_dump() 470 min(strlen(why), sizeof(pfault_log_info->info.event) - 1)); in pstore_blackbox_dump() 471 strncpy(pfault_log_info->info.module, PSTORE_FLAG, in pstore_blackbox_dump() 472 min(strlen(PSTORE_FLAG), sizeof(pfault_log_info->info.module) - 1)); in pstore_blackbox_dump() 473 get_timestamp(pfault_log_info->info.error_time, TIMESTAMP_MAX_LEN); in pstore_blackbox_dump() 474 dump_stacktrace(pfault_log_info->info.error_desc, sizeof(pfault_log_info->info.error_desc), false); in pstore_blackbox_dump() [all …]
|