/linux-5.19.10/arch/powerpc/platforms/powernv/ |
D | opal-dump.c | 32 ssize_t (*show)(struct dump_obj *dump, struct dump_attribute *attr, 34 ssize_t (*store)(struct dump_obj *dump, struct dump_attribute *attr, 164 struct dump_obj *dump; in dump_attr_show() local 167 dump = to_dump_obj(kobj); in dump_attr_show() 172 return attribute->show(dump, attribute, buf); in dump_attr_show() 180 struct dump_obj *dump; in dump_attr_store() local 183 dump = to_dump_obj(kobj); in dump_attr_store() 188 return attribute->store(dump, attribute, buf, len); in dump_attr_store() 198 struct dump_obj *dump; in dump_release() local 200 dump = to_dump_obj(kobj); in dump_release() [all …]
|
/linux-5.19.10/drivers/input/joystick/ |
D | joydump.c | 36 struct joydump *dump, *prev; /* one entry each */ in joydump_connect() local 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() 88 dump->data = gameport_read(gameport); 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() [all …]
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugdump.c | 329 static int nfp_add_tlv(u32 type, u32 total_tlv_sz, struct nfp_dump_state *dump) in nfp_add_tlv() argument 331 struct nfp_dump_tl *tl = dump->p; in nfp_add_tlv() 333 if (total_tlv_sz > dump->buf_size) in nfp_add_tlv() 336 if (dump->buf_size - total_tlv_sz < dump->dumped_size) in nfp_add_tlv() 342 dump->dumped_size += total_tlv_sz; 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 352 struct nfp_dump_error *dump_header = dump->p; in nfp_dump_error_tlv() 359 err = nfp_add_tlv(NFP_DUMPSPEC_TYPE_ERROR, total_size, dump); in nfp_dump_error_tlv() 369 static int nfp_dump_fwname(struct nfp_pf *pf, struct nfp_dump_state *dump) in nfp_dump_fwname() argument [all …]
|
/linux-5.19.10/Documentation/ABI/stable/ |
D | sysfs-firmware-opal-dump | 1 What: /sys/firmware/opal/dump 12 we will initiate a dump. 15 0xXX-0xYYYY: A directory for dump of type 0xXX and 20 and ID of the dump, use the id and type files. 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 [all …]
|
/linux-5.19.10/drivers/staging/qlge/ |
D | qlge_devlink.c | 44 err = qlge_fill_seg_(fmsg, &dump->seg_hdr, dump->seg_regs); \ 46 kvfree(dump); \ 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() [all …]
|
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 1097 static u32 qed_dump_str(char *dump_buf, bool dump, const char *str) in qed_dump_str() argument 1099 if (dump) in qed_dump_str() 1108 static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset) in qed_dump_align() argument 1115 if (dump && align_size) in qed_dump_align() 1125 bool dump, in qed_dump_str_param() argument 1132 offset += qed_dump_str(char_buf + offset, dump, param_name); in qed_dump_str_param() 1135 if (dump) in qed_dump_str_param() 1140 offset += qed_dump_str(char_buf + offset, dump, param_val); in qed_dump_str_param() 1143 offset += qed_dump_align(char_buf + offset, dump, offset); in qed_dump_str_param() 1152 bool dump, const char *param_name, u32 param_val) in qed_dump_num_param() argument [all …]
|
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
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-5.19.10/Documentation/admin-guide/kdump/ |
D | kdump.rst | 11 Kdump uses kexec to quickly boot to a dump-capture kernel whenever a 12 dump of the system kernel's memory needs to be taken (for example, when 14 the reboot and is accessible to the dump-capture kernel. 17 the memory image to a dump file on the local disk, or across the network 24 the dump-capture kernel. This ensures that ongoing Direct Memory Access 25 (DMA) from the system kernel does not corrupt the dump-capture kernel. 26 The kexec -p command loads the dump-capture kernel into this reserved 47 passed to the dump-capture kernel through the elfcorehdr= boot 51 With the dump-capture kernel, you can access the memory image through 52 /proc/vmcore. This exports the dump as an ELF-format file that you can [all …]
|
/linux-5.19.10/Documentation/s390/ |
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 10 dump tool is loaded. There exists an SCLP hardware interface to obtain the saved 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 [all …]
|
/linux-5.19.10/Documentation/powerpc/ |
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 18 kdump infrastructure for dump capture and filtering. 19 - Unlike phyp dump, userspace tool does not need to refer any sysfs 21 - Unlike phyp dump, FADump allows user to release all the memory reserved 22 for dump, with a single operation of echo 1 > /sys/kernel/fadump_release_mem. 29 dump offers several strong, practical advantages: 35 - Once the dump is copied out, the memory that held the dump [all …]
|
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/fw/ |
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() 316 fwrt->dump.fw_ver.lmac_major = le32_to_cpu(lmac->ucode_major); in iwl_fwrt_update_fw_versions() [all …]
|
D | dbg.c | 848 if (iwl_fw_dbg_is_d3_debug_enabled(fwrt) && fwrt->dump.d3_debug_data) { in iwl_fw_error_dump_file() 889 cpu_to_le32(fwrt->dump.lmac_err_id[0]); in iwl_fw_error_dump_file() 892 cpu_to_le32(fwrt->dump.lmac_err_id[1]); in iwl_fw_error_dump_file() 893 dump_info->umac_err_id = cpu_to_le32(fwrt->dump.umac_err_id); in iwl_fw_error_dump_file() 978 if (iwl_fw_dbg_is_d3_debug_enabled(fwrt) && fwrt->dump.d3_debug_data) { in iwl_fw_error_dump_file() 985 memcpy(dump_data->data, fwrt->dump.d3_debug_data, data_size); in iwl_fw_error_dump_file() 987 kfree(fwrt->dump.d3_debug_data); in iwl_fw_error_dump_file() 988 fwrt->dump.d3_debug_data = NULL; in iwl_fw_error_dump_file() 1257 struct iwl_txf_iter_data *iter = &fwrt->dump.txf_iter_data; in iwl_ini_txf_iter() 1311 struct iwl_txf_iter_data *iter = &fwrt->dump.txf_iter_data; in iwl_dump_ini_txf_iter() [all …]
|
/linux-5.19.10/tools/bpf/bpftool/Documentation/ |
D | bpftool-btf.rst | 21 *COMMANDS* := { **dump** | **help** } 27 | **bpftool** **btf dump** *BTF_SRC* [**format** *FORMAT*] 48 **bpftool btf dump** *BTF_SRC* 56 value. It's possible to select whether to dump only BTF 89 module BTF to dump) is passed as a *FILE*, bpftool attempts 96 **# bpftool btf dump id 1226** 151 **$ bpftool btf dump file prog.o** 198 **# bpftool btf dump map id 123 key** 204 **# bpftool btf dump map id 123 value** 210 **# bpftool btf dump map id 123 kv** [all …]
|
D | bpftool.rst | 29 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext** | 32 *PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin** | 45 *BTF-COMMANDS* := { **show** | **list** | **dump** | **help** } 49 …*STRUCT-OPS-COMMANDS* := { **show** | **list** | **dump** | **register** | **unregister** | **help…
|
/linux-5.19.10/tools/firewire/ |
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-5.19.10/Documentation/networking/devlink/ |
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) |
|
/linux-5.19.10/drivers/mfd/ |
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() 272 dev_info(micro->dev, "country ID: %u\n", ipaq_micro_to_u16(dump+86)); in ipaq_micro_eeprom_dump() [all …]
|
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-5.19.10/Documentation/networking/ |
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-5.19.10/net/tipc/ |
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() 1033 dump.format = __tipc_nl_compat_publ_dump; in tipc_nl_compat_publ_dump() 1035 err = __tipc_nl_compat_dumpit(&dump, msg, args); 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() 1211 dump.format = tipc_nl_compat_bearer_dump; in tipc_nl_compat_handle() 1212 return tipc_nl_compat_dumpit(&dump, msg); in tipc_nl_compat_handle() 1227 dump.dumpit = tipc_nl_node_dump_link; in tipc_nl_compat_handle() [all …]
|
/linux-5.19.10/sound/soc/intel/avs/ |
D | skl.c | 84 u8 *dump; in skl_coredump() local 86 dump = vzalloc(AVS_FW_REGS_SIZE); in skl_coredump() 87 if (!dump) in skl_coredump() 90 memcpy_fromio(dump, avs_sram_addr(adev, AVS_FW_REGS_WINDOW), AVS_FW_REGS_SIZE); in skl_coredump() 91 dev_coredumpv(adev->dev, dump, AVS_FW_REGS_SIZE, GFP_KERNEL); in skl_coredump()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
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-5.19.10/fs/proc/ |
D | vmcore.c | 245 struct vmcoredd_node *dump; in vmcoredd_copy_dumps() local 252 list_for_each_entry(dump, &vmcoredd_list, list) { in vmcoredd_copy_dumps() 253 if (start < offset + dump->size) { in vmcoredd_copy_dumps() 254 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_copy_dumps() 255 buf = dump->buf + start - offset; in vmcoredd_copy_dumps() 268 offset += dump->size; in vmcoredd_copy_dumps() 280 struct vmcoredd_node *dump; in vmcoredd_mmap_dumps() local 287 list_for_each_entry(dump, &vmcoredd_list, list) { in vmcoredd_mmap_dumps() 288 if (start < offset + dump->size) { in vmcoredd_mmap_dumps() 289 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_mmap_dumps() [all …]
|
/linux-5.19.10/drivers/net/fjes/ |
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-5.19.10/Documentation/ABI/testing/ |
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.
|