/Linux-v5.4/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, 159 struct dump_obj *dump; in dump_attr_show() local 162 dump = to_dump_obj(kobj); in dump_attr_show() 167 return attribute->show(dump, attribute, buf); in dump_attr_show() 175 struct dump_obj *dump; in dump_attr_store() local 178 dump = to_dump_obj(kobj); in dump_attr_store() 183 return attribute->store(dump, attribute, buf, len); in dump_attr_store() 193 struct dump_obj *dump; in dump_release() local 195 dump = to_dump_obj(kobj); in dump_release() [all …]
|
/Linux-v5.4/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-v5.4/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-v5.4/Documentation/ABI/stable/ |
D | sysfs-firmware-opal-dump | 1 What: /sys/firmware/opal/dump 11 we will initiate a dump. 14 0xXX-0xYYYY: A directory for dump of type 0xXX and 19 and ID of the dump, use the id and type files. 20 Do not rely on any particular size of dump 21 type or dump id. 23 Each dump has the following files: 24 id: An ASCII representation of the dump ID 27 dump in the format "0x%x %s" with the ID 28 in hex and a description of the dump type [all …]
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.h | 103 if (fwrt->dump.desc != &iwl_dump_desc_assert) in iwl_fw_free_dump_desc() 104 kfree(fwrt->dump.desc); in iwl_fw_free_dump_desc() 105 fwrt->dump.desc = NULL; in iwl_fw_free_dump_desc() 106 fwrt->dump.lmac_err_id[0] = 0; in iwl_fw_free_dump_desc() 108 fwrt->dump.lmac_err_id[1] = 0; in iwl_fw_free_dump_desc() 109 fwrt->dump.umac_err_id = 0; in iwl_fw_free_dump_desc() 160 (fwrt->dump.conf == FW_DBG_INVALID || in iwl_fw_dbg_trigger_stop_conf_match() 161 (BIT(fwrt->dump.conf) & le32_to_cpu(trig->stop_conf_ids)))); in iwl_fw_dbg_trigger_stop_conf_match() 170 if (fwrt->dump.non_collect_ts_start[id] && in iwl_fw_dbg_no_trig_window() 171 (time_after(fwrt->dump.non_collect_ts_start[id] + wind_jiff, in iwl_fw_dbg_no_trig_window() [all …]
|
D | dbg.c | 897 if (iwl_fw_dbg_is_d3_debug_enabled(fwrt) && fwrt->dump.d3_debug_data) { in iwl_fw_error_dump_file() 903 if (fwrt->dump.monitor_only) { in iwl_fw_error_dump_file() 909 fwrt->dump.desc) in iwl_fw_error_dump_file() 911 fwrt->dump.desc->len; in iwl_fw_error_dump_file() 938 cpu_to_le32(fwrt->dump.lmac_err_id[0]); in iwl_fw_error_dump_file() 941 cpu_to_le32(fwrt->dump.lmac_err_id[1]); in iwl_fw_error_dump_file() 942 dump_info->umac_err_id = cpu_to_le32(fwrt->dump.umac_err_id); in iwl_fw_error_dump_file() 987 fwrt->dump.desc) { in iwl_fw_error_dump_file() 990 fwrt->dump.desc->len); in iwl_fw_error_dump_file() 992 memcpy(dump_trig, &fwrt->dump.desc->trig_desc, in iwl_fw_error_dump_file() [all …]
|
D | runtime.h | 175 } dump; member 194 kfree(fwrt->dump.d3_debug_data); in iwl_fw_runtime_free() 195 fwrt->dump.d3_debug_data = NULL; in iwl_fw_runtime_free() 199 &fwrt->dump.active_trigs[i]; in iwl_fw_runtime_free() 209 cancel_delayed_work_sync(&fwrt->dump.wks[i].wk); in iwl_fw_runtime_free()
|
D | init.c | 76 fwrt->dump.conf = FW_DBG_INVALID; in iwl_fw_runtime_init() 80 fwrt->dump.wks[i].idx = i; in iwl_fw_runtime_init() 81 INIT_DELAYED_WORK(&fwrt->dump.wks[i].wk, iwl_fw_error_dump_wk); in iwl_fw_runtime_init()
|
/Linux-v5.4/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 memory image to a dump file on the local disk, or across the network to 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 31 region just before rebooting into the dump-capture kernel. 45 passed to the dump-capture kernel through the elfcorehdr= boot 50 With the dump-capture kernel, you can access the memory image through [all …]
|
/Linux-v5.4/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-v5.4/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-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 1910 static u32 qed_dump_str(char *dump_buf, bool dump, const char *str) in qed_dump_str() argument 1912 if (dump) in qed_dump_str() 1921 static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset) in qed_dump_align() argument 1928 if (dump && align_size) in qed_dump_align() 1938 bool dump, in qed_dump_str_param() argument 1945 offset += qed_dump_str(char_buf + offset, dump, param_name); in qed_dump_str_param() 1948 if (dump) in qed_dump_str_param() 1953 offset += qed_dump_str(char_buf + offset, dump, param_val); in qed_dump_str_param() 1956 offset += qed_dump_align(char_buf + offset, dump, offset); in qed_dump_str_param() 1965 bool dump, const char *param_name, u32 param_val) in qed_dump_num_param() argument [all …]
|
/Linux-v5.4/Documentation/networking/ |
D | devlink-health.txt | 20 - Diagnostics and object dump procedures 28 * Object dump is being taken and saved at the reporter instance (as long as 29 there is no other dump which is already stored) 40 - Object dump 52 Retrieves the last stored dump. Devlink health 53 saves a single dump. If an dump is not already stored by the devlink 54 for this reporter, devlink generates a new dump. 55 dump output is defined by the reporter. 57 Clears the last saved dump file for the specified reporter. 69 |dump) [all …]
|
D | gen_stats.txt | 34 struct gnet_dump dump; 36 if (gnet_stats_start_copy(skb, TCA_STATS2, &mystruct->lock, &dump, 40 if (gnet_stats_copy_basic(&dump, &mystruct->bstats) < 0 || 41 gnet_stats_copy_queue(&dump, &mystruct->qstats) < 0 || 42 gnet_stats_copy_app(&dump, &xstats, sizeof(xstats)) < 0) 45 if (gnet_stats_finish_copy(&dump) < 0) 60 TCA_XSTATS, &mystruct->lock, &dump, 108 From now on, every time you dump my_rate_est_stats it will contain
|
/Linux-v5.4/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-v5.4/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-v5.4/tools/bpf/bpftool/Documentation/ |
D | bpftool-btf.rst | 17 *COMMANDS* := { **dump** | **help** } 23 | **bpftool** **btf dump** *BTF_SRC* [**format** *FORMAT*] 39 **bpftool btf dump** *BTF_SRC* 47 value. It's possible to select whether to dump only BTF 88 **# bpftool btf dump id 1226** 141 **$ bpftool btf dump file prog.o** 187 **# bpftool btf dump map id 123 key** 193 **# bpftool btf dump map id 123 value** 199 **# bpftool btf dump map id 123 kv** 206 **# bpftool btf dump map id 123 all** [all …]
|
/Linux-v5.4/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 show_dump_regs() local 96 for (n = 0; n < 256; n += sizeof(dump)) { in show_dump_regs() 97 for (n1 = 0; n1 < sizeof(dump); n1++) in show_dump_regs() 100 dump[n1] = 0x00; in show_dump_regs() 102 dump[n1] = pcf50633_reg_read(pcf, n + n1); in show_dump_regs() 104 buf1 += sprintf(buf1, "%*ph\n", (int)sizeof(dump), dump); in show_dump_regs()
|
/Linux-v5.4/net/tipc/ |
D | netlink_compat.c | 972 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_publ_dump() local 999 dump.dumpit = tipc_nl_publ_dump; in tipc_nl_compat_publ_dump() 1000 dump.format = __tipc_nl_compat_publ_dump; in tipc_nl_compat_publ_dump() 1002 err = __tipc_nl_compat_dumpit(&dump, msg, args); in tipc_nl_compat_publ_dump() 1163 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_handle() local 1166 memset(&dump, 0, sizeof(dump)); in tipc_nl_compat_handle() 1177 dump.dumpit = tipc_nl_bearer_dump; in tipc_nl_compat_handle() 1178 dump.format = tipc_nl_compat_bearer_dump; in tipc_nl_compat_handle() 1179 return tipc_nl_compat_dumpit(&dump, msg); in tipc_nl_compat_handle() 1194 dump.dumpit = tipc_nl_node_dump_link; in tipc_nl_compat_handle() [all …]
|
/Linux-v5.4/fs/proc/ |
D | vmcore.c | 222 struct vmcoredd_node *dump; in vmcoredd_copy_dumps() local 229 list_for_each_entry(dump, &vmcoredd_list, list) { in vmcoredd_copy_dumps() 230 if (start < offset + dump->size) { in vmcoredd_copy_dumps() 231 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_copy_dumps() 232 buf = dump->buf + start - offset; in vmcoredd_copy_dumps() 246 offset += dump->size; in vmcoredd_copy_dumps() 258 struct vmcoredd_node *dump; in vmcoredd_mmap_dumps() local 265 list_for_each_entry(dump, &vmcoredd_list, list) { in vmcoredd_mmap_dumps() 266 if (start < offset + dump->size) { in vmcoredd_mmap_dumps() 267 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_mmap_dumps() [all …]
|
/Linux-v5.4/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-v5.4/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-v5.4/arch/x86/kernel/ |
D | hw_breakpoint.c | 366 void aout_dump_debugregs(struct user *dump) in aout_dump_debugregs() argument 378 dump->u_debugreg[i] = bp->attr.bp_addr; in aout_dump_debugregs() 382 dump->u_debugreg[i] = 0; in aout_dump_debugregs() 386 dump->u_debugreg[4] = 0; in aout_dump_debugregs() 387 dump->u_debugreg[5] = 0; in aout_dump_debugregs() 388 dump->u_debugreg[6] = current->thread.debugreg6; in aout_dump_debugregs() 390 dump->u_debugreg[7] = dr7; in aout_dump_debugregs()
|
/Linux-v5.4/drivers/ssb/ |
D | sprom.c | 36 static int hex2sprom(u16 *sprom, const char *dump, size_t len, in hex2sprom() argument 45 c = dump[len - 1]; in hex2sprom() 55 memcpy(tmp, dump, 4); in hex2sprom() 56 dump += 4; in hex2sprom()
|