/linux/arch/powerpc/platforms/powernv/ |
A D | opal-dump.c | 201 vfree(dump->buffer); in dump_release() 202 kfree(dump); in dump_release() 249 dump->buffer = vzalloc(PAGE_ALIGN(dump->size)); in dump_read_data() 257 list = opal_vmalloc_to_sg_list(dump->buffer, dump->size); in dump_read_data() 331 dump = kzalloc(sizeof(*dump), GFP_KERNEL); in create_dump_obj() 332 if (!dump) in create_dump_obj() 346 dump->id = id; in create_dump_obj() 347 dump->size = size; in create_dump_obj() 348 dump->type = type; in create_dump_obj() 372 rc = sysfs_create_bin_file(&dump->kobj, &dump->dump_attr); in create_dump_obj() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_debugdump.c | 336 if (dump->buf_size - total_tlv_sz < dump->dumped_size) in nfp_add_tlv() 343 dump->p += total_tlv_sz; in nfp_add_tlv() 350 struct nfp_dump_state *dump) in nfp_dump_error_tlv() argument 391 struct nfp_dump_state *dump) in nfp_dump_hwinfo() argument 412 struct nfp_dump_state *dump) in nfp_dump_hwinfo_field() argument 467 dest = dump->p + header_size; in nfp_dump_csr_range() 570 dest = dump->p + header_size; in nfp_dump_indirect_csr_range() 623 dest = dump->p + header_size; in nfp_dump_single_rtsym() 740 struct nfp_dump_state dump; in nfp_net_dump_populate_buffer() local 744 dump.dumped_size = 0; in nfp_net_dump_populate_buffer() [all …]
|
/linux/drivers/input/joystick/ |
A D | joydump.c | 72 dump = buf; in joydump_connect() 80 dump->data = u; in joydump_connect() 81 dump->time = t; in joydump_connect() 82 dump++; in joydump_connect() 90 if (dump->data ^ u) { in joydump_connect() 91 u = dump->data; in joydump_connect() 92 dump->time = t; in joydump_connect() 94 dump++; in joydump_connect() 106 dump = buf; in joydump_connect() 107 prev = dump; in joydump_connect() [all …]
|
/linux/Documentation/ABI/stable/ |
A D | sysfs-firmware-opal-dump | 1 What: /sys/firmware/opal/dump 12 we will initiate a dump. 21 Do not rely on any particular size of dump 22 type or dump id. 25 Each dump has the following files: 28 id: An ASCII representation of the dump ID 31 dump in the format "0x%x %s" with the ID 32 in hex and a description of the dump type 37 dump: A binary file containing the dump. 41 dump to the service processor. It will [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_debug.c | 1099 if (dump) in qed_dump_str() 1135 if (dump) in qed_dump_str_param() 1161 if (dump) in qed_dump_num_param() 1170 if (dump) in qed_dump_num_param() 1365 if (dump) in qed_dump_last_section() 2105 if (dump) in qed_grc_dump_reg_entry_hdr() 2405 if (dump) in qed_grc_dump_reset_regs() 2481 if (dump) in qed_grc_dump_modified_regs() 2515 if (dump) in qed_grc_dump_modified_regs() 2551 dump, in qed_grc_dump_special_regs() [all …]
|
/linux/drivers/staging/qlge/ |
A D | qlge_devlink.c | 44 err = qlge_fill_seg_(fmsg, &dump->seg_hdr, dump->seg_regs); \ 58 struct qlge_mpi_coredump *dump; in qlge_reporter_coredump() local 76 dump = kvmalloc(sizeof(*dump), GFP_KERNEL); in qlge_reporter_coredump() 77 if (!dump) in qlge_reporter_coredump() 80 err = qlge_core_dump(qdev, dump); in qlge_reporter_coredump() 82 kvfree(dump); in qlge_reporter_coredump() 118 err = qlge_fill_seg_(fmsg, &dump->misc_nic_seg_hdr, in qlge_reporter_coredump() 119 (u32 *)&dump->misc_nic_info); in qlge_reporter_coredump() 121 kvfree(dump); in qlge_reporter_coredump() 142 kvfree(dump); in qlge_reporter_coredump() [all …]
|
/linux/Documentation/admin-guide/kdump/ |
A D | kdump.rst | 57 tool to debug the dump file. This method ensures that the dump pages are 111 kernel core dump. 161 and analyze a dump file. 403 to load dump-capture kernel:: 410 to load dump-capture kernel:: 417 to load dump-capture kernel:: 436 loading dump-capture kernel. 479 dump. Hence generally it is useful either to build a UP dump-capture 531 After the dump-capture kernel is booted, write out the dump file with 550 gdb vmlinux <dump-file> [all …]
|
/linux/Documentation/s390/ |
A D | zfcpdump.rst | 2 The s390 SCSI dump tool (zfcpdump) 6 dumps on SCSI disks. The dump process is initiated by booting a dump tool, which 7 has to create a dump of the current (probably crashed) Linux image. In order to 8 not overwrite memory of the crashed Linux with data of the dump tool, the 13 This zfcpdump implementation consists of a Linux dump kernel together with 14 a user space dump tool, which are loaded together into the saved memory region 17 system can then trigger a SCSI dump by booting the SCSI disk, where zfcpdump 20 The user space dump tool accesses the memory of the crashed system by means 22 memory and registers in ELF core dump format. To access the memory which has 27 To build a dump enabled kernel the kernel config option CONFIG_CRASH_DUMP [all …]
|
/linux/Documentation/powerpc/ |
A D | firmware-assisted-dump.rst | 7 The goal of firmware-assisted dump is to enable the dump of 13 the existing phyp assisted dump. 15 as phyp assisted dump. 16 - Unlike phyp dump, FADump exports the memory dump through /proc/vmcore 35 - Once the dump is copied out, the memory that held the dump 74 (rtas/ibm,kernel-dump on pSeries or ibm,opal/dump/mpipl-boot 81 of the dump memory area. 212 KDump, as dump mechanism. 232 for boot memory dump preservation. 274 crash dump. [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | debug.c | 20 void *dump; in brcmf_debug_create_memdump() local 28 dump = vzalloc(len + ramsize); in brcmf_debug_create_memdump() 29 if (!dump) in brcmf_debug_create_memdump() 33 memcpy(dump, data, len); in brcmf_debug_create_memdump() 34 err = brcmf_bus_get_memdump(bus, dump + len, ramsize); in brcmf_debug_create_memdump() 36 vfree(dump); in brcmf_debug_create_memdump() 40 dev_coredumpv(bus->dev, dump, len + ramsize, GFP_KERNEL); in brcmf_debug_create_memdump()
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
A D | dbg.h | 91 (fwrt->dump.conf == FW_DBG_INVALID || in iwl_fw_dbg_trigger_stop_conf_match() 92 (BIT(fwrt->dump.conf) & le32_to_cpu(trig->stop_conf_ids)))); in iwl_fw_dbg_trigger_stop_conf_match() 101 if (fwrt->dump.non_collect_ts_start[id] && in iwl_fw_dbg_no_trig_window() 102 (time_after(fwrt->dump.non_collect_ts_start[id] + wind_jiff, in iwl_fw_dbg_no_trig_window() 106 fwrt->dump.non_collect_ts_start[id] = jiffies; in iwl_fw_dbg_no_trig_window() 190 fwrt->dump.conf = FW_DBG_INVALID; in iwl_fw_dump_conf_clear() 227 flush_delayed_work(&fwrt->dump.wks[i].wk); in iwl_fw_flush_dumps() 314 fwrt->dump.fw_ver.type = lmac->ver_type; in iwl_fwrt_update_fw_versions() 315 fwrt->dump.fw_ver.subtype = lmac->ver_subtype; in iwl_fwrt_update_fw_versions() 321 fwrt->dump.fw_ver.umac_major = le32_to_cpu(umac->umac_major); in iwl_fwrt_update_fw_versions() [all …]
|
A D | dbg.c | 1611 return dump->data; in iwl_dump_ini_mem_fill_header() 1711 return dump->data; in iwl_dump_ini_err_table_fill_header() 1726 return dump->data; in iwl_dump_ini_special_mem_fill_header() 2099 dump->ver_type = cpu_to_le32(fwrt->dump.fw_ver.type); in iwl_dump_ini_info() 2100 dump->ver_subtype = cpu_to_le32(fwrt->dump.fw_ver.subtype); in iwl_dump_ini_info() 2130 dump->lmac_major = cpu_to_le32(fwrt->dump.fw_ver.lmac_major); in iwl_dump_ini_info() 2131 dump->lmac_minor = cpu_to_le32(fwrt->dump.fw_ver.lmac_minor); in iwl_dump_ini_info() 2132 dump->umac_major = cpu_to_le32(fwrt->dump.fw_ver.umac_major); in iwl_dump_ini_info() 2133 dump->umac_minor = cpu_to_le32(fwrt->dump.fw_ver.umac_minor); in iwl_dump_ini_info() 2139 dump->build_tag_len = cpu_to_le32(sizeof(dump->build_tag)); in iwl_dump_ini_info() [all …]
|
A D | runtime.h | 144 } dump; member 175 kfree(fwrt->dump.d3_debug_data); in iwl_fw_runtime_free() 176 fwrt->dump.d3_debug_data = NULL; in iwl_fw_runtime_free() 180 cancel_delayed_work_sync(&fwrt->dump.wks[i].wk); in iwl_fw_runtime_free()
|
/linux/tools/bpf/bpftool/Documentation/ |
A D | bpftool-btf.rst | 18 *COMMANDS* := { **dump** | **help** } 45 **bpftool btf dump** *BTF_SRC* 93 **# bpftool btf dump id 1226** 148 **$ bpftool btf dump file prog.o** 195 **# bpftool btf dump map id 123 key** 201 **# bpftool btf dump map id 123 value** 207 **# bpftool btf dump map id 123 kv** 214 **# bpftool btf dump map id 123 all** 226 **# bpftool btf dump map id 123** 230 **# bpftool btf dump prog id 456** [all …]
|
/linux/Documentation/networking/devlink/ |
A D | devlink-health.rst | 35 * Object dump procedures 48 * Object dump is being taken and saved at the reporter instance (as long as 49 there is no other dump which is already stored) 64 * Object dump 84 - Retrieves the last stored dump. Devlink health 85 saves a single dump. If an dump is not already stored by devlink 86 for this reporter, devlink generates a new dump. 89 - Clears the last saved dump file for the specified reporter. 102 |dump) 111 | | | | (recover, dump) |
|
A D | iosm.rst | 112 device (RAM dump). 130 $ devlink region dump pci/0000:02:00.0/report.json snapshot 0 136 $ devlink region dump pci/0000:02:00.0/coredump.fcd snapshot 1 142 $ devlink region dump pci/0000:02:00.0/cdd.log snapshot 2 148 $ devlink region dump pci/0000:02:00.0/eeprom.bin snapshot 3 154 $ devlink region dump pci/0000:02:00.0/bootcore_trace.bin snapshot 4 160 $ devlink region dump pci/0000:02:00.0/bootcore_prev_trace.bin snapshot 5
|
/linux/drivers/mfd/ |
A D | ipaq-micro.c | 242 u8 dump[256]; in ipaq_micro_eeprom_dump() local 245 ipaq_micro_eeprom_read(micro, 0, 128, dump); in ipaq_micro_eeprom_dump() 246 str = ipaq_micro_str(dump, 10); in ipaq_micro_eeprom_dump() 251 str = ipaq_micro_str(dump+10, 40); in ipaq_micro_eeprom_dump() 258 str = ipaq_micro_str(dump+50, 20); in ipaq_micro_eeprom_dump() 263 str = ipaq_micro_str(dump+70, 10); in ipaq_micro_eeprom_dump() 268 dev_info(micro->dev, "product ID: %u\n", ipaq_micro_to_u16(dump+80)); in ipaq_micro_eeprom_dump() 270 ipaq_micro_to_u16(dump+82)); in ipaq_micro_eeprom_dump() 271 dev_info(micro->dev, "page mode: %u\n", ipaq_micro_to_u16(dump+84)); in ipaq_micro_eeprom_dump() 274 ipaq_micro_to_u16(dump+88) ? "yes" : "no"); in ipaq_micro_eeprom_dump() [all …]
|
A D | pcf50633-core.c | 84 u8 dump[16]; in dump_regs_show() local 96 for (n = 0; n < 256; n += sizeof(dump)) { in dump_regs_show() 97 for (n1 = 0; n1 < sizeof(dump); n1++) in dump_regs_show() 100 dump[n1] = 0x00; in dump_regs_show() 102 dump[n1] = pcf50633_reg_read(pcf, n + n1); in dump_regs_show() 104 buf1 += sprintf(buf1, "%*ph\n", (int)sizeof(dump), dump); in dump_regs_show()
|
/linux/tools/firewire/ |
A D | Makefile | 3 nosy-dump-version = 0.4 7 all : nosy-dump 9 nosy-dump : CFLAGS = -Wall -O2 -g 10 nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire
|
/linux/net/tipc/ |
A D | netlink_compat.c | 1005 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_publ_dump() local 1032 dump.dumpit = tipc_nl_publ_dump; in tipc_nl_compat_publ_dump() 1196 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_handle() local 1199 memset(&dump, 0, sizeof(dump)); in tipc_nl_compat_handle() 1210 dump.dumpit = tipc_nl_bearer_dump; in tipc_nl_compat_handle() 1227 dump.dumpit = tipc_nl_node_dump_link; in tipc_nl_compat_handle() 1233 dump.dumpit = tipc_nl_node_dump_link; in tipc_nl_compat_handle() 1259 dump.dumpit = tipc_nl_sk_dump; in tipc_nl_compat_handle() 1264 dump.dumpit = tipc_nl_media_dump; in tipc_nl_compat_handle() 1269 dump.dumpit = tipc_nl_node_dump; in tipc_nl_compat_handle() [all …]
|
/linux/Documentation/networking/ |
A D | gen_stats.rst | 43 struct gnet_dump dump; 45 if (gnet_stats_start_copy(skb, TCA_STATS2, &mystruct->lock, &dump, 49 if (gnet_stats_copy_basic(&dump, &mystruct->bstats) < 0 || 50 gnet_stats_copy_queue(&dump, &mystruct->qstats) < 0 || 51 gnet_stats_copy_app(&dump, &xstats, sizeof(xstats)) < 0) 54 if (gnet_stats_finish_copy(&dump) < 0) 69 TCA_XSTATS, &mystruct->lock, &dump, 118 From now on, every time you dump my_rate_est_stats it will contain
|
/linux/fs/proc/ |
A D | vmcore.c | 258 struct vmcoredd_node *dump; in vmcoredd_copy_dumps() local 282 offset += dump->size; in vmcoredd_copy_dumps() 319 offset += dump->size; in vmcoredd_mmap_dumps() 1511 dump = vzalloc(sizeof(*dump)); in vmcore_add_device_dump() 1512 if (!dump) { in vmcore_add_device_dump() 1537 dump->buf = buf; in vmcore_add_device_dump() 1538 dump->size = data_size; in vmcore_add_device_dump() 1550 vfree(dump); in vmcore_add_device_dump() 1567 list_del(&dump->list); in vmcore_free_device_dumps() 1568 vfree(dump->buf); in vmcore_free_device_dumps() [all …]
|
/linux/drivers/net/fjes/ |
A D | fjes_ethtool.c | 222 static int fjes_set_dump(struct net_device *netdev, struct ethtool_dump *dump) in fjes_set_dump() argument 228 if (dump->flag) { in fjes_set_dump() 232 hw->debug_mode = dump->flag; in fjes_set_dump() 255 struct ethtool_dump *dump) in fjes_get_dump_flag() argument 260 dump->len = hw->hw_info.trace_size; in fjes_get_dump_flag() 261 dump->version = 1; in fjes_get_dump_flag() 262 dump->flag = hw->debug_mode; in fjes_get_dump_flag() 268 struct ethtool_dump *dump, void *buf) in fjes_get_dump_data() argument
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
A D | mxms.c | 153 u8 *dump = desc; in mxms_foreach() local 158 ptr += sprintf(ptr, "%02x", dump[j]); in mxms_foreach() 159 dump += headerlen; in mxms_foreach() 162 for (i = 0; i < entries; i++, dump += recordlen) { in mxms_foreach() 164 ptr += sprintf(ptr, "%02x", dump[j]); in mxms_foreach()
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-kernel-fadump | 21 Helps to control the dump collect feature from userspace. 23 dump and 0 to disable it. 33 save the crash dump. 40 FADump to save the crash dump in bytes.
|