Home
last modified time | relevance | path

Searched refs:serr (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/net/rxrpc/
H A Dpeer_event.c32 struct sock_exterr_skb *serr = SKB_EXT_ERR(skb); in rxrpc_lookup_peer_local_rcu() local
48 srx->transport.sin.sin_port = serr->port; in rxrpc_lookup_peer_local_rcu()
49 switch (serr->ee.ee_origin) { in rxrpc_lookup_peer_local_rcu()
52 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu()
57 skb_network_header(skb) + serr->addr_offset + 12, in rxrpc_lookup_peer_local_rcu()
69 switch (serr->ee.ee_origin) { in rxrpc_lookup_peer_local_rcu()
71 srx->transport.sin6.sin6_port = serr->port; in rxrpc_lookup_peer_local_rcu()
73 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu()
79 srx->transport.sin.sin_port = serr->port; in rxrpc_lookup_peer_local_rcu()
81 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu()
[all …]
/openbmc/linux/net/ipv6/
H A Ddatagram.c310 struct sock_exterr_skb *serr; in ipv6_icmp_error() local
321 serr = SKB_EXT_ERR(skb); in ipv6_icmp_error()
322 serr->ee.ee_errno = err; in ipv6_icmp_error()
323 serr->ee.ee_origin = SO_EE_ORIGIN_ICMP6; in ipv6_icmp_error()
324 serr->ee.ee_type = icmph->icmp6_type; in ipv6_icmp_error()
325 serr->ee.ee_code = icmph->icmp6_code; in ipv6_icmp_error()
326 serr->ee.ee_pad = 0; in ipv6_icmp_error()
327 serr->ee.ee_info = info; in ipv6_icmp_error()
328 serr->ee.ee_data = 0; in ipv6_icmp_error()
329 serr->addr_offset = (u8 *)&(((struct ipv6hdr *)(icmph + 1))->daddr) - in ipv6_icmp_error()
[all …]
/openbmc/linux/drivers/misc/cxl/
H A Dirq.c423 void cxl_afu_decode_psl_serr(struct cxl_afu *afu, u64 serr) in cxl_afu_decode_psl_serr() argument
427 dev_crit(&afu->dev, "PSL_SERR_An: 0x%016llx\n", serr); in cxl_afu_decode_psl_serr()
428 if (serr & CXL_PSL_SERR_An_afuto) in cxl_afu_decode_psl_serr()
430 if (serr & CXL_PSL_SERR_An_afudis) in cxl_afu_decode_psl_serr()
433 if (serr & CXL_PSL_SERR_An_afuov) in cxl_afu_decode_psl_serr()
435 if (serr & CXL_PSL_SERR_An_badsrc) in cxl_afu_decode_psl_serr()
437 if (serr & CXL_PSL_SERR_An_badctx) in cxl_afu_decode_psl_serr()
439 if (serr & CXL_PSL_SERR_An_llcmdis) in cxl_afu_decode_psl_serr()
441 if (serr & CXL_PSL_SERR_An_llcmdto) in cxl_afu_decode_psl_serr()
443 if (serr & CXL_PSL_SERR_An_afupar) in cxl_afu_decode_psl_serr()
[all …]
H A Dnative.c97 u64 serr; in native_afu_reset() local
112 serr = cxl_p1n_read(afu, CXL_PSL_SERR_An); in native_afu_reset()
113 serr &= ~CXL_PSL_SERR_An_IRQ_MASKS; in native_afu_reset()
114 cxl_p1n_write(afu, CXL_PSL_SERR_An, serr); in native_afu_reset()
1101 u64 fir1, serr; in cxl_native_irq_dump_regs_psl9() local
1107 serr = cxl_p1n_read(ctx->afu, CXL_PSL_SERR_An); in cxl_native_irq_dump_regs_psl9()
1108 cxl_afu_decode_psl_serr(ctx->afu, serr); in cxl_native_irq_dump_regs_psl9()
1114 u64 fir1, fir2, fir_slice, serr, afu_debug; in cxl_native_irq_dump_regs_psl8() local
1124 serr = cxl_p1n_read(ctx->afu, CXL_PSL_SERR_An); in cxl_native_irq_dump_regs_psl8()
1125 cxl_afu_decode_psl_serr(ctx->afu, serr); in cxl_native_irq_dump_regs_psl8()
[all …]
H A Dguest.c201 u64 serr, afu_error, dsisr; in guest_slice_irq_err() local
203 rc = cxl_h_get_fn_error_interrupt(afu->guest->handle, &serr); in guest_slice_irq_err()
210 cxl_afu_decode_psl_serr(afu, serr); in guest_slice_irq_err()
214 rc = cxl_h_ack_fn_error_interrupt(afu->guest->handle, serr); in guest_slice_irq_err()
/openbmc/linux/net/ipv4/
H A Dip_sockglue.c417 struct sock_exterr_skb *serr; in ip_icmp_error() local
423 serr = SKB_EXT_ERR(skb); in ip_icmp_error()
424 serr->ee.ee_errno = err; in ip_icmp_error()
425 serr->ee.ee_origin = SO_EE_ORIGIN_ICMP; in ip_icmp_error()
426 serr->ee.ee_type = icmp_hdr(skb)->type; in ip_icmp_error()
427 serr->ee.ee_code = icmp_hdr(skb)->code; in ip_icmp_error()
428 serr->ee.ee_pad = 0; in ip_icmp_error()
429 serr->ee.ee_info = info; in ip_icmp_error()
430 serr->ee.ee_data = 0; in ip_icmp_error()
431 serr->addr_offset = (u8 *)&(((struct iphdr *)(icmp_hdr(skb) + 1))->daddr) - in ip_icmp_error()
[all …]
/openbmc/linux/net/can/j1939/
H A Dsocket.c988 struct sock_exterr_skb *serr; in __j1939_sk_errqueue() local
1031 serr = SKB_EXT_ERR(skb); in __j1939_sk_errqueue()
1032 memset(serr, 0, sizeof(*serr)); in __j1939_sk_errqueue()
1035 serr->ee.ee_errno = ENOMSG; in __j1939_sk_errqueue()
1036 serr->ee.ee_origin = SO_EE_ORIGIN_TIMESTAMPING; in __j1939_sk_errqueue()
1037 serr->ee.ee_info = SCM_TSTAMP_ACK; in __j1939_sk_errqueue()
1041 serr->ee.ee_errno = ENOMSG; in __j1939_sk_errqueue()
1042 serr->ee.ee_origin = SO_EE_ORIGIN_TIMESTAMPING; in __j1939_sk_errqueue()
1043 serr->ee.ee_info = SCM_TSTAMP_SCHED; in __j1939_sk_errqueue()
1047 serr->ee.ee_errno = session->err; in __j1939_sk_errqueue()
[all …]
/openbmc/linux/net/sched/
H A Dsch_etf.c137 struct sock_exterr_skb *serr; in report_sock_error() local
149 serr = SKB_EXT_ERR(clone); in report_sock_error()
150 serr->ee.ee_errno = err; in report_sock_error()
151 serr->ee.ee_origin = SO_EE_ORIGIN_TXTIME; in report_sock_error()
152 serr->ee.ee_type = 0; in report_sock_error()
153 serr->ee.ee_code = code; in report_sock_error()
154 serr->ee.ee_pad = 0; in report_sock_error()
155 serr->ee.ee_data = (txtime >> 32); /* high part of tstamp */ in report_sock_error()
156 serr->ee.ee_info = txtime; /* low part of tstamp */ in report_sock_error()
/openbmc/linux/tools/testing/selftests/tc-testing/plugin-lib/
H A DbuildebpfPlugin.py58 (rawout, serr) = proc.communicate()
60 if proc.returncode != 0 and len(serr) > 0:
61 foutput = serr.decode("utf-8")
H A DnsPlugin.py137 (rawout, serr) = proc.communicate()
139 if proc.returncode != 0 and len(serr) > 0:
140 foutput = serr.decode("utf-8")
/openbmc/qemu/io/
H A Dchannel-socket.c733 struct sock_extended_err *serr; in qio_channel_socket_flush() local
735 char control[CMSG_SPACE(sizeof(*serr))]; in qio_channel_socket_flush()
774 serr = (void *) CMSG_DATA(cm); in qio_channel_socket_flush()
775 if (serr->ee_errno != SO_EE_ORIGIN_NONE) { in qio_channel_socket_flush()
776 error_setg_errno(errp, serr->ee_errno, in qio_channel_socket_flush()
780 if (serr->ee_origin != SO_EE_ORIGIN_ZEROCOPY) { in qio_channel_socket_flush()
781 error_setg_errno(errp, serr->ee_origin, in qio_channel_socket_flush()
785 if (serr->ee_data < serr->ee_info) { in qio_channel_socket_flush()
786 error_setg_errno(errp, serr->ee_origin, in qio_channel_socket_flush()
792 sioc->zero_copy_sent += serr->ee_data - serr->ee_info + 1; in qio_channel_socket_flush()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dtxtimestamp.c310 struct sock_extended_err *serr = NULL; in __recv_errmsg_cmsg() local
327 serr = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
328 if (serr->ee_errno != ENOMSG || in __recv_errmsg_cmsg()
329 serr->ee_origin != SO_EE_ORIGIN_TIMESTAMPING) { in __recv_errmsg_cmsg()
331 serr->ee_errno, in __recv_errmsg_cmsg()
332 serr->ee_origin); in __recv_errmsg_cmsg()
333 serr = NULL; in __recv_errmsg_cmsg()
349 if (serr && tss) { in __recv_errmsg_cmsg()
350 print_timestamp(tss, serr->ee_info, serr->ee_data, in __recv_errmsg_cmsg()
352 serr = NULL; in __recv_errmsg_cmsg()
H A Dmsg_zerocopy.c397 struct sock_extended_err *serr; in do_recv_completion() local
427 serr = (void *) CMSG_DATA(cm); in do_recv_completion()
429 if (serr->ee_origin != SO_EE_ORIGIN_ZEROCOPY) in do_recv_completion()
430 error(1, 0, "serr: wrong origin: %u", serr->ee_origin); in do_recv_completion()
431 if (serr->ee_errno != 0) in do_recv_completion()
432 error(1, 0, "serr: wrong error code: %u", serr->ee_errno); in do_recv_completion()
434 hi = serr->ee_data; in do_recv_completion()
435 lo = serr->ee_info; in do_recv_completion()
446 zerocopy = !(serr->ee_code & SO_EE_CODE_ZEROCOPY_COPIED); in do_recv_completion()
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dmisc.py70 serr = subprocess.STDOUT
74 stderr=serr, shell=shell)
75 sout, serr = process.communicate()
77 out = ''.join([out.decode('utf-8') for out in [sout, serr] if out])
/openbmc/linux/Documentation/networking/
H A Dmsg_zerocopy.rst189 struct sock_extended_err *serr;
197 serr = (void *) CMSG_DATA(cm);
198 if (serr->ee_errno != 0 ||
199 serr->ee_origin != SO_EE_ORIGIN_ZEROCOPY)
200 error(1, 0, "serr");
202 printf("completed: %u..%u\n", serr->ee_info, serr->ee_data);
/openbmc/linux/drivers/edac/
H A Dbluefield_edac.c99 u32 ecc_latch_select, dram_syndrom, serr, derr, syndrom; in bluefield_gather_report_ecc() local
120 serr = FIELD_GET(MLXBF_SYNDROM__SERR, dram_syndrom); in bluefield_gather_report_ecc()
124 if ((is_single_ecc && !serr) || (!is_single_ecc && !derr)) { in bluefield_gather_report_ecc()
/openbmc/linux/drivers/net/arcnet/
H A Darcnet.c431 struct sock_exterr_skb *serr; in arcnet_reply_tasklet() local
452 serr = SKB_EXT_ERR(ackskb); in arcnet_reply_tasklet()
453 memset(serr, 0, sizeof(*serr)); in arcnet_reply_tasklet()
454 serr->ee.ee_errno = ENOMSG; in arcnet_reply_tasklet()
455 serr->ee.ee_origin = SO_EE_ORIGIN_TXSTATUS; in arcnet_reply_tasklet()
456 serr->ee.ee_data = skb_shinfo(skb)->tskey; in arcnet_reply_tasklet()
457 serr->ee.ee_info = lp->reply_status; in arcnet_reply_tasklet()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pci-defs.h1392 uint64_t serr:1; member
1416 uint64_t serr:1;
1463 uint64_t serr:1; member
1487 uint64_t serr:1;
1532 uint64_t serr:1; member
1556 uint64_t serr:1;
1609 uint64_t serr:1; member
1633 uint64_t serr:1;
1680 uint64_t serr:1; member
1704 uint64_t serr:1;
[all …]
/openbmc/linux/net/core/
H A Dskbuff.c1629 struct sock_exterr_skb *serr = SKB_EXT_ERR(skb); in skb_zerocopy_notify_extend() local
1633 old_lo = serr->ee.ee_info; in skb_zerocopy_notify_extend()
1634 old_hi = serr->ee.ee_data; in skb_zerocopy_notify_extend()
1643 serr->ee.ee_data += len; in skb_zerocopy_notify_extend()
1650 struct sock_exterr_skb *serr; in __msg_zerocopy_callback() local
1671 serr = SKB_EXT_ERR(skb); in __msg_zerocopy_callback()
1672 memset(serr, 0, sizeof(*serr)); in __msg_zerocopy_callback()
1673 serr->ee.ee_errno = 0; in __msg_zerocopy_callback()
1674 serr->ee.ee_origin = SO_EE_ORIGIN_ZEROCOPY; in __msg_zerocopy_callback()
1675 serr->ee.ee_data = hi; in __msg_zerocopy_callback()
[all …]
/openbmc/u-boot/drivers/ata/
H A Ddwc_ahsata.c37 u32 serr; member
224 while (!(readl(&port_mmio->serr) | SATA_PORT_SERR_DIAG_X) in ahci_host_init()
237 tmp = readl(&port_mmio->serr); in ahci_host_init()
240 writel(tmp, &port_mmio->serr); in ahci_host_init()
/openbmc/linux/drivers/s390/cio/
H A Ddevice_status.c154 cdev_sublog->serr = sublog->serr; in ccw_device_accumulate_esw()
/openbmc/linux/arch/s390/include/asm/
H A Dcio.h140 __u32 serr : 1; member
/openbmc/linux/tools/testing/selftests/tc-testing/
H A Dtdc.py199 (rawout, serr) = proc.communicate(timeout=NAMES['TIMEOUT'])
200 if proc.returncode != 0 and len(serr) > 0:
201 foutput = serr.decode("utf-8", errors="ignore")
/openbmc/linux/tools/perf/
H A Dbuiltin-top.c814 char serr[256]; in perf_event__process_sample() local
816 dso__strerror_load(map__dso(al.map), serr, sizeof(serr)); in perf_event__process_sample()
818 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample()
/openbmc/linux/drivers/ata/
H A Dsata_mv.c2605 u32 edma_err_cause, eh_freeze_mask, serr = 0; in mv_err_intr() local
2619 sata_scr_read(&ap->link, SCR_ERROR, &serr); in mv_err_intr()
2620 sata_scr_write_flush(&ap->link, SCR_ERROR, serr); in mv_err_intr()
2693 ata_ehi_push_desc(ehi, "SError=%08x", serr); in mv_err_intr()
2704 ehi->serror |= serr; in mv_err_intr()
3666 void __iomem *serr, *shd_base = port_mmio + SHD_BLK; in mv_port_init() local
3684 serr = port_mmio + mv_scr_offset(SCR_ERROR); in mv_port_init()
3685 writelfl(readl(serr), serr); in mv_port_init()

12