Home
last modified time | relevance | path

Searched refs:ecode (Results 1 – 25 of 41) sorted by relevance

12

/linux/drivers/infiniband/sw/siw/
H A Diwarp.h185 __be32 ecode : 8; member
195 __be32 ecode : 8; member
240 return term->ecode; in __rdmap_term_ecode()
244 u8 ecode) in __rdmap_term_set_ecode() argument
246 term->ecode = ecode; in __rdmap_term_set_ecode()
H A Dsiw_qp_rx.c170 enum ddp_ecode ecode; in siw_rresp_check_ntoh() local
193 ecode = DDP_ECODE_T_INVALID_STAG; in siw_rresp_check_ntoh()
200 ecode = DDP_ECODE_T_BASE_BOUNDS; in siw_rresp_check_ntoh()
208 ecode = DDP_ECODE_T_BASE_BOUNDS; in siw_rresp_check_ntoh()
214 DDP_ETYPE_TAGGED_BUF, ecode, 0); in siw_rresp_check_ntoh()
233 enum ddp_ecode ecode; in siw_write_check_ntoh() local
247 ecode = DDP_ECODE_T_INVALID_STAG; in siw_write_check_ntoh()
255 ecode = DDP_ECODE_T_BASE_BOUNDS; in siw_write_check_ntoh()
262 DDP_ETYPE_TAGGED_BUF, ecode, 0); in siw_write_check_ntoh()
282 enum ddp_ecode ecode; in siw_send_check_ntoh() local
[all …]
H A Dsiw_qp.c341 u8 ecode, int in_tx) in siw_init_terminate() argument
347 qp->term_info.ecode = ecode; in siw_init_terminate()
352 layer, etype, ecode, in_tx ? "yes" : "no"); in siw_init_terminate()
419 __rdmap_term_set_ecode(term, qp->term_info.ecode); in siw_send_terminate()
488 if ((qp->term_info.ecode == RDMAP_ECODE_VERSION) || in siw_send_terminate()
489 (qp->term_info.ecode == RDMAP_ECODE_OPCODE)) in siw_send_terminate()
517 (qp->term_info.ecode == DDP_ECODE_T_VERSION)) || in siw_send_terminate()
519 (qp->term_info.ecode == DDP_ECODE_UT_VERSION))) in siw_send_terminate()
/linux/drivers/net/ethernet/amd/pds_core/
H A Dadminq.c21 u16 ecode = le16_to_cpu(comp->event.ecode); in pdsc_process_notifyq() local
23 switch (ecode) { in pdsc_process_notifyq()
26 ecode, eid); in pdsc_process_notifyq()
32 ecode, eid); in pdsc_process_notifyq()
38 ecode, eid); in pdsc_process_notifyq()
43 ecode, eid); in pdsc_process_notifyq()
/linux/arch/loongarch/kvm/
H A Dexit.c346 static int kvm_handle_gspr(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_gspr() argument
668 static int kvm_handle_rdwr_fault(struct kvm_vcpu *vcpu, bool write, int ecode) in kvm_handle_rdwr_fault() argument
682 ret = kvm_handle_mm_fault(vcpu, badv, write, ecode); in kvm_handle_rdwr_fault()
712 static int kvm_handle_read_fault(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_read_fault() argument
714 return kvm_handle_rdwr_fault(vcpu, false, ecode); in kvm_handle_read_fault()
717 static int kvm_handle_write_fault(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_write_fault() argument
719 return kvm_handle_rdwr_fault(vcpu, true, ecode); in kvm_handle_write_fault()
738 static int kvm_handle_fpu_disabled(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_fpu_disabled() argument
795 static int kvm_handle_lsx_disabled(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_lsx_disabled() argument
815 static int kvm_handle_lasx_disabled(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_lasx_disabled() argument
[all …]
/linux/tools/sched_ext/
H A Dscx_cpu0.c66 __u64 ecode; in main() local
101 ecode = UEI_REPORT(skel, uei); in main()
104 if (UEI_ECODE_RESTART(ecode)) in main()
H A Dscx_simple.c68 __u64 ecode; in main() local
104 ecode = UEI_REPORT(skel, uei); in main()
107 if (UEI_ECODE_RESTART(ecode)) in main()
H A Dscx_sdt.c48 __u64 ecode; in main() local
96 ecode = UEI_REPORT(skel, uei); in main()
99 if (UEI_ECODE_RESTART(ecode)) in main()
H A Dscx_central.c49 __u64 seq = 0, ecode; in main() local
120 ecode = UEI_REPORT(skel, uei); in main()
123 if (UEI_ECODE_RESTART(ecode)) in main()
H A Dscx_pair.c49 __u64 seq = 0, ecode; in main() local
190 ecode = UEI_REPORT(skel, uei);
193 if (UEI_ECODE_RESTART(ecode))
H A Dscx_flatcg.c138 __u64 ecode; in main() local
237 ecode = UEI_REPORT(skel, uei); in main()
240 if (UEI_ECODE_RESTART(ecode)) in main()
H A Dscx_userland.c430 __u64 ecode; in main() local
440 ecode = UEI_REPORT(skel, uei); in main()
443 if (UEI_ECODE_RESTART(ecode)) in main()
/linux/drivers/crypto/caam/
H A Dkey_gen.c18 int ecode = 0; in split_key_done() local
23 ecode = caam_jr_strstatus(dev, err); in split_key_done()
25 res->err = ecode; in split_key_done()
H A Dblob_gen.c47 int ecode = 0; in caam_blob_job_done() local
52 ecode = caam_jr_strstatus(dev, err); in caam_blob_job_done()
54 res->err = ecode; in caam_blob_job_done()
H A Dcaamalg_qi2.c1295 int ecode = 0; in aead_encrypt_done() local
1300 ecode = caam_qi2_strstatus(ctx->dev, status); in aead_encrypt_done()
1304 aead_request_complete(req, ecode); in aead_encrypt_done()
1316 int ecode = 0; in aead_decrypt_done() local
1321 ecode = caam_qi2_strstatus(ctx->dev, status); in aead_decrypt_done()
1325 aead_request_complete(req, ecode); in aead_decrypt_done()
1402 int ecode = 0; in skcipher_encrypt_done() local
1408 ecode = caam_qi2_strstatus(ctx->dev, status); in skcipher_encrypt_done()
1424 if (!ecode) in skcipher_encrypt_done()
1429 skcipher_request_complete(req, ecode); in skcipher_encrypt_done()
[all …]
H A Dcaamhash.c595 int ecode = 0; in ahash_done_cpy() local
604 ecode = caam_jr_strstatus(jrdev, err); in ahash_done_cpy()
619 ahash_request_complete(req, ecode); in ahash_done_cpy()
621 crypto_finalize_hash_request(jrp->engine, req, ecode); in ahash_done_cpy()
646 int ecode = 0; in ahash_done_switch() local
654 ecode = caam_jr_strstatus(jrdev, err); in ahash_done_switch()
681 ahash_request_complete(req, ecode); in ahash_done_switch()
683 crypto_finalize_hash_request(jrp->engine, req, ecode); in ahash_done_switch()
/linux/drivers/vfio/pci/pds/
H A Dpci_drv.c47 unsigned long ecode, void *data) in pds_vfio_pci_notify_handler() argument
54 dev_dbg(dev, "%s: event code %lu\n", __func__, ecode); in pds_vfio_pci_notify_handler()
64 if (ecode == PDS_EVENT_RESET) { in pds_vfio_pci_notify_handler()
/linux/arch/riscv/kvm/
H A Dvcpu_pmu.c121 u32 ecode = get_event_code(eidx); in kvm_pmu_get_perf_event_config() local
126 if (ecode < SBI_PMU_HW_GENERAL_MAX) in kvm_pmu_get_perf_event_config()
127 config = kvm_pmu_get_perf_event_hw_config(ecode); in kvm_pmu_get_perf_event_config()
130 config = kvm_pmu_get_perf_event_cache_config(ecode); in kvm_pmu_get_perf_event_config()
139 if (ecode < SBI_PMU_FW_MAX) in kvm_pmu_get_perf_event_config()
140 config = (1ULL << 63) | ecode; in kvm_pmu_get_perf_event_config()
152 u32 ecode = get_event_code(eidx); in kvm_pmu_get_fixed_pmc_index() local
157 if (ecode == SBI_PMU_HW_CPU_CYCLES) in kvm_pmu_get_fixed_pmc_index()
159 else if (ecode == SBI_PMU_HW_INSTRUCTIONS) in kvm_pmu_get_fixed_pmc_index()
/linux/drivers/infiniband/hw/cxgb4/
H A Dqp.c1422 u8 *ecode) in build_term_codes() argument
1432 *ecode = 0; in build_term_codes()
1448 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
1451 *ecode = RDMAP_INV_STAG; in build_term_codes()
1458 *ecode = RDMAP_CANT_INV_STAG; in build_term_codes()
1460 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
1464 *ecode = RDMAP_STAG_NOT_ASSOC; in build_term_codes()
1468 *ecode = RDMAP_ACC_VIOL; in build_term_codes()
1472 *ecode = RDMAP_TO_WRAP; in build_term_codes()
1477 *ecode = DDPT_BASE_BOUNDS; in build_term_codes()
[all …]
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.c434 union otx_cpt_error_code ecode; in cpt_process_ccode() local
436 ecode.u = be64_to_cpup((__be64 *)cpt_info->out_buffer); in cpt_process_ccode()
447 ecode.s.ccode); in cpt_process_ccode()
470 if (ecode.s.ccode) { in cpt_process_ccode()
480 ecode.s.ccode == ERR_SCATTER_GATHER_WRITE_LENGTH) { in cpt_process_ccode()
487 ecode.s.ccode); in cpt_process_ccode()
/linux/arch/loongarch/kernel/
H A Dtraps.c254 static const char *humanize_exc_name(unsigned int ecode, unsigned int esubcode) in humanize_exc_name() argument
261 switch (ecode) { in humanize_exc_name()
319 unsigned int ecode = FIELD_GET(CSR_ESTAT_EXC, x); in print_estat() local
322 printk("ESTAT: %08lx [%s] (", x, humanize_exc_name(ecode, esubcode)); in print_estat()
324 pr_cont(" ECode=%d EsubCode=%d)\n", (int) ecode, (int) esubcode); in print_estat()
/linux/drivers/iio/adc/
H A Drohm-bd79124.c865 u64 ecode; in bd79124_event_handler() local
868 ecode = IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, i, in bd79124_event_handler()
872 iio_push_event(iio_dev, ecode, data->timestamp); in bd79124_event_handler()
887 ecode = IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, i, in bd79124_event_handler()
891 iio_push_event(iio_dev, ecode, data->timestamp); in bd79124_event_handler()
/linux/tools/testing/selftests/net/
H A Dreuseport_bpf.c343 struct bpf_insn ecode[] = { in test_filter_no_reuseport()
356 eprog.insn_cnt = ARRAY_SIZE(ecode); in test_filter_no_reuseport()
357 eprog.insns = (unsigned long) &ecode; in test_filter_no_reuseport()
342 struct bpf_insn ecode[] = { test_filter_no_reuseport() local
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv50.c647 u32 ecode = nvkm_rd32(device, 0x400110); in nv50_gr_intr() local
648 en = nvkm_enum_find(nv50_data_error_names, ecode); in nv50_gr_intr()
650 ecode, en ? en->name : ""); in nv50_gr_intr()
/linux/drivers/vdpa/pds/
H A Dvdpa_dev.c27 unsigned long ecode, in pds_vdpa_notify_handler() argument
33 dev_dbg(dev, "%s: event code %lu\n", __func__, ecode); in pds_vdpa_notify_handler()
35 if (ecode == PDS_EVENT_RESET || ecode == PDS_EVENT_LINK_CHANGE) { in pds_vdpa_notify_handler()

12