Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  coredump.c

  Sprache: C
 

// SPDX-License-Identifier: BSD-3-Clause-Clear
/*
 * Copyright (c) 2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
 */

#include <linux/devcoredump.h>
#include <linux/export.h>
#include "hif.h"
#include "coredump.h"
#include "debug.h"

enum
ath11k_fw_crash_dump_type ath11k_coredump_get_dump_type(int type)
{
 enum ath11k_fw_crash_dump_type dump_type;

 switch (type) {
 case HOST_DDR_REGION_TYPE:
  dump_type = FW_CRASH_DUMP_REMOTE_MEM_DATA;
  break;
 case M3_DUMP_REGION_TYPE:
  dump_type = FW_CRASH_DUMP_M3_DUMP;
  break;
 case PAGEABLE_MEM_REGION_TYPE:
  dump_type = FW_CRASH_DUMP_PAGEABLE_DATA;
  break;
 case BDF_MEM_REGION_TYPE:
 case CALDB_MEM_REGION_TYPE:
  dump_type = FW_CRASH_DUMP_NONE;
  break;
 default:
  dump_type = FW_CRASH_DUMP_TYPE_MAX;
  break;
 }

 return dump_type;
}
EXPORT_SYMBOL(ath11k_coredump_get_dump_type);

void ath11k_coredump_upload(struct work_struct *work)
{
 struct ath11k_base *ab = container_of(work, struct ath11k_base, dump_work);

 ath11k_info(ab, "Uploading coredump\n");
 /* dev_coredumpv() takes ownership of the buffer */
 dev_coredumpv(ab->dev, ab->dump_data, ab->ath11k_coredump_len, GFP_KERNEL);
 ab->dump_data = NULL;
}

void ath11k_coredump_collect(struct ath11k_base *ab)
{
 ath11k_hif_coredump_download(ab);
}

Messung V0.5 in Prozent
C=96 H=92 G=93

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-06-07) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002