| /linux/tools/testing/selftests/damon/ |
| H A D | sysfs.py | 36 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['lo 48 assert_quota_goal_committed(qgoal, dump) global() argument 63 assert_quota_committed(quota, dump) global() argument 77 assert_migrate_dests_committed(dests, dump) global() argument 83 assert_filter_committed(filter_, dump) global() argument 98 assert_access_pattern_committed(pattern, dump) global() argument 112 assert_scheme_committed(scheme, dump) global() argument 139 assert_schemes_committed(schemes, dump) global() argument 144 assert_monitoring_attrs_committed(attrs, dump) global() argument 167 assert_monitoring_target_committed(target, dump) global() argument 172 assert_monitoring_targets_committed(targets, dump) global() argument 177 assert_ctx_committed(ctx, dump) global() argument [all...] |
| /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() 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 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 …]
|
| /linux/drivers/input/joystick/ |
| H A D | joydump.c | 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() 91 dump++; in joydump_connect() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_debugdump.c | 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() 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 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/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_debug.c | 1097 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/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/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/tools/testing/selftests/drivers/net/ |
| H A D | shaper.py | 15 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 26 caps = nl_shaper.cap_get({'ifindex': cfg.ifindex}, dump=True) 85 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 105 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 125 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 137 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 182 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 275 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 284 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 325 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) [all …]
|
| H A D | stats.py | 96 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/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 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 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*] 54 dump only BTF type(s) associated with key (**key**), value (**value**), 73 **root_id** option can be used to filter a dump to a single type and all 76 It can be passed multiple times to dump multiple types. 93 dump) is passed as a *FILE*, bpftool attempts to autodetect the path 100 **# bpftool btf dump id 1226** 155 **$ bpftool btf dump file prog.o** 202 **# bpftool btf dump ma [all...] |
| H A D | bpftool.rst | 29 { **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/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
|
| /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. 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/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd_gfx_v12.c | 107 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_objs(**dump, HQD_N_REGS); 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_objs(**dump, HQD_N_REGS); in hqd_sdma_dump_v12() 150 if (*dump == NULL) in hqd_sdma_dump_v12()
|
| H A D | amdgpu_amdkfd_gfx_v7.c | 206 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_objs(**dump, HQD_N_REGS); 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_objs(**dump, HQD_N_REGS); in kgd_hqd_sdma_dump() 305 if (*dump == NULL) in kgd_hqd_sdma_dump()
|
| H A D | amdgpu_amdkfd_gfx_v8.c | 230 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_objs(**dump, HQD_N_REGS); 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_objs(**dump, HQD_N_REGS); in kgd_hqd_sdma_dump() 328 if (*dump == NULL) in kgd_hqd_sdma_dump()
|
| /linux/net/tipc/ |
| H A D | netlink_compat.c | 999 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_publ_dump() local 1026 dump.dumpit = tipc_nl_publ_dump; in tipc_nl_compat_publ_dump() 1027 dump.format = __tipc_nl_compat_publ_dump; in tipc_nl_compat_publ_dump() 1029 err = __tipc_nl_compat_dumpit(&dump, msg, args); in tipc_nl_compat_publ_dump() 1190 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_handle() local 1193 memset(&dump, 0, sizeof(dump)); in tipc_nl_compat_handle() 1204 dump.dumpit = tipc_nl_bearer_dump; in tipc_nl_compat_handle() 1205 dump.format = tipc_nl_compat_bearer_dump; in tipc_nl_compat_handle() 1206 return tipc_nl_compat_dumpit(&dump, msg); in tipc_nl_compat_handle() 1221 dump.dumpit = tipc_nl_node_dump_link; in tipc_nl_compat_handle() [all …]
|
| /linux/Documentation/networking/ |
| H A 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
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
| H A 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/tools/testing/selftests/net/ |
| H A D | nl_netdev.py | 16 devs = nf.dev_get({}, dump=True) 27 """Test that dev-get dump rejects attributes (no dump request policy).""" 29 nf.dev_get({'ifindex': 1}, dump=True) 41 napis = nf.napi_get({'ifindex': nsim.ifindex}, dump=True) 47 napis = nf.napi_get({'ifindex': nsim.ifindex}, dump=True) 61 napis = nf.napi_get({'ifindex': nsim.ifindex}, dump=True) 146 napis = nf.napi_get({'ifindex': nsim.ifindex}, dump=True) 200 pp_list = nf.page_pool_get({}, dump=True) 222 pp_list = nf.page_pool_get({}, dump [all...] |
| /linux/tools/perf/tests/shell/ |
| H A D | stat_all_metrics.sh | 20 for m in $(perf list --raw-dump metrics); do 35 if [[ $(perf list --raw-dump $m) == "Default"* ]] 66 if [[ $(perf list --raw-dump $m) == "Default"* ]]
|
| /linux/Documentation/networking/devlink/ |
| H A D | iosm.rst | 112 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
|