Home
last modified time | relevance | path

Searched refs:errcode (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v5.4/net/9p/
Dprotocol.c96 int errcode = 0; in p9pdu_vreadf() local
103 errcode = -EFAULT; in p9pdu_vreadf()
112 errcode = -EFAULT; in p9pdu_vreadf()
122 errcode = -EFAULT; in p9pdu_vreadf()
132 errcode = -EFAULT; in p9pdu_vreadf()
142 errcode = p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
144 if (errcode) in p9pdu_vreadf()
149 errcode = -ENOMEM; in p9pdu_vreadf()
153 errcode = -EFAULT; in p9pdu_vreadf()
164 errcode = -EFAULT; in p9pdu_vreadf()
[all …]
/Linux-v5.4/arch/csky/include/asm/
Duaccess.h122 int errcode; \
133 : "=r"(err), "=r"(x), "=r"(ptr), "=r"(errcode) \
140 int errcode; \
151 : "=r"(err), "=r"(x), "=r"(ptr), "=r"(errcode) \
158 int errcode; \
169 : "=r"(err), "=r"(x), "=r"(ptr), "=r"(errcode) \
177 int errcode; \
196 "=r"(tmp), "=r"(errcode) \
237 int errcode; \
250 : "=r"(err), "=r"(x), "=r"(errcode) \
/Linux-v5.4/drivers/isdn/capi/
Dcapi.c117 u16 errcode; member
407 u16 errcode, datahandle; in handle_recv_skb() local
448 errcode = capi20_put_message(mp->ap, nskb); in handle_recv_skb()
450 if (errcode == CAPI_NOERROR) { in handle_recv_skb()
457 errcode); in handle_recv_skb()
460 if (errcode == CAPI_SENDQUEUEFULL) in handle_recv_skb()
492 u16 errcode; in handle_minor_send() local
540 errcode = capi20_put_message(mp->ap, skb); in handle_minor_send()
541 if (errcode == CAPI_NOERROR) { in handle_minor_send()
548 if (errcode == CAPI_SENDQUEUEFULL) { in handle_minor_send()
[all …]
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c347 int errcode, wrapped, num_wqebbs; in cmdq_sync_cmd_direct_resp() local
373 cmdq->errcode[curr_prod_idx] = &errcode; in cmdq_sync_cmd_direct_resp()
395 if (cmdq->errcode[curr_prod_idx] == &errcode) in cmdq_sync_cmd_direct_resp()
396 cmdq->errcode[curr_prod_idx] = NULL; in cmdq_sync_cmd_direct_resp()
414 if (errcode != 0) in cmdq_sync_cmd_direct_resp()
588 int errcode) in cmdq_update_errcode() argument
590 if (cmdq->errcode[prod_idx]) in cmdq_update_errcode()
591 *cmdq->errcode[prod_idx] = errcode; in cmdq_update_errcode()
601 int errcode) in cmdq_sync_cmd_handler() argument
606 cmdq_update_errcode(cmdq, prod_idx, errcode); in cmdq_sync_cmd_handler()
[all …]
Dhinic_hw_cmdq.h142 int **errcode; member
/Linux-v5.4/tools/testing/selftests/android/ion/
Dion_test.sh5 errcode=0
18 errcode=1
58 exit $errcode
/Linux-v5.4/tools/testing/selftests/safesetid/
Dsafesetid-test.sh4 errcode=0
26 exit $errcode
/Linux-v5.4/arch/x86/kvm/
Dmmu.h180 u32 errcode = PFERR_PRESENT_MASK; in permission_fault() local
199 errcode |= -pkru_bits & PFERR_PK_MASK; in permission_fault()
203 return -(u32)fault & errcode; in permission_fault()
Dpaging_tmpl.h314 u16 errcode = 0; in FNAME() local
404 errcode = PFERR_RSVD_MASK | PFERR_PRESENT_MASK; in FNAME()
417 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in FNAME()
418 if (unlikely(errcode)) in FNAME()
457 errcode |= write_fault | user_fault; in FNAME()
460 errcode |= PFERR_FETCH_MASK; in FNAME()
464 walker->fault.error_code = errcode; in FNAME()
480 if (!(errcode & PFERR_RSVD_MASK)) { in FNAME()
/Linux-v5.4/drivers/platform/x86/
Dintel_punit_ipc.c105 int errcode; in intel_punit_ipc_check_status() local
124 errcode = status & CMD_ERRCODE_MASK; in intel_punit_ipc_check_status()
125 if (errcode) { in intel_punit_ipc_check_status()
127 ipc_err_string(errcode), status); in intel_punit_ipc_check_status()
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Dnpc.h118 u8 errcode; member
198 u64 errcode : 8; member
206 u64 errcode : 8;
/Linux-v5.4/drivers/isdn/hardware/mISDN/
Dhfcsusb.c966 int k, len, errcode, offset, num_isoc_packets, fifon, maxlen, in rx_iso_complete() local
1065 errcode = usb_submit_urb(urb, GFP_ATOMIC); in rx_iso_complete()
1066 if (errcode < 0) { in rx_iso_complete()
1070 hw->name, __func__, errcode); in rx_iso_complete()
1162 errcode, hdlc, i; in tx_iso_complete() local
1234 errcode = urb->iso_frame_desc[k].status; in tx_iso_complete()
1235 if (errcode) { in tx_iso_complete()
1238 hw->name, __func__, k, errcode); in tx_iso_complete()
1344 errcode = usb_submit_urb(urb, GFP_ATOMIC); in tx_iso_complete()
1345 if (errcode < 0) { in tx_iso_complete()
[all …]
/Linux-v5.4/drivers/dma/
Dimx-dma.c379 int errcode; in imxdma_err_handler() local
396 errcode = 0; in imxdma_err_handler()
400 errcode |= IMX_DMA_ERR_BURST; in imxdma_err_handler()
404 errcode |= IMX_DMA_ERR_REQUEST; in imxdma_err_handler()
408 errcode |= IMX_DMA_ERR_TRANSFER; in imxdma_err_handler()
412 errcode |= IMX_DMA_ERR_BUFFER; in imxdma_err_handler()
419 errcode & IMX_DMA_ERR_BURST ? " burst" : "", in imxdma_err_handler()
420 errcode & IMX_DMA_ERR_REQUEST ? " request" : "", in imxdma_err_handler()
421 errcode & IMX_DMA_ERR_TRANSFER ? " transfer" : "", in imxdma_err_handler()
422 errcode & IMX_DMA_ERR_BUFFER ? " buffer" : ""); in imxdma_err_handler()
/Linux-v5.4/drivers/edac/
Dskx_common.c485 u32 errcode = GET_BITFIELD(m->status, 0, 15); in skx_mce_output_error() local
517 if (!((errcode & 0xef80) == 0x80 || (errcode & 0xef80) == 0x280)) { in skx_mce_output_error()
545 mscod, errcode, adxl_msg); in skx_mce_output_error()
551 mscod, errcode, in skx_mce_output_error()
Dpnd2_edac.c1154 u32 errcode = GET_BITFIELD(m->status, 0, 15); in pnd2_mce_output_error() local
1172 if (!((errcode & 0xef80) == 0x80)) { in pnd2_mce_output_error()
1208 errcode, daddr->chan, daddr->dimm, daddr->rank, daddr->row, daddr->bank, daddr->col); in pnd2_mce_output_error()
/Linux-v5.4/include/uapi/linux/
Dcapi.h117 __u16 errcode; member
/Linux-v5.4/include/uapi/rdma/hfi/
Dhfi1_user.h173 __u32 errcode; member
/Linux-v5.4/drivers/scsi/
Dips.c3246 int errcode; in ips_map_status() local
3270 errcode = DID_ERROR; in ips_map_status()
3275 errcode = DID_TIME_OUT; in ips_map_status()
3289 errcode = DID_NO_CONNECT; in ips_map_status()
3306 errcode = DID_OK; in ips_map_status()
3313 errcode = DID_TIME_OUT; in ips_map_status()
3318 errcode = DID_ERROR; in ips_map_status()
3325 errcode = DID_OK; in ips_map_status()
3331 errcode = DID_RESET; in ips_map_status()
3353 errcode = DID_OK; in ips_map_status()
[all …]
/Linux-v5.4/drivers/mtd/
Dmtdswap.c736 int ret, errcode; in mtdswap_gc_eblock() local
738 errcode = 0; in mtdswap_gc_eblock()
750 if (ret < 0 && !errcode) in mtdswap_gc_eblock()
751 errcode = ret; in mtdswap_gc_eblock()
754 return errcode; in mtdswap_gc_eblock()
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c1824 u16 errcode; in ieee80211_check_auth_response() local
1829 errcode = auth_parse(skb, &challenge, &chlen); in ieee80211_check_auth_response()
1830 if (!errcode) { in ieee80211_check_auth_response()
1873 IEEE80211_DEBUG_MGMT("Auth response status code 0x%x", errcode); in ieee80211_check_auth_response()
1884 u16 errcode; in ieee80211_rx_frame_softmac() local
1912 errcode = assoc_parse(ieee, skb, &aid); in ieee80211_rx_frame_softmac()
1913 if (!errcode) { in ieee80211_rx_frame_softmac()
1939 errcode); in ieee80211_rx_frame_softmac()
1941 errcode); in ieee80211_rx_frame_softmac()
/Linux-v5.4/fs/jbd2/
Djournal.c1478 int errcode; in jbd2_journal_update_sb_errno() local
1481 errcode = journal->j_errno; in jbd2_journal_update_sb_errno()
1482 if (errcode == -ESHUTDOWN) in jbd2_journal_update_sb_errno()
1483 errcode = 0; in jbd2_journal_update_sb_errno()
1484 jbd_debug(1, "JBD2: updating superblock error (errno %d)\n", errcode); in jbd2_journal_update_sb_errno()
1485 sb->s_errno = cpu_to_be32(errcode); in jbd2_journal_update_sb_errno()
/Linux-v5.4/drivers/staging/rtl8192e/
Drtllib_softmac.c2206 u16 errcode; in rtllib_rx_assoc_resp() local
2219 errcode = assoc_parse(ieee, skb, &aid); in rtllib_rx_assoc_resp()
2220 if (!errcode) { in rtllib_rx_assoc_resp()
2269 errcode); in rtllib_rx_assoc_resp()
2282 u16 errcode; in rtllib_rx_auth_resp() local
2287 errcode = auth_parse(ieee->dev, skb, &challenge, &chlen); in rtllib_rx_auth_resp()
2289 if (errcode) { in rtllib_rx_auth_resp()
2293 errcode); in rtllib_rx_auth_resp()
/Linux-v5.4/net/tipc/
Dmsg.c93 u32 onode, u32 dport, u32 oport, int errcode) in tipc_msg_create() argument
107 msg_set_errcode(msg, errcode); in tipc_msg_create()
/Linux-v5.4/net/can/j1939/
Dsocket.c832 int *errcode) in j1939_sk_alloc_skb() argument
876 *errcode = ret; in j1939_sk_alloc_skb()
882 *errcode = ret; in j1939_sk_alloc_skb()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1484 int errcode; in brcmf_sdio_rxglom() local
1587 errcode = brcmf_sdiod_recv_chain(bus->sdiodev, in brcmf_sdio_rxglom()
1593 if (errcode < 0) { in brcmf_sdio_rxglom()
1595 dlen, errcode); in brcmf_sdio_rxglom()
1612 errcode = brcmf_sdio_hdparse(bus, pfirst->data, &rd_new, in brcmf_sdio_rxglom()
1624 if (errcode) in brcmf_sdio_rxglom()
1630 errcode = brcmf_sdio_hdparse(bus, pnext->data, &rd_new, in brcmf_sdio_rxglom()
1639 if (errcode) { in brcmf_sdio_rxglom()

12