Home
last modified time | relevance | path

Searched refs:diag (Results 1 - 25 of 189) sorted by relevance

12345678

/kernel/linux/linux-6.6/kernel/debug/kdb/
H A Dkdb_support.c345 int diag; in kdb_getphysword() local
354 diag = kdb_getphys(&w1, addr, sizeof(w1)); in kdb_getphysword()
355 if (!diag) in kdb_getphysword()
359 diag = kdb_getphys(&w2, addr, sizeof(w2)); in kdb_getphysword()
360 if (!diag) in kdb_getphysword()
364 diag = kdb_getphys(&w4, addr, sizeof(w4)); in kdb_getphysword()
365 if (!diag) in kdb_getphysword()
370 diag = kdb_getphys(&w8, addr, sizeof(w8)); in kdb_getphysword()
371 if (!diag) in kdb_getphysword()
377 diag in kdb_getphysword()
395 int diag; kdb_getword() local
444 int diag; kdb_putword() local
[all...]
H A 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...]
H A Dkdb_main.c339 int diag; in kdbgetintenv() local
341 diag = kdbgetulenv(match, &val); in kdbgetintenv()
342 if (!diag) in kdbgetintenv()
344 return diag; in kdbgetintenv()
550 int diag; in kdbgetaddrarg() local
592 diag = kdbgetulenv(&symname[1], &addr); in kdbgetaddrarg()
593 if (diag) in kdbgetaddrarg()
594 return diag; in kdbgetaddrarg()
596 diag = kdb_check_regs(); in kdbgetaddrarg()
597 if (diag) in kdbgetaddrarg()
677 kdb_cmderror(int diag) kdb_cmderror() argument
1230 int diag; kdb_local() local
1664 int diag, nextarg = 1; kdb_md() local
1794 int diag; kdb_mm() local
1838 int diag; kdb_go() local
1953 int diag; kdb_rm() local
2044 int diag; kdb_ef() local
2084 int diag; kdb_dmesg() local
2245 int diag; kdb_cpu() local
2379 int diag; kdb_pid() local
2544 int cpu, diag, nextarg = 1; kdb_per_cpu() local
2904 int i, diag; kdb_cmd_init() local
[all...]
H A 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()
394 int diag = 0; kdb_bc() local
[all...]
H A Dkdb_io.c222 int diag, dtab_count; in kdb_read() local
226 diag = kdbgetintenv("DTABCOUNT", &dtab_count); in kdb_read()
227 if (diag) in kdb_read()
614 int diag; in vkdb_printf() local
639 diag = kdbgetintenv("LINES", &linecount); in vkdb_printf()
640 if (diag || linecount <= 1) in vkdb_printf()
643 diag = kdbgetintenv("COLUMNS", &colcount); in vkdb_printf()
644 if (diag || colcount <= 1) in vkdb_printf()
647 diag = kdbgetintenv("LOGGING", &logging); in vkdb_printf()
648 if (diag) in vkdb_printf()
[all...]
/kernel/linux/linux-6.6/drivers/s390/scsi/
H A Dzfcp_diag.c36 struct zfcp_diag_adapter *diag; in zfcp_diag_adapter_setup() local
39 diag = kzalloc(sizeof(*diag), GFP_KERNEL); in zfcp_diag_adapter_setup()
40 if (diag == NULL) in zfcp_diag_adapter_setup()
43 diag->max_age = (5 * 1000); /* default value: 5 s */ in zfcp_diag_adapter_setup()
46 hdr = &diag->port_data.header; in zfcp_diag_adapter_setup()
49 hdr->buffer = &diag->port_data.data; in zfcp_diag_adapter_setup()
50 hdr->buffer_size = sizeof(diag->port_data.data); in zfcp_diag_adapter_setup()
52 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup()
55 hdr = &diag in zfcp_diag_adapter_setup()
[all...]
/kernel/linux/linux-5.10/drivers/s390/scsi/
H A 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 in zfcp_diag_adapter_setup()
[all...]
/kernel/linux/linux-5.10/kernel/debug/kdb/
H A 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...]
H A 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()
686 kdb_cmderror(int diag) kdb_cmderror() argument
1245 int diag; kdb_local() local
1679 int diag, nextarg = 1; kdb_md() local
1809 int diag; kdb_mm() local
1853 int diag; kdb_go() local
1968 int diag; kdb_rm() local
2059 int diag; kdb_ef() local
2152 int diag; kdb_dmesg() local
2313 int diag; kdb_cpu() local
2446 int diag; kdb_pid() local
2621 int cpu, diag, nextarg = 1; kdb_per_cpu() local
2949 int i, diag; kdb_cmd_init() local
[all...]
H A 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()
394 int diag = 0; kdb_bc() local
[all...]
H A 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 in kdb_getphysword()
455 int diag; kdb_getword() local
504 int diag; kdb_putword() local
[all...]
H A 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()
590 int diag; in vkdb_printf() local
615 diag = kdbgetintenv("LINES", &linecount); in vkdb_printf()
616 if (diag || linecount <= 1) in vkdb_printf()
619 diag = kdbgetintenv("COLUMNS", &colcount); in vkdb_printf()
620 if (diag || colcount <= 1) in vkdb_printf()
623 diag = kdbgetintenv("LOGGING", &logging); in vkdb_printf()
624 if (diag) in vkdb_printf()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/bfa/
H A Dbfa_ioc.c2208 * Interface used by diag module to do firmware boot with memory test
4713 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 in bfa_diag_notify()
4757 struct bfa_diag_s *diag = cbarg; bfa_diag_memtest_done() local
4810 diag_fwping_send(struct bfa_diag_s *diag) diag_fwping_send() argument
4841 diag_fwping_comp(struct bfa_diag_s *diag, struct bfi_diag_fwping_rsp_s *diag_rsp) diag_fwping_comp() argument
4897 diag_tempsensor_send(struct bfa_diag_s *diag) diag_tempsensor_send() argument
4911 diag_tempsensor_comp(struct bfa_diag_s *diag, bfi_diag_ts_rsp_t *rsp) diag_tempsensor_comp() argument
4953 diag_ledtest_send(struct bfa_diag_s *diag, struct bfa_diag_ledtest_s *ledtest) diag_ledtest_send() argument
4985 diag_ledtest_comp(struct bfa_diag_s *diag, struct bfi_diag_ledtest_rsp_s *msg) diag_ledtest_comp() argument
4996 diag_portbeacon_send(struct bfa_diag_s *diag, bfa_boolean_t beacon, u32 sec) diag_portbeacon_send() argument
5011 diag_portbeacon_comp(struct bfa_diag_s *diag) diag_portbeacon_comp() argument
5025 struct bfa_diag_s *diag = diagarg; bfa_diag_intr() local
5059 bfa_diag_memtest(struct bfa_diag_s *diag, struct bfa_diag_memtest_s *memtest, u32 pattern, struct bfa_diag_memtest_result *result, bfa_cb_diag_t cbfn, void *cbarg) bfa_diag_memtest() argument
5105 bfa_diag_fwping(struct bfa_diag_s *diag, u32 cnt, u32 data, struct bfa_diag_results_fwping *result, bfa_cb_diag_t cbfn, void *cbarg) bfa_diag_fwping() argument
5154 bfa_diag_tsensor_query(struct bfa_diag_s *diag, struct bfa_diag_results_tempsensor_s *result, bfa_cb_diag_t cbfn, void *cbarg) bfa_diag_tsensor_query() argument
5190 bfa_diag_ledtest(struct bfa_diag_s *diag, struct bfa_diag_ledtest_s *ledtest) bfa_diag_ledtest() argument
5221 bfa_diag_beacon_port(struct bfa_diag_s *diag, bfa_boolean_t beacon, bfa_boolean_t link_e2e_beacon, uint32_t sec) bfa_diag_beacon_port() argument
5261 bfa_diag_attach(struct bfa_diag_s *diag, struct bfa_ioc_s *ioc, void *dev, bfa_cb_diag_beacon_t cbfn_beacon, struct bfa_trc_mod_s *trcmod) bfa_diag_attach() argument
5281 bfa_diag_memclaim(struct bfa_diag_s *diag, u8 *dm_kva, u64 dm_pa) bfa_diag_memclaim() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/bfa/
H A Dbfa_ioc.c2208 * Interface used by diag module to do firmware boot with memory test
4714 struct bfa_diag_s *diag = diag_arg; in bfa_diag_notify() local
4716 bfa_trc(diag, event); in bfa_diag_notify()
4717 bfa_trc(diag, diag->block); in bfa_diag_notify()
4718 bfa_trc(diag, diag->fwping.lock); in bfa_diag_notify()
4719 bfa_trc(diag, diag->tsensor.lock); in bfa_diag_notify()
4724 if (diag in bfa_diag_notify()
4758 struct bfa_diag_s *diag = cbarg; bfa_diag_memtest_done() local
4811 diag_fwping_send(struct bfa_diag_s *diag) diag_fwping_send() argument
4842 diag_fwping_comp(struct bfa_diag_s *diag, struct bfi_diag_fwping_rsp_s *diag_rsp) diag_fwping_comp() argument
4898 diag_tempsensor_send(struct bfa_diag_s *diag) diag_tempsensor_send() argument
4912 diag_tempsensor_comp(struct bfa_diag_s *diag, bfi_diag_ts_rsp_t *rsp) diag_tempsensor_comp() argument
4954 diag_ledtest_send(struct bfa_diag_s *diag, struct bfa_diag_ledtest_s *ledtest) diag_ledtest_send() argument
4986 diag_ledtest_comp(struct bfa_diag_s *diag, struct bfi_diag_ledtest_rsp_s *msg) diag_ledtest_comp() argument
4997 diag_portbeacon_send(struct bfa_diag_s *diag, bfa_boolean_t beacon, u32 sec) diag_portbeacon_send() argument
5012 diag_portbeacon_comp(struct bfa_diag_s *diag) diag_portbeacon_comp() argument
5026 struct bfa_diag_s *diag = diagarg; bfa_diag_intr() local
5060 bfa_diag_memtest(struct bfa_diag_s *diag, struct bfa_diag_memtest_s *memtest, u32 pattern, struct bfa_diag_memtest_result *result, bfa_cb_diag_t cbfn, void *cbarg) bfa_diag_memtest() argument
5106 bfa_diag_fwping(struct bfa_diag_s *diag, u32 cnt, u32 data, struct bfa_diag_results_fwping *result, bfa_cb_diag_t cbfn, void *cbarg) bfa_diag_fwping() argument
5155 bfa_diag_tsensor_query(struct bfa_diag_s *diag, struct bfa_diag_results_tempsensor_s *result, bfa_cb_diag_t cbfn, void *cbarg) bfa_diag_tsensor_query() argument
5191 bfa_diag_ledtest(struct bfa_diag_s *diag, struct bfa_diag_ledtest_s *ledtest) bfa_diag_ledtest() argument
5222 bfa_diag_beacon_port(struct bfa_diag_s *diag, bfa_boolean_t beacon, bfa_boolean_t link_e2e_beacon, uint32_t sec) bfa_diag_beacon_port() argument
5262 bfa_diag_attach(struct bfa_diag_s *diag, struct bfa_ioc_s *ioc, void *dev, bfa_cb_diag_beacon_t cbfn_beacon, struct bfa_trc_mod_s *trcmod) bfa_diag_attach() argument
5282 bfa_diag_memclaim(struct bfa_diag_s *diag, u8 *dm_kva, u64 dm_pa) bfa_diag_memclaim() argument
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dbpf_sk_storage.c407 void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag) in bpf_sk_storage_diag_free() argument
411 if (!diag) in bpf_sk_storage_diag_free()
414 for (i = 0; i < diag->nr_maps; i++) in bpf_sk_storage_diag_free()
415 bpf_map_put(diag->maps[i]); in bpf_sk_storage_diag_free()
417 kfree(diag); in bpf_sk_storage_diag_free()
421 static bool diag_check_dup(const struct bpf_sk_storage_diag *diag, in diag_check_dup() argument
426 for (i = 0; i < diag->nr_maps; i++) { in diag_check_dup()
427 if (diag->maps[i] == map) in diag_check_dup()
437 struct bpf_sk_storage_diag *diag; in bpf_sk_storage_diag_alloc() local
456 diag in bpf_sk_storage_diag_alloc()
585 bpf_sk_storage_diag_put(struct bpf_sk_storage_diag *diag, struct sock *sk, struct sk_buff *skb, int stg_array_type, unsigned int *res_diag_size) bpf_sk_storage_diag_put() argument
[all...]
/kernel/linux/linux-5.10/include/net/
H A 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-6.6/include/net/
H A Dbpf_sk_storage.h35 void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag);
36 int bpf_sk_storage_diag_put(struct bpf_sk_storage_diag *diag,
51 static inline void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag) in bpf_sk_storage_diag_free() argument
54 static inline int bpf_sk_storage_diag_put(struct bpf_sk_storage_diag *diag, in bpf_sk_storage_diag_put() argument
/kernel/linux/linux-6.6/net/core/
H A Dbpf_sk_storage.c457 void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag) in bpf_sk_storage_diag_free() argument
461 if (!diag) in bpf_sk_storage_diag_free()
464 for (i = 0; i < diag->nr_maps; i++) in bpf_sk_storage_diag_free()
465 bpf_map_put(diag->maps[i]); in bpf_sk_storage_diag_free()
467 kfree(diag); in bpf_sk_storage_diag_free()
471 static bool diag_check_dup(const struct bpf_sk_storage_diag *diag, in diag_check_dup() argument
476 for (i = 0; i < diag->nr_maps; i++) { in diag_check_dup()
477 if (diag->maps[i] == map) in diag_check_dup()
487 struct bpf_sk_storage_diag *diag; in bpf_sk_storage_diag_alloc() local
506 diag in bpf_sk_storage_diag_alloc()
634 bpf_sk_storage_diag_put(struct bpf_sk_storage_diag *diag, struct sock *sk, struct sk_buff *skb, int stg_array_type, unsigned int *res_diag_size) bpf_sk_storage_diag_put() argument
[all...]
/kernel/linux/linux-5.10/arch/s390/boot/
H A Dtext_dma.S35 diag %r1,%r2,0x14
53 diag %r1,%r0,0x210
70 diag %r2,%r4,0x26c
83 diag %r2,%r2,0x0c
91 * Calls diag 308 subcode 1 and continues execution
117 diag %r0,%r1,0x308
/kernel/linux/linux-5.10/drivers/s390/char/
H A 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/drivers/s390/cio/
H A Ddevice_id.c18 #include <asm/diag.h>
31 * diag210_to_senseid - convert diag 0x210 data to sense id information
33 * @diag: diag 0x210 data
37 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()
94 * diag_get_dev_info - retrieve device information via diag
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Ddevice_id.c18 #include <asm/diag.h>
31 * diag210_to_senseid - convert diag 0x210 data to sense id information
33 * @diag: diag 0x210 data
37 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()
94 * diag210_get_dev_info - retrieve device information via diag
[all...]
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dsclp_ftp.c54 struct sclp_diag_evbuf *diag = (struct sclp_diag_evbuf *) evbuf; in sclp_ftp_rxcb() local
60 diag->route != SCLP_DIAG_FTP_ROUTE || in sclp_ftp_rxcb()
61 diag->mdd.ftp.pcx != SCLP_DIAG_FTP_XPCX || in sclp_ftp_rxcb()
75 sclp_ftp_ldflg = diag->mdd.ftp.ldflg; in sclp_ftp_rxcb()
76 sclp_ftp_fsize = diag->mdd.ftp.fsize; in sclp_ftp_rxcb()
77 sclp_ftp_length = diag->mdd.ftp.length; in sclp_ftp_rxcb()
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dappldata.h11 #include <asm/diag.h>
23 u16 diag; member
53 parm_list->diag = 0xdc; in appldata_asm()
61 " diag %1,%0,0xdc" in appldata_asm()
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dappldata.h12 #include <asm/diag.h>
23 u16 diag; member
53 parm_list->diag = 0xdc; in appldata_asm()
61 " diag %1,%0,0xdc" in appldata_asm()

Completed in 26 milliseconds

12345678