Home
last modified time | relevance | path

Searched refs:diag (Results 1 – 25 of 75) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_diag.c38 struct zfcp_diag_adapter *diag; in zfcp_diag_adapter_setup() local
41 diag = kzalloc(sizeof(*diag), GFP_KERNEL); in zfcp_diag_adapter_setup()
42 if (diag == NULL) in zfcp_diag_adapter_setup()
45 diag->max_age = (5 * 1000); /* default value: 5 s */ in zfcp_diag_adapter_setup()
48 hdr = &diag->port_data.header; in zfcp_diag_adapter_setup()
51 hdr->buffer = &diag->port_data.data; in zfcp_diag_adapter_setup()
52 hdr->buffer_size = sizeof(diag->port_data.data); in zfcp_diag_adapter_setup()
54 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup()
57 hdr = &diag->config_data.header; in zfcp_diag_adapter_setup()
60 hdr->buffer = &diag->config_data.data; in zfcp_diag_adapter_setup()
[all …]
/kernel/linux/linux-5.10/kernel/debug/kdb/
Dkdb_bt.c129 int diag; in kdb_bt() local
165 diag = kdbgetularg((char *)argv[1], &pid); in kdb_bt()
166 if (diag) in kdb_bt()
167 return diag; in kdb_bt()
176 diag = kdbgetularg((char *)argv[1], &addr); in kdb_bt()
177 if (diag) in kdb_bt()
178 return diag; in kdb_bt()
185 diag = kdbgetularg((char *)argv[1], &cpu); in kdb_bt()
186 if (diag) in kdb_bt()
187 return diag; in kdb_bt()
[all …]
Dkdb_main.c371 int diag; in kdbgetintenv() local
373 diag = kdbgetulenv(match, &val); in kdbgetintenv()
374 if (!diag) in kdbgetintenv()
376 return diag; in kdbgetintenv()
559 int diag; in kdbgetaddrarg() local
601 diag = kdbgetulenv(&symname[1], &addr); in kdbgetaddrarg()
602 if (diag) in kdbgetaddrarg()
603 return diag; in kdbgetaddrarg()
605 diag = kdb_check_regs(); in kdbgetaddrarg()
606 if (diag) in kdbgetaddrarg()
[all …]
Dkdb_bp.c51 int diag; in kdb_parsebp() local
71 diag = kdbgetularg((char *)argv[nextarg], in kdb_parsebp()
73 if (diag) in kdb_parsebp()
74 return diag; in kdb_parsebp()
281 int diag; in kdb_bp() local
302 diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, in kdb_bp()
304 if (diag) in kdb_bp()
305 return diag; in kdb_bp()
314 diag = kgdb_validate_break_address(template.bp_addr); in kdb_bp()
315 if (diag) in kdb_bp()
[all …]
Dkdb_support.c405 int diag; in kdb_getphysword() local
414 diag = kdb_getphys(&w1, addr, sizeof(w1)); in kdb_getphysword()
415 if (!diag) in kdb_getphysword()
419 diag = kdb_getphys(&w2, addr, sizeof(w2)); in kdb_getphysword()
420 if (!diag) in kdb_getphysword()
424 diag = kdb_getphys(&w4, addr, sizeof(w4)); in kdb_getphysword()
425 if (!diag) in kdb_getphysword()
430 diag = kdb_getphys(&w8, addr, sizeof(w8)); in kdb_getphysword()
431 if (!diag) in kdb_getphysword()
437 diag = KDB_BADWIDTH; in kdb_getphysword()
[all …]
Dkdb_io.c210 int diag, dtab_count; in kdb_read() local
214 diag = kdbgetintenv("DTABCOUNT", &dtab_count); in kdb_read()
215 if (diag) in kdb_read()
585 int diag; in vkdb_printf() local
610 diag = kdbgetintenv("LINES", &linecount); in vkdb_printf()
611 if (diag || linecount <= 1) in vkdb_printf()
614 diag = kdbgetintenv("COLUMNS", &colcount); in vkdb_printf()
615 if (diag || colcount <= 1) in vkdb_printf()
618 diag = kdbgetintenv("LOGGING", &logging); in vkdb_printf()
619 if (diag) in vkdb_printf()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_ioc.c4713 struct bfa_diag_s *diag = diag_arg; in bfa_diag_notify() local
4715 bfa_trc(diag, event); in bfa_diag_notify()
4716 bfa_trc(diag, diag->block); in bfa_diag_notify()
4717 bfa_trc(diag, diag->fwping.lock); in bfa_diag_notify()
4718 bfa_trc(diag, diag->tsensor.lock); in bfa_diag_notify()
4723 if (diag->fwping.lock) { in bfa_diag_notify()
4724 diag->fwping.status = BFA_STATUS_IOC_FAILURE; in bfa_diag_notify()
4725 diag->fwping.cbfn(diag->fwping.cbarg, in bfa_diag_notify()
4726 diag->fwping.status); in bfa_diag_notify()
4727 diag->fwping.lock = 0; in bfa_diag_notify()
[all …]
Dbfa_ioc.h452 void bfa_sfp_memclaim(struct bfa_sfp_s *diag, u8 *dm_kva, u64 dm_pa);
632 void bfa_diag_memclaim(struct bfa_diag_s *diag, u8 *dm_kva, u64 dm_pa);
633 void bfa_diag_attach(struct bfa_diag_s *diag, struct bfa_ioc_s *ioc, void *dev,
636 bfa_status_t bfa_diag_reg_read(struct bfa_diag_s *diag, u32 offset,
638 bfa_status_t bfa_diag_reg_write(struct bfa_diag_s *diag, u32 offset,
640 bfa_status_t bfa_diag_tsensor_query(struct bfa_diag_s *diag,
643 bfa_status_t bfa_diag_fwping(struct bfa_diag_s *diag, u32 cnt,
646 bfa_status_t bfa_diag_sfpshow(struct bfa_diag_s *diag,
649 bfa_status_t bfa_diag_memtest(struct bfa_diag_s *diag,
653 bfa_status_t bfa_diag_ledtest(struct bfa_diag_s *diag,
[all …]
/kernel/linux/linux-5.10/net/core/
Dbpf_sk_storage.c409 void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag) in bpf_sk_storage_diag_free() argument
413 if (!diag) in bpf_sk_storage_diag_free()
416 for (i = 0; i < diag->nr_maps; i++) in bpf_sk_storage_diag_free()
417 bpf_map_put(diag->maps[i]); in bpf_sk_storage_diag_free()
419 kfree(diag); in bpf_sk_storage_diag_free()
423 static bool diag_check_dup(const struct bpf_sk_storage_diag *diag, in diag_check_dup() argument
428 for (i = 0; i < diag->nr_maps; i++) { in diag_check_dup()
429 if (diag->maps[i] == map) in diag_check_dup()
439 struct bpf_sk_storage_diag *diag; in bpf_sk_storage_diag_alloc() local
455 diag = kzalloc(sizeof(*diag) + sizeof(diag->maps[0]) * nr_maps, in bpf_sk_storage_diag_alloc()
[all …]
/kernel/linux/linux-5.10/include/net/
Dbpf_sk_storage.h34 void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag);
35 int bpf_sk_storage_diag_put(struct bpf_sk_storage_diag *diag,
50 static inline void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag) in bpf_sk_storage_diag_free() argument
53 static inline int bpf_sk_storage_diag_put(struct bpf_sk_storage_diag *diag, in bpf_sk_storage_diag_put() argument
/kernel/linux/linux-5.10/drivers/s390/char/
Dsclp_ftp.c51 struct sclp_diag_evbuf *diag = (struct sclp_diag_evbuf *) evbuf; in sclp_ftp_rxcb() local
57 diag->route != SCLP_DIAG_FTP_ROUTE || in sclp_ftp_rxcb()
58 diag->mdd.ftp.pcx != SCLP_DIAG_FTP_XPCX || in sclp_ftp_rxcb()
72 sclp_ftp_ldflg = diag->mdd.ftp.ldflg; in sclp_ftp_rxcb()
73 sclp_ftp_fsize = diag->mdd.ftp.fsize; in sclp_ftp_rxcb()
74 sclp_ftp_length = diag->mdd.ftp.length; in sclp_ftp_rxcb()
/kernel/linux/linux-5.10/arch/s390/boot/
Dtext_dma.S35 diag %r1,%r2,0x14
53 diag %r1,%r0,0x210
70 diag %r2,%r4,0x26c
83 diag %r2,%r2,0x0c
117 diag %r0,%r1,0x308
/kernel/linux/linux-5.10/drivers/s390/cio/
Ddevice_id.c37 static int diag210_to_senseid(struct senseid *senseid, struct diag210 *diag) in diag210_to_senseid() argument
75 if (diag->vrdcvcla == 0x02 && diag->vrdcvtyp == 0x20) { in diag210_to_senseid()
82 if (diag->vrdcvcla == vm_devices[i].class && in diag210_to_senseid()
83 diag->vrdcvtyp == vm_devices[i].type) { in diag210_to_senseid()
/kernel/linux/linux-5.10/arch/mips/loongson64/
Dcpucfg-emul.c34 u32 diag = read_c0_diag(); in cpu_has_uca() local
37 if (diag & LOONGSON_DIAG_UCAC) in cpu_has_uca()
42 new_diag = diag | LOONGSON_DIAG_UCAC; in cpu_has_uca()
45 write_c0_diag(diag); in cpu_has_uca()
/kernel/linux/linux-5.10/drivers/net/phy/
Dsfp.c254 struct sfp_diag diag; member
676 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_t_slope), in sfp_hwmon_calibrate_temp()
677 be16_to_cpu(sfp->diag.cal_t_offset), value); in sfp_hwmon_calibrate_temp()
687 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_v_slope), in sfp_hwmon_calibrate_vcc()
688 be16_to_cpu(sfp->diag.cal_v_offset), value); in sfp_hwmon_calibrate_vcc()
695 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txi_slope), in sfp_hwmon_calibrate_bias()
696 be16_to_cpu(sfp->diag.cal_txi_offset), value); in sfp_hwmon_calibrate_bias()
703 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txpwr_slope), in sfp_hwmon_calibrate_tx_power()
704 be16_to_cpu(sfp->diag.cal_txpwr_offset), value); in sfp_hwmon_calibrate_tx_power()
784 *value = be16_to_cpu(sfp->diag.temp_low_alarm); in sfp_hwmon_temp()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile18 lib/devcom.o lib/pci_vsc.o lib/dm.o diag/fs_tracepoint.o \
19 diag/fw_tracer.o diag/crdump.o devlink.o diag/rsc_dump.o fw_reset.o
42 en/tc_tun_mplsoudp.o diag/en_tc_tracepoint.o
/kernel/linux/linux-5.10/include/linux/
Dcfi.h11 typedef void (*cfi_check_fn)(uint64_t id, void *ptr, void *diag);
14 extern void __cfi_check(uint64_t id, void *ptr, void *diag);
/kernel/linux/linux-5.10/arch/s390/kernel/
Drelocate_kernel.S62 je .diag
67 .diag: label
68 diag %r0,%r0,0x308
/kernel/linux/linux-5.10/drivers/atm/
Didt77105.c161 int diag; in set_loopback() local
163 diag = GET(DIAG) & ~IDT77105_DIAG_LCMASK; in set_loopback()
168 diag |= IDT77105_DIAG_LC_PHY_LOOPBACK; in set_loopback()
171 diag |= IDT77105_DIAG_LC_LINE_LOOPBACK; in set_loopback()
176 PUT(diag,DIAG); in set_loopback()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dappldata.h23 u16 diag; member
53 parm_list->diag = 0xdc; in appldata_asm()
/kernel/linux/linux-5.10/drivers/usb/misc/
Dftdi-elan.c801 char diag[40 *3 + 4]; in ftdi_elan_command_engine() local
802 char *d = diag; in ftdi_elan_command_engine()
805 int s = (sizeof(diag) - 1) / 3; in ftdi_elan_command_engine()
806 diag[0] = 0; in ftdi_elan_command_engine()
927 char diag[30 *3 + 4]; in ftdi_elan_respond_engine() local
928 char *d = diag; in ftdi_elan_respond_engine()
931 int s = (sizeof(diag) - 1) / 3; in ftdi_elan_respond_engine()
932 diag[0] = 0; in ftdi_elan_respond_engine()
946 packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
950 bytes_read, diag); in ftdi_elan_respond_engine()
[all …]
/kernel/linux/linux-5.10/kernel/
Dcfi.c314 void __cfi_slowpath_diag(uint64_t id, void *ptr, void *diag) in __cfi_slowpath_diag() argument
319 fn(id, ptr, diag); in __cfi_slowpath_diag()
327 void __cfi_slowpath_diag(uint64_t id, void *ptr, void *diag) in __cfi_slowpath_diag() argument
/kernel/linux/linux-5.10/drivers/pcmcia/
Dti113x.h885 u8 old, diag; in ti1250_override() local
888 diag = old & ~(TI1250_DIAG_PCI_CSC | TI1250_DIAG_PCI_IREQ); in ti1250_override()
890 diag |= TI1250_DIAG_PCI_CSC | TI1250_DIAG_PCI_IREQ; in ti1250_override()
892 if (diag != old) { in ti1250_override()
895 old, diag); in ti1250_override()
896 config_writeb(socket, TI1250_DIAGNOSTIC, diag); in ti1250_override()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dls1021a-moxa-uc-8410a.dts109 cpu-diag-red {
115 cpu-diag-green {
121 cpu-diag-yellow {
/kernel/linux/linux-5.10/tools/perf/util/
Ds390-cpumsf.c290 struct hws_diag_entry *diag = diagp; in s390_cpumsf_diag_show() local
297 diag = &local; in s390_cpumsf_diag_show()
299 if (diag->def < S390_CPUMSF_DIAG_DEF_FIRST) { in s390_cpumsf_diag_show()
304 pos, diag->def, diag->I ? 'I' : ' '); in s390_cpumsf_diag_show()
437 struct hws_diag_entry *diag; in s390_cpumsf_dump() local
465 diag = (struct hws_diag_entry *)(buf + pos); in s390_cpumsf_dump()
466 if (s390_cpumsf_diag_show(color, pos, diag)) in s390_cpumsf_dump()

123