/linux/net/bluetooth/ |
H A D | coredump.c | 34 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() 64 char dump_start[] = "--- Start dump ---\n"; in hci_devcd_mkheader() 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() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | coredump.c | 12 MODULE_PARM_DESC(coredump_memdump, "Optional ability to dump firmware memory"); 144 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() [all …]
|
/linux/Documentation/admin-guide/kdump/ |
H A 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/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_debugdump.c | 31 * interpret the binary dumpspec and populate the dump data in a deterministic 57 __be32 offset; /* address to start dump */ 58 __be32 dump_length; /* total bytes to dump, aligned to reg size */ 109 /* to track state during debug dump creation TLV traversal */ 114 void *p; /* current point in dump buffer */ 182 nfp_warn(cpp, "Debug dump specification read failed.\n"); in nfp_net_dump_load_dumpspec() 334 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() [all …]
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | rtas-fadump.h | 3 * Firmware-Assisted Dump support on POWERVM platform. 21 /* Firmware provided dump sections */ 29 /* Dump request flag */ 32 /* Dump status flag */ 36 * The Firmware Assisted Dump Memory structure supports a maximum of 10 sections 37 * in the dump memory structure. Presently, three sections are used for 44 /* Kernel Dump section info */ 55 /* ibm,configure-kernel-dump header. */ 62 /* Fields for disk dump option. */ 68 /* Maximum time allowed to prevent an automatic dump-reboot. */ [all …]
|
H A D | rtas-fadump.c | 3 * Firmware-Assisted Dump support on POWERVM platform. 61 * Start address of reserve dump area (permanent reservation) for in rtas_fadump_get_config() 62 * re-registering FADump after dump capture. in rtas_fadump_get_config() 112 * Fields for disk dump option. in rtas_fadump_init_mem_struct() 113 * We are not using disk dump option, hence set these fields to 0. in rtas_fadump_init_mem_struct() 120 /* set 0 to disable an automatic dump-reboot. */ in rtas_fadump_init_mem_struct() 123 /* Kernel dump sections */ in rtas_fadump_init_mem_struct() 188 * Platform requires the exact size of the Dump Memory Structure. in rtas_fadump_register() 348 * Read CPU state dump data and convert it into ELF notes. 349 * The CPU dump starts with magic number "REGSAVE". NumCpusOffset should be [all …]
|
/linux/tools/firewire/ |
H 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 11 nosy-dump : LDFLAGS = -g 12 nosy-dump : LDLIBS = -lpopt 14 nosy-dump : nosy-dump.o decode-fcp.o 17 rm -rf *.o nosy-dump 20 install nosy-dump $(prefix)/bin/nosy-dump
|
/linux/Documentation/ABI/stable/ |
H A 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/Documentation/arch/s390/ |
H 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 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/input/joystick/ |
H A D | joydump.c | 7 * This is just a very simple driver that can dump the data 33 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() [all …]
|
/linux/include/uapi/linux/ |
H A D | if_macsec.h | 47 MACSEC_ATTR_SECY, /* dump, nested macsec_secy_attrs */ 48 MACSEC_ATTR_TXSA_LIST, /* dump, nested, macsec_sa_attrs for each TXSA */ 49 MACSEC_ATTR_RXSC_LIST, /* dump, nested, macsec_rxsc_attrs for each RXSC */ 50 MACSEC_ATTR_TXSC_STATS, /* dump, nested, macsec_txsc_stats_attr */ 51 MACSEC_ATTR_SECY_STATS, /* dump, nested, macsec_secy_stats_attr */ 81 MACSEC_RXSC_ATTR_SCI, /* config/dump, u64 */ 82 MACSEC_RXSC_ATTR_ACTIVE, /* config/dump, u8 0..1 */ 83 MACSEC_RXSC_ATTR_SA_LIST, /* dump, nested */ 84 MACSEC_RXSC_ATTR_STATS, /* dump, nested, macsec_rxsc_stats_attr */ 93 MACSEC_SA_ATTR_AN, /* config/dump, u8 0..3 */ [all …]
|
/linux/Documentation/virt/kvm/s390/ |
H A D | s390-pv-dump.rst | 16 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 26 Dump process 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 [all …]
|
/linux/tools/net/ynl/lib/ |
H A D | ynl.h | 107 #define ynl_dump_foreach(dump, iter) \ 108 for (typeof(dump->obj) *iter = &dump->obj; \ 113 * ynl_dump_empty() - does the dump have no entries 114 * @dump: pointer to the dump list, as returned by a dump call 116 * Check if the dump is empty, i.e. contains no objects. 117 * Dump calls return NULL on error, and terminator element if empty. 119 static inline bool ynl_dump_empty(void *dump) in ynl_has_ntf() 89 ynl_dump_foreach(dump,iter) global() argument 101 ynl_dump_empty(void * dump) ynl_dump_empty() argument [all...] |
/linux/Documentation/networking/devlink/ |
H 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 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. 106 Dump output is defined by the reporter. 108 - Clears the last saved dump file for the specified reporter. [all …]
|
/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-btf.rst | 21 *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*] 47 Dump BTF entries from a given *BTF_SRC*. 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** [all …]
|
/linux/scripts/gendwarfksyms/ |
H A D | gendwarfksyms.c | 20 /* Dump DIE contents */ 39 " --dump-dies Dump DWARF DIE contents\n" in usage() 40 " --dump-die-map Print debugging information about die_map changes\n" in usage() 41 " --dump-types Dump type strings\n" in usage() 42 " --dump-versions Dump expanded type strings used for symbol versions\n" in usage() 100 { "dump-dies", 0, &dump_dies, 1 }, in main() 101 { "dump-die-map", 0, &dump_die_map, 1 }, in main() 102 { "dump-types", 0, &dump_types, 1 }, in main() 103 { "dump-versions", 0, &dump_versions, 1 }, in main()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H 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/acpi/acpica/ |
H A D | utbuffer.c | 4 * Module Name: utbuffer - Buffer dump routines 20 * PARAMETERS: buffer - Buffer to dump 21 * count - Amount to dump, in bytes 31 * DESCRIPTION: Generic dump buffer in both hex and ascii. 52 /* Nasty little dump buffer routine! */ in acpi_ut_dump_buffer() 67 /* Dump fill spaces */ in acpi_ut_dump_buffer() 154 * PARAMETERS: buffer - Buffer to dump 155 * count - Amount to dump, in bytes 165 * DESCRIPTION: Generic dump buffer in both hex and ascii. 173 /* Only dump the buffer if tracing is enabled */ in acpi_ut_debug_dump_buffer() [all …]
|
/linux/net/batman-adv/ |
H A D | bat_v.c | 119 * batadv_v_neigh_dump_neigh() - Dump a neighbour into a message 120 * @msg: Netlink message to dump into 123 * @hardif_neigh: Neighbour to dump 164 * batadv_v_neigh_dump_hardif() - Dump the neighbours of a hard interface into 166 * @msg: Netlink message to dump into 202 * batadv_v_neigh_dump() - Dump the neighbours of a hard interface into a 204 * @msg: Netlink message to dump into 253 * batadv_v_orig_dump_subentry() - Dump an originator subentry into a message 254 * @msg: Netlink message to dump into 258 * @if_outgoing: Limit dump to entries with this outgoing interface [all …]
|
/linux/include/xen/interface/ |
H A D | elfnote.h | 243 * xen dump-core none note. 244 * xm dump-core code will create one XEN_ELFNOTE_DUMPCORE_NONE 245 * in its dump file to indicate that the file is xen dump-core 252 * xen dump-core header note. 253 * xm dump-core code will create one XEN_ELFNOTE_DUMPCORE_HEADER 254 * in its dump file. 260 * xen dump-core xen version note. 261 * xm dump-core code will create one XEN_ELFNOTE_DUMPCORE_XEN_VERSION 262 * in its dump file. It contains the xen version obtained via the 269 * xen dump-core format version note. [all …]
|
/linux/drivers/mtd/ubi/ |
H A D | debug.c | 46 * ubi_dump_flash - dump a region of flash. in FAIL_ACTION() 48 * @pnum: the physical eraseblock number to dump in FAIL_ACTION() 49 * @offset: the starting offset within the physical eraseblock to dump in FAIL_ACTION() 50 * @len: the length of the region to dump in FAIL_ACTION() 78 * ubi_dump_ec_hdr - dump an erase counter header. 79 * @ec_hdr: the erase counter header to dump 83 pr_err("Erase counter header dump:\n"); in ubi_dump_ec_hdr() 97 * ubi_dump_vid_hdr - dump a volume identifier header. 98 * @vid_hdr: the volume identifier header to dump 102 pr_err("Volume identifier header dump:\n"); in ubi_dump_vid_hdr() [all …]
|
/linux/fs/proc/ |
H A D | vmcore.c | 4 * dump from the system's previous life. 47 /* Size of all notes minus the device dump notes */ 58 void *buf; /* Buffer containing device's dump */ 62 /* Device Dump list and mutex to synchronize access to list */ 69 /* Device Dump Size */ 180 /* If pfn is not ram, return zeros for sparse dump files */ in read_from_oldmem() 272 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() [all …]
|
/linux/tools/testing/selftests/drivers/net/ |
H A D | stats.py | 55 stats = netfam.qstats_get({}, dump=True) 90 # Construct a map ifindex -> [dump, by-index, dump] 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) [all …]
|
/linux/include/net/bluetooth/ |
H A D | coredump.h | 17 * @supported: Indicates if FW dump collection is supported by driver 18 * @state: Current state of dump collection 21 * @alloc_size: Total size of the dump 22 * @head: Start of the dump 23 * @tail: Pointer to current end of dump 26 * @dump_q: Dump queue for state machine to process 31 * @dmp_hdr: Create a dump header to identify controller/fw/driver info
|
/linux/Documentation/networking/ |
H A D | gen_stats.rst | 36 Export to userspace (Dump): 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
|