Home
last modified time | relevance | path

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

12

/Linux-v6.1/tools/perf/tests/
Dperf-record.c66 int err = -1, errs = 0, i, wakeups = 0; in test__PERF_RECORD() local
199 ++errs; in test__PERF_RECORD()
207 ++errs; in test__PERF_RECORD()
213 ++errs; in test__PERF_RECORD()
219 ++errs; in test__PERF_RECORD()
229 ++errs; in test__PERF_RECORD()
237 ++errs; in test__PERF_RECORD()
244 ++errs; in test__PERF_RECORD()
275 ++errs; in test__PERF_RECORD()
301 ++errs; in test__PERF_RECORD()
[all …]
/Linux-v6.1/lib/reed_solomon/
Dtest_rslib.c152 int len, int errs, int eras) in get_rcw_we() argument
178 for (i = 0; i < errs; i++) { in get_rcw_we()
214 errs++; in get_rcw_we()
218 return errs; in get_rcw_we()
260 static void test_uc(struct rs_control *rs, int len, int errs, in test_uc() argument
275 nerrs = get_rcw_we(rs, ws, len, errs, eras); in test_uc()
324 int errs, eras, retval; in ex_rs_helper() local
329 for (errs = 0; errs <= nroots / 2; errs++) in ex_rs_helper()
330 for (eras = 0; eras <= nroots - 2 * errs; eras++) in ex_rs_helper()
331 test_uc(rs, len, errs, eras, trials, &stat, ws, method); in ex_rs_helper()
[all …]
/Linux-v6.1/arch/x86/mm/
Dtestmmiotrace.c52 unsigned errs[3] = { 0 }; in do_read_test() local
58 ++errs[0]; in do_read_test()
62 ++errs[1]; in do_read_test()
66 ++errs[2]; in do_read_test()
69 errs[0], errs[1], errs[2]); in do_read_test()
/Linux-v6.1/drivers/xen/
Darm-device.c49 int *errs; in xen_map_device_mmio() local
64 errs = kcalloc(nr, sizeof(int), GFP_KERNEL); in xen_map_device_mmio()
65 if (!gpfns || !idxs || !errs) { in xen_map_device_mmio()
68 kfree(errs); in xen_map_device_mmio()
87 set_xen_guest_handle(xatp.errs, errs); in xen_map_device_mmio()
92 kfree(errs); in xen_map_device_mmio()
Dprivcmd.c402 int *errs = data; in mmap_return_errors() local
407 ret = mmap_return_error(errs[i], st); in mmap_return_errors()
807 int num, *errs = (int *)pfns; in privcmd_ioctl_mmap_resource() local
809 BUILD_BUG_ON(sizeof(*errs) > sizeof(*pfns)); in privcmd_ioctl_mmap_resource()
812 pfns, kdata.num, errs, in privcmd_ioctl_mmap_resource()
821 rc = errs[i]; in privcmd_ioctl_mmap_resource()
/Linux-v6.1/fs/hpfs/
Dsuper.c314 int *lowercase, int *eas, int *chk, int *errs, in parse_opts() argument
370 *errs = 0; in parse_opts()
373 *errs = 1; in parse_opts()
376 *errs = 2; in parse_opts()
447 int lowercase, eas, chk, errs, chkdsk, timeshift; in hpfs_remount_fs() local
460 errs = sbi->sb_err; timeshift = sbi->sb_timeshift; in hpfs_remount_fs()
463 &eas, &chk, &errs, &chkdsk, &timeshift))) { in hpfs_remount_fs()
482 sbi->sb_err = errs; sbi->sb_timeshift = timeshift; in hpfs_remount_fs()
549 int lowercase, eas, chk, errs, chkdsk, timeshift; in hpfs_fill_super() local
572 errs = 1; in hpfs_fill_super()
[all …]
/Linux-v6.1/tools/memory-model/scripts/
Dcheckghlitmus.sh53 errs=
55 errs=1
61 if test -n "$errs"
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c646 __u32 *errs = skel->bss->errs[t]; in test_tcp_clear_dtime() local
665 ASSERT_EQ(errs[i], 0, dtime_err_str(t, i)); in test_tcp_clear_dtime()
670 __u32 *dtimes, *errs; in test_tcp_dtime() local
683 errs = skel->bss->errs[t]; in test_tcp_dtime()
697 ASSERT_EQ(errs[i], 0, dtime_err_str(t, i)); in test_tcp_dtime()
702 __u32 *dtimes, *errs; in test_udp_dtime() local
715 errs = skel->bss->errs[t]; in test_udp_dtime()
729 ASSERT_EQ(errs[i], 0, dtime_err_str(t, i)); in test_udp_dtime()
/Linux-v6.1/drivers/infiniband/hw/qib/
Dqib_iba7220.c817 } errs[] = { in qib_decode_7220_sdma_errs() local
846 for (i = 0; i < ARRAY_SIZE(errs); i++) { in qib_decode_7220_sdma_errs()
847 if (err & errs[i].err) in qib_decode_7220_sdma_errs()
849 "%s ", errs[i].msg); in qib_decode_7220_sdma_errs()
897 static void sdma_7220_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7220_errors() argument
903 errs &= QLOGIC_IB_E_SDMAERRS; in sdma_7220_errors()
906 qib_decode_7220_sdma_errs(ppd, errs, msg, in sdma_7220_errors()
910 if (errs & ERR_MASK(SendBufMisuseErr)) { in sdma_7220_errors()
923 if (errs & ERR_MASK(SDmaUnexpDataErr)) in sdma_7220_errors()
945 if (errs & ERR_MASK(SDmaDisabledErr)) in sdma_7220_errors()
[all …]
Dqib_iba7322.c1346 static void err_decode(char *msg, size_t len, u64 errs, in err_decode() argument
1352 while (errs && msp && msp->mask) { in err_decode()
1354 while (errs & msp->mask) { in err_decode()
1355 these = (errs & msp->mask); in err_decode()
1371 errs &= ~lmask; in err_decode()
1388 if (len && errs) in err_decode()
1390 (unsigned long long) errs); in err_decode()
1564 static void sdma_7322_p_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7322_p_errors() argument
1569 errs &= QIB_E_P_SDMAERRS; in sdma_7322_p_errors()
1571 errs, qib_7322p_error_msgs); in sdma_7322_p_errors()
[all …]
Dqib_iba6120.c997 static void handle_6120_errors(struct qib_devdata *dd, u64 errs) in handle_6120_errors() argument
1006 errs &= dd->cspec->errormask; in handle_6120_errors()
1010 if (errs & ERR_MASK(HardwareErr)) in handle_6120_errors()
1013 if (errs & ~IB_E_BITSEXTANT) in handle_6120_errors()
1016 (unsigned long long) (errs & ~IB_E_BITSEXTANT)); in handle_6120_errors()
1018 if (errs & E_SUM_ERRS) { in handle_6120_errors()
1020 if ((errs & E_SUM_LINK_PKTERRS) && in handle_6120_errors()
1029 ignore_this_time = errs & E_SUM_LINK_PKTERRS; in handle_6120_errors()
1031 } else if ((errs & E_SUM_LINK_PKTERRS) && in handle_6120_errors()
1040 ignore_this_time = errs & E_SUM_LINK_PKTERRS; in handle_6120_errors()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtest_tc_dtime.c80 __u32 errs[__NR_TESTS][__MAX_CNT] = {}; variable
94 errs[test][idx]++; in inc_errs()
96 errs[UKN_TEST][idx]++; in inc_errs()
/Linux-v6.1/drivers/mtd/tests/
Dnandbiterrs.c156 unsigned i, errs = 0; in verify_page() local
165 errs++; in verify_page()
169 if (errs) in verify_page()
/Linux-v6.1/tools/build/feature/
Dtest-llvm.cpp11 llvm::errs() << "Hello World!\n"; in main()
/Linux-v6.1/drivers/thermal/
Dk3_j72xx_bandgap.c79 int errs[4]; member
93 err1 = err_vals->errs[seg]; in create_table_segments()
94 err2 = err_vals->errs[seg + 1]; in create_table_segments()
462 get_efuse_values(id, &data[id], err_vals.errs, bgp); in k3_j72xx_bandgap_probe()
/Linux-v6.1/tools/perf/util/c++/
Dclang.cpp142 llvm::errs() << Error; in getBPFObjectFromModule()
171 llvm::errs() << "TargetMachine can't emit a file of this type\n"; in getBPFObjectFromModule()
/Linux-v6.1/drivers/infiniband/hw/bnxt_re/
Dhw_counters.h117 struct bnxt_qplib_roce_stats errs; member
/Linux-v6.1/drivers/crypto/hisilicon/sec2/
Dsec_main.c980 const struct sec_hw_error *errs = sec_hw_errors; in sec_log_hw_error() local
984 while (errs->msg) { in sec_log_hw_error()
985 if (errs->int_msk & err_sts) { in sec_log_hw_error()
987 errs->msg, errs->int_msk); in sec_log_hw_error()
989 if (SEC_CORE_INT_STATUS_M_ECC & errs->int_msk) { in sec_log_hw_error()
997 errs++; in sec_log_hw_error()
/Linux-v6.1/drivers/acpi/
Dtables.c327 int errs = 0; in acpi_parse_entries_array() local
347 (!errs && in acpi_parse_entries_array()
349 errs++; in acpi_parse_entries_array()
378 return errs ? -EINVAL : count; in acpi_parse_entries_array()
/Linux-v6.1/include/xen/interface/
Dmemory.h213 GUEST_HANDLE(int) errs;
/Linux-v6.1/drivers/net/ethernet/3com/
D3c589_cs.c682 u16 media, errs; in media_check() local
724 errs = inb(ioaddr + 0); in media_check()
726 dev->stats.tx_carrier_errors += errs; in media_check()
727 if (errs || (lp->media_status & 0x0010)) in media_check()
/Linux-v6.1/drivers/regulator/
Dmax597x-regulator.c410 int errs = REGULATOR_ERROR_UNDER_VOLTAGE | in max597x_setup_irq() local
420 irq, 0, errs, NULL, in max597x_setup_irq()
/Linux-v6.1/drivers/media/dvb-frontends/
Dstv0900_core.c216 if (intp->errs != STV0900_NO_ERROR) in stv0900_initialize()
217 return intp->errs; in stv0900_initialize()
292 if (intp->errs) in stv0900_set_mclk()
317 if ((intp->errs)) in stv0900_set_mclk()
1365 state->internal->errs = STV0900_NO_ERROR; in stv0900_init_internal()
1494 if (intp->errs) in stv0900_init_internal()
1605 (intp->errs == STV0900_NO_ERROR)) { in stv0900_search()
/Linux-v6.1/drivers/ufs/host/
Dufs-exynos.c935 static void exynos_ufs_config_intr(struct exynos_ufs *ufs, u32 errs, u8 index) in exynos_ufs_config_intr() argument
939 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_PA_LAYER); in exynos_ufs_config_intr()
942 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_DL_LAYER); in exynos_ufs_config_intr()
945 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_N_LAYER); in exynos_ufs_config_intr()
948 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_T_LAYER); in exynos_ufs_config_intr()
951 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_DME_LAYER); in exynos_ufs_config_intr()
/Linux-v6.1/drivers/iommu/
Domap-iommu.c806 u32 da, errs; in iommu_fault_handler() local
815 errs = iommu_report_fault(obj, &da); in iommu_fault_handler()
816 if (errs == 0) in iommu_fault_handler()
829 obj->name, errs, da, iopgd, *iopgd); in iommu_fault_handler()
836 obj->name, errs, da, iopgd, *iopgd, iopte, *iopte); in iommu_fault_handler()

12