/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 1016 static u32 qed_dump_str(char *dump_buf, bool dump, const char *str) in qed_dump_str() argument 1018 if (dump) in qed_dump_str() 1027 static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset) in qed_dump_align() argument 1034 if (dump && align_size) in qed_dump_align() 1044 bool dump, in qed_dump_str_param() argument 1051 offset += qed_dump_str(char_buf + offset, dump, param_name); in qed_dump_str_param() 1054 if (dump) in qed_dump_str_param() 1059 offset += qed_dump_str(char_buf + offset, dump, param_val); in qed_dump_str_param() 1062 offset += qed_dump_align(char_buf + offset, dump, offset); in qed_dump_str_param() 1071 bool dump, const char *param_name, u32 param_val) in qed_dump_num_param() argument [all …]
|
/kernel/linux/linux-5.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 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 …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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) 63 * Object dump 79 - Retrieves the last stored dump. Devlink health 80 saves a single dump. If an dump is not already stored by the devlink 81 for this reporter, devlink generates a new dump. 82 dump output is defined by the reporter. 84 - Clears the last saved dump file for the specified reporter. 97 |dump) [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.h | 148 (fwrt->dump.conf == FW_DBG_INVALID || in iwl_fw_dbg_trigger_stop_conf_match() 149 (BIT(fwrt->dump.conf) & le32_to_cpu(trig->stop_conf_ids)))); in iwl_fw_dbg_trigger_stop_conf_match() 158 if (fwrt->dump.non_collect_ts_start[id] && in iwl_fw_dbg_no_trig_window() 159 (time_after(fwrt->dump.non_collect_ts_start[id] + wind_jiff, in iwl_fw_dbg_no_trig_window() 163 fwrt->dump.non_collect_ts_start[id] = jiffies; in iwl_fw_dbg_no_trig_window() 247 fwrt->dump.conf = FW_DBG_INVALID; in iwl_fw_dump_conf_clear() 284 flush_delayed_work(&fwrt->dump.wks[i].wk); in iwl_fw_flush_dumps() 371 fwrt->dump.fw_ver.type = lmac->ver_type; in iwl_fwrt_update_fw_versions() 372 fwrt->dump.fw_ver.subtype = lmac->ver_subtype; in iwl_fwrt_update_fw_versions() 373 fwrt->dump.fw_ver.lmac_major = le32_to_cpu(lmac->ucode_major); in iwl_fwrt_update_fw_versions() [all …]
|
D | dbg.c | 898 if (iwl_fw_dbg_is_d3_debug_enabled(fwrt) && fwrt->dump.d3_debug_data) { in iwl_fw_error_dump_file() 939 cpu_to_le32(fwrt->dump.lmac_err_id[0]); in iwl_fw_error_dump_file() 942 cpu_to_le32(fwrt->dump.lmac_err_id[1]); in iwl_fw_error_dump_file() 943 dump_info->umac_err_id = cpu_to_le32(fwrt->dump.umac_err_id); in iwl_fw_error_dump_file() 1028 if (iwl_fw_dbg_is_d3_debug_enabled(fwrt) && fwrt->dump.d3_debug_data) { in iwl_fw_error_dump_file() 1035 memcpy(dump_data->data, fwrt->dump.d3_debug_data, data_size); in iwl_fw_error_dump_file() 1037 kfree(fwrt->dump.d3_debug_data); in iwl_fw_error_dump_file() 1038 fwrt->dump.d3_debug_data = NULL; in iwl_fw_error_dump_file() 1244 struct iwl_txf_iter_data *iter = &fwrt->dump.txf_iter_data; in iwl_ini_txf_iter() 1298 struct iwl_txf_iter_data *iter = &fwrt->dump.txf_iter_data; in iwl_dump_ini_txf_iter() [all …]
|
D | runtime.h | 195 } dump; member 224 kfree(fwrt->dump.d3_debug_data); in iwl_fw_runtime_free() 225 fwrt->dump.d3_debug_data = NULL; in iwl_fw_runtime_free() 229 cancel_delayed_work_sync(&fwrt->dump.wks[i].wk); in iwl_fw_runtime_free()
|
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/ |
D | bpftool-btf.rst | 17 *COMMANDS* := { **dump** | **help** } 23 | **bpftool** **btf dump** *BTF_SRC* [**format** *FORMAT*] 44 **bpftool btf dump** *BTF_SRC* 52 value. It's possible to select whether to dump only BTF 78 **# bpftool btf dump id 1226** 133 **$ bpftool btf dump file prog.o** 180 **# bpftool btf dump map id 123 key** 186 **# bpftool btf dump map id 123 value** 192 **# bpftool btf dump map id 123 kv** 199 **# bpftool btf dump map id 123 all** [all …]
|
/kernel/liteos_a/testsuites/unittest/net/resolv/smoke/ |
D | net_resolv_test_001.cpp | 35 static void dump(unsigned char *s, int len) { in dump() function 52 dump(comp_dn + offset, ret); in DnCompTest() 58 dump(comp_dn+offset, ret); in DnCompTest() 64 dump(comp_dn+offset, ret); in DnCompTest() 70 dump(comp_dn+offset, ret); in DnCompTest() 76 dump(comp_dn+offset, ret); in DnCompTest()
|
/kernel/linux/linux-5.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 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()
|
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.10/net/tipc/ |
D | netlink_compat.c | 1002 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_publ_dump() local 1029 dump.dumpit = tipc_nl_publ_dump; in tipc_nl_compat_publ_dump() 1030 dump.format = __tipc_nl_compat_publ_dump; in tipc_nl_compat_publ_dump() 1032 err = __tipc_nl_compat_dumpit(&dump, msg, args); in tipc_nl_compat_publ_dump() 1193 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_handle() local 1196 memset(&dump, 0, sizeof(dump)); in tipc_nl_compat_handle() 1207 dump.dumpit = tipc_nl_bearer_dump; in tipc_nl_compat_handle() 1208 dump.format = tipc_nl_compat_bearer_dump; in tipc_nl_compat_handle() 1209 return tipc_nl_compat_dumpit(&dump, msg); in tipc_nl_compat_handle() 1224 dump.dumpit = tipc_nl_node_dump_link; in tipc_nl_compat_handle() [all …]
|
/kernel/linux/linux-5.10/fs/proc/ |
D | vmcore.c | 225 struct vmcoredd_node *dump; in vmcoredd_copy_dumps() local 232 list_for_each_entry(dump, &vmcoredd_list, list) { in vmcoredd_copy_dumps() 233 if (start < offset + dump->size) { in vmcoredd_copy_dumps() 234 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_copy_dumps() 235 buf = dump->buf + start - offset; in vmcoredd_copy_dumps() 249 offset += dump->size; in vmcoredd_copy_dumps() 261 struct vmcoredd_node *dump; in vmcoredd_mmap_dumps() local 268 list_for_each_entry(dump, &vmcoredd_list, list) { in vmcoredd_mmap_dumps() 269 if (start < offset + dump->size) { in vmcoredd_mmap_dumps() 270 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_mmap_dumps() [all …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.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.
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
D | devlink.sh | 170 devlink region dump $DL_HANDLE/dummy snapshot 25 >> /dev/null 195 devlink region dump $DL_HANDLE/dummy snapshot $sid >> /dev/null 379 devlink health dump show $DL_HANDLE reporter empty >/dev/null 442 local dump=$(devlink health dump show $DL_HANDLE reporter dummy -j) 445 local dump_break_msg=$(echo $dump | jq -r ".break_message") 449 devlink health dump clear $DL_HANDLE reporter dummy 501 local dump=$(devlink health dump show $DL_HANDLE reporter dummy -j) 504 devlink health dump clear $DL_HANDLE reporter dummy
|