Home
last modified time | relevance | path

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

12345678910>>...18

/linux/tools/testing/selftests/damon/
H A Dsysfs.py36 def assert_watermarks_committed(watermarks, dump): argument
41 assert_true(dump['metric'] == wmark_metric_val[watermarks.metric],
42 'metric', dump)
43 assert_true(dump['interval'] == watermarks.interval, 'interval', dump)
44 assert_true(dump['high'] == watermarks.high, 'high', dump)
45 assert_true(dump['mid'] == watermarks.mid, 'mid', dump)
46 assert_true(dump['low'] == watermarks.low, 'low', dump)
48 def assert_quota_goal_committed(qgoal, dump): argument
55 assert_true(dump['metric'] == metric_val[qgoal.metric], 'metric', dump)
56 assert_true(dump['target_value'] == qgoal.target_value, 'target_value',
[all …]
/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/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/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/drivers/net/ethernet/qlogic/qed/
H A Dqed_debug.c1097 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/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/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/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/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.py96 stats = netfam.qstats_get({}, dump=True)
131 # Construct a map ifindex -> [dump, by-index, dump]
133 stats = netfam.qstats_get({}, dump=True)
138 entry = netfam.qstats_get({"ifindex": ifindex}, dump=True)
142 stats = netfam.qstats_get({}, dump=True)
158 queues = NetdevFamily(recv_size=4096).qstats_get({"scope": "queue"}, dump=True)
177 netfam.qstats_get({"ifindex": 0}, dump=True)
183 netfam.qstats_get({"ifindex": 1}, dump=True)
188 devs = rtnl.getlink({}, dump
[all...]
/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/tools/net/ynl/lib/
H A Dynl.h107 #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.
119 static inline bool ynl_dump_empty(void *dump) in ynl_has_ntf()
121 return 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/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/tools/testing/selftests/net/
H A Dnl_netdev.py12 devs = nf.dev_get({}, dump=True)
28 napis = nf.napi_get({'ifindex': nsim.ifindex}, dump=True)
34 napis = nf.napi_get({'ifindex': nsim.ifindex}, dump=True)
48 napis = nf.napi_get({'ifindex': nsim.ifindex}, dump=True)
133 napis = nf.napi_get({'ifindex': nsim.ifindex}, dump=True)
187 pp_list = nf.page_pool_get({}, dump=True)
209 pp_list = nf.page_pool_get({}, dump=True)
/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 …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gfx_v7.c206 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_hqd_dump()
213 (*dump)[i][0] = (addr) << 2; \ in kgd_hqd_dump()
214 (*dump)[i++][1] = RREG32(addr); \ in kgd_hqd_dump()
217 *dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL); in kgd_hqd_dump()
218 if (*dump == NULL) in kgd_hqd_dump()
296 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump()
304 *dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL); in kgd_hqd_sdma_dump()
305 if (*dump == NULL) in kgd_hqd_sdma_dump()
H A Damdgpu_amdkfd_gfx_v8.c230 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_hqd_dump()
237 (*dump)[i][0] = (addr) << 2; \ in kgd_hqd_dump()
238 (*dump)[i++][1] = RREG32(addr); \ in kgd_hqd_dump()
241 *dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL); in kgd_hqd_dump()
242 if (*dump == NULL) in kgd_hqd_dump()
319 uint32_t (**dump)[2], uint32_t *n_regs) in kgd_hqd_sdma_dump()
327 *dump = kmalloc_array(HQD_N_REGS, sizeof(**dump), GFP_KERNEL); in kgd_hqd_sdma_dump()
328 if (*dump == NULL) in kgd_hqd_sdma_dump()
/linux/tools/perf/tests/shell/
H A Dstat_all_metrics.sh19 for m in $(perf list --raw-dump metrics); do
30 if [[ $(perf list --raw-dump $m) == "Default"* ]]
61 if [[ $(perf list --raw-dump $m) == "Default"* ]]
/linux/Documentation/networking/devlink/
H A Diosm.rst112 device (RAM dump).
130 $ devlink region dump pci/0000:02:00.0/report.json snapshot 0
136 $ devlink region dump pci/0000:02:00.0/coredump.fcd snapshot 1
142 $ devlink region dump pci/0000:02:00.0/cdd.log snapshot 2
148 $ devlink region dump pci/0000:02:00.0/eeprom.bin snapshot 3
154 $ devlink region dump pci/0000:02:00.0/bootcore_trace.bin snapshot 4
160 $ devlink region dump pci/0000:02:00.0/bootcore_prev_trace.bin snapshot 5
/linux/drivers/ssb/
H A Dsprom.c36 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()

12345678910>>...18