Home
last modified time | relevance | path

Searched refs:dump (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/linux/net/bluetooth/
H A Dcoredump.c34 hci_dmp_cb(skb)->pkt_type, hdev->dump.state)
54 hdev->dump.state, state); in hci_devcd_update_state()
56 hdev->dump.state = state; in hci_devcd_update_state()
58 return hci_devcd_update_hdr_state(hdev->dump.head, in hci_devcd_update_state()
59 hdev->dump.alloc_size, state); in hci_devcd_update_state()
72 if (hdev->dump.dmp_hdr) in hci_devcd_mkheader()
73 hdev->dump.dmp_hdr(hdev, skb); in hci_devcd_mkheader()
83 if (hdev->dump.notify_change) in hci_devcd_notify()
84 hdev->dump.notify_change(hdev, state); in hci_devcd_notify()
90 hdev->dump.head = NULL; in hci_devcd_reset()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dcoredump.c144 mt7915_coredump_fw_state(struct mt7915_dev *dev, struct mt7915_coredump *dump, in mt7915_coredump_fw_state() argument
157 strscpy(dump->fw_state, "normal", sizeof(dump->fw_state)); in mt7915_coredump_fw_state()
159 strscpy(dump->fw_state, "assert", sizeof(dump->fw_state)); in mt7915_coredump_fw_state()
161 strscpy(dump->fw_state, "exception", sizeof(dump->fw_state)); in mt7915_coredump_fw_state()
167 mt7915_coredump_fw_trace(struct mt7915_dev *dev, struct mt7915_coredump *dump, in mt7915_coredump_fw_trace() argument
173 dump->last_msg_id = mt76_rr(dev, MT_FW_LAST_MSG_ID); in mt7915_coredump_fw_trace()
178 dump->eint_info_idx = n; in mt7915_coredump_fw_trace()
183 dump->irq_info_idx = n; in mt7915_coredump_fw_trace()
188 dump->sched_info_idx = n; in mt7915_coredump_fw_trace()
198 strscpy(dump->trace_sched, "(sched_info) id, time", in mt7915_coredump_fw_trace()
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dopal-dump.c32 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/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dcoredump.c101 mt7996_coredump_fw_state(struct mt7996_dev *dev, struct mt7996_coredump *dump, in mt7996_coredump_fw_state() argument
110 strscpy(dump->fw_state, "normal", sizeof(dump->fw_state)); in mt7996_coredump_fw_state()
112 strscpy(dump->fw_state, "exception", sizeof(dump->fw_state)); in mt7996_coredump_fw_state()
118 mt7996_coredump_fw_stack(struct mt7996_dev *dev, struct mt7996_coredump *dump, in mt7996_coredump_fw_stack() argument
123 strscpy(dump->pc_current, "program counter", sizeof(dump->pc_current)); in mt7996_coredump_fw_stack()
131 dump->pc_stack[0] = mt76_rr(dev, MT_CONN_DBG_CTL_PC_LOG); in mt7996_coredump_fw_stack()
143 dump->pc_stack[i + 1] = in mt7996_coredump_fw_stack()
151 dump->lr_stack[i] = in mt7996_coredump_fw_stack()
165 struct mt7996_coredump *dump; in mt7996_coredump_build() local
167 size_t len, sofar = 0, hdr_len = sizeof(*dump); in mt7996_coredump_build()
[all …]
/linux/drivers/input/joystick/
H A Djoydump.c33 struct joydump *dump, *prev; /* one entry each */ in joydump_connect() local
69 dump = buf; in joydump_connect()
77 dump->data = u; in joydump_connect()
78 dump->time = t; in joydump_connect()
79 dump++; in joydump_connect()
85 dump->data = gameport_read(gameport); in joydump_connect()
87 if (dump->data ^ u) { in joydump_connect()
88 u = dump->data; in joydump_connect()
89 dump->time = t; in joydump_connect()
91 dump++; in joydump_connect()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugdump.c334 static int nfp_add_tlv(u32 type, u32 total_tlv_sz, struct nfp_dump_state *dump) in nfp_add_tlv() argument
336 struct nfp_dump_tl *tl = dump->p; in nfp_add_tlv()
338 if (total_tlv_sz > dump->buf_size) in nfp_add_tlv()
341 if (dump->buf_size - total_tlv_sz < dump->dumped_size) in nfp_add_tlv()
347 dump->dumped_size += total_tlv_sz; in nfp_add_tlv()
348 dump->p += total_tlv_sz; in nfp_add_tlv()
355 struct nfp_dump_state *dump) in nfp_dump_error_tlv() argument
357 struct nfp_dump_error *dump_header = dump->p; in nfp_dump_error_tlv()
364 err = nfp_add_tlv(NFP_DUMPSPEC_TYPE_ERROR, total_size, dump); in nfp_dump_error_tlv()
374 static int nfp_dump_fwname(struct nfp_pf *pf, struct nfp_dump_state *dump) in nfp_dump_fwname() argument
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-firmware-opal-dump1 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/Documentation/arch/s390/
H A Dzfcpdump.rst2 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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Ddebug.c20 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/Documentation/arch/powerpc/
H A Dfirmware-assisted-dump.rst7 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/Documentation/virt/kvm/s390/
H A Ds390-pv-dump.rst16 confidentiality until the dump is in the hands of the VM owner who
19 The confidentiality of the VM dump is ensured by the Ultravisor who
29 A dump is done in 3 steps:
33 This step initializes the dump process, generates cryptographic seeds
34 and extracts dump keys with which the VM dump data will be encrypted.
42 point, vector, control and tod/timers of a vcpu. The vcpu dump can
45 in the dump data. For the same reason it is very important to not only
54 read from the swap and written to the dump target without need for any
63 decrypt the vcpu and memory data and end the dump process. When this
64 step completes successfully a new dump initiation can be started.
/linux/Documentation/networking/devlink/
H A Ddevlink-health.rst35 * Object dump procedures
48 * Object dump is being taken and saved at the reporter instance (as long as
49 auto-dump is set and there is no other dump which is already stored)
58 To handle devlink health diagnose and health dump requests, devlink creates a
83 * Object dump
103 - Retrieves the last stored dump. Devlink health
104 saves a single dump. If an dump is not already stored by devlink
105 for this reporter, devlink generates a new dump.
108 - Clears the last saved dump file for the specified reporter.
121 |dump)
[all …]
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-btf.rst21 *COMMANDS* := { **dump** | **help** }
27 | **bpftool** **btf dump** *BTF_SRC* [**format** *FORMAT*] [**root_id** *ROOT_ID*]
46 bpftool btf dump *BTF_SRC* [format *FORMAT*] [root_id *ROOT_ID*]
54 dump only BTF type(s) associated with key (**key**), value (**value**),
70 **root_id** option can be used to filter a dump to a single type and all
73 It can be passed multiple times to dump multiple types.
90 dump) is passed as a *FILE*, bpftool attempts to autodetect the path
97 **# bpftool btf dump id 1226**
152 **$ bpftool btf dump file prog.o**
199 **# bpftool btf dump map id 123 key**
[all …]
H A Dbpftool.rst29 { **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/tools/testing/selftests/drivers/net/
H A Dstats.py55 stats = netfam.qstats_get({}, dump=True)
92 stats = netfam.qstats_get({}, dump=True)
97 entry = netfam.qstats_get({"ifindex": ifindex}, dump=True)
101 stats = netfam.qstats_get({}, dump=True)
117 queues = NetdevFamily(recv_size=4096).qstats_get({"scope": "queue"}, dump=True)
136 netfam.qstats_get({"ifindex": 0}, dump=True)
142 netfam.qstats_get({"ifindex": 1}, dump=True)
147 devs = rtnl.getlink({}, dump=True)
154 netfam.qstats_get({"ifindex": lowest}, dump=True)
162 qstat = netfam.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0]
[all …]
/linux/drivers/mfd/
H A Dipaq-micro.c238 u8 dump[256]; in ipaq_micro_eeprom_dump() local
241 ipaq_micro_eeprom_read(micro, 0, 128, dump); in ipaq_micro_eeprom_dump()
242 str = ipaq_micro_str(dump, 10); in ipaq_micro_eeprom_dump()
247 str = ipaq_micro_str(dump+10, 40); in ipaq_micro_eeprom_dump()
254 str = ipaq_micro_str(dump+50, 20); in ipaq_micro_eeprom_dump()
259 str = ipaq_micro_str(dump+70, 10); in ipaq_micro_eeprom_dump()
264 dev_info(micro->dev, "product ID: %u\n", ipaq_micro_to_u16(dump+80)); in ipaq_micro_eeprom_dump()
266 ipaq_micro_to_u16(dump+82)); in ipaq_micro_eeprom_dump()
267 dev_info(micro->dev, "page mode: %u\n", ipaq_micro_to_u16(dump+84)); in ipaq_micro_eeprom_dump()
268 dev_info(micro->dev, "country ID: %u\n", ipaq_micro_to_u16(dump+86)); in ipaq_micro_eeprom_dump()
[all …]
H A Dpcf50633-core.c84 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/
H A DMakefile3 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/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddbg.c877 if (iwl_fw_dbg_is_d3_debug_enabled(fwrt) && fwrt->dump.d3_debug_data) { in iwl_fw_error_dump_file()
918 cpu_to_le32(fwrt->dump.lmac_err_id[0]); in iwl_fw_error_dump_file()
921 cpu_to_le32(fwrt->dump.lmac_err_id[1]); in iwl_fw_error_dump_file()
922 dump_info->umac_err_id = cpu_to_le32(fwrt->dump.umac_err_id); in iwl_fw_error_dump_file()
1007 if (iwl_fw_dbg_is_d3_debug_enabled(fwrt) && fwrt->dump.d3_debug_data) { in iwl_fw_error_dump_file()
1014 memcpy(dump_data->data, fwrt->dump.d3_debug_data, data_size); in iwl_fw_error_dump_file()
1016 kfree(fwrt->dump.d3_debug_data); in iwl_fw_error_dump_file()
1017 fwrt->dump.d3_debug_data = NULL; in iwl_fw_error_dump_file()
1323 struct iwl_txf_iter_data *iter = &fwrt->dump.txf_iter_data; in iwl_ini_txf_iter()
1377 struct iwl_txf_iter_data *iter = &fwrt->dump.txf_iter_data; in iwl_dump_ini_txf_iter()
[all …]
/linux/tools/net/ynl/lib/
H A Dynl.h89 #define ynl_dump_foreach(dump, iter) \ argument
90 for (typeof(dump->obj) *iter = &dump->obj; \
101 static inline bool ynl_dump_empty(void *dump) in ynl_dump_empty() argument
103 return dump == (void *)YNL_LIST_END; in ynl_dump_empty()
/linux/net/tipc/
H A Dnetlink_compat.c1002 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 …]
/linux/Documentation/networking/
H A Dgen_stats.rst43 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/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dmxms.c153 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gfx_v12.c107 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in hqd_dump_v12()
114 (*dump)[i][0] = (addr) << 2; \ in hqd_dump_v12()
115 (*dump)[i++][1] = RREG32(addr); \ in hqd_dump_v12()
118 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_dump_v12()
119 if (*dump == NULL) in hqd_dump_v12()
138 uint32_t (**dump)[2], uint32_t *n_regs) in hqd_sdma_dump_v12()
149 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_sdma_dump_v12()
150 if (*dump == NULL) in hqd_sdma_dump_v12()
/linux/fs/proc/
H A Dvmcore.c272 struct vmcoredd_node *dump; in vmcoredd_copy_dumps() local
277 list_for_each_entry(dump, &vmcoredd_list, list) { in vmcoredd_copy_dumps()
278 if (start < offset + dump->size) { in vmcoredd_copy_dumps()
279 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_copy_dumps()
280 buf = dump->buf + start - offset; in vmcoredd_copy_dumps()
291 offset += dump->size; in vmcoredd_copy_dumps()
301 struct vmcoredd_node *dump; in vmcoredd_mmap_dumps() local
306 list_for_each_entry(dump, &vmcoredd_list, list) { in vmcoredd_mmap_dumps()
307 if (start < offset + dump->size) { in vmcoredd_mmap_dumps()
308 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_mmap_dumps()
[all …]

12345678910>>...19