Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/perf/tests/
Dperf-record.c68 int err = -1, errs = 0, i, wakeups = 0; in test__PERF_RECORD() local
201 ++errs; in test__PERF_RECORD()
209 ++errs; in test__PERF_RECORD()
215 ++errs; in test__PERF_RECORD()
221 ++errs; in test__PERF_RECORD()
231 ++errs; in test__PERF_RECORD()
239 ++errs; in test__PERF_RECORD()
246 ++errs; in test__PERF_RECORD()
277 ++errs; in test__PERF_RECORD()
303 ++errs; in test__PERF_RECORD()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/rust/macros/
Dpin_data.rs23 let mut errs = TokenStream::new(); in pin_data() localVariable
49 errs.extend( in pin_data()
58 .flat_map(|tt| replace_self_and_deny_type_defs(&struct_name, tt, &mut errs)) in pin_data()
67 replace_self_and_deny_type_defs(&struct_name, tt, &mut errs) in pin_data()
81 quoted.extend(errs); in pin_data()
92 errs: &mut TokenStream, in replace_self_and_deny_type_defs()
102 errs.extend( in replace_self_and_deny_type_defs()
123 .flat_map(|tt| replace_self_and_deny_type_defs(struct_name, tt, errs)) in replace_self_and_deny_type_defs()
/linux-6.6.21/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.c407 int *errs = data; in mmap_return_errors() local
412 ret = mmap_return_error(errs[i], st); in mmap_return_errors()
812 int num, *errs = (int *)pfns; in privcmd_ioctl_mmap_resource() local
814 BUILD_BUG_ON(sizeof(*errs) > sizeof(*pfns)); in privcmd_ioctl_mmap_resource()
817 pfns, kdata.num, errs, in privcmd_ioctl_mmap_resource()
826 rc = errs[i]; in privcmd_ioctl_mmap_resource()
/linux-6.6.21/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-6.6.21/tools/memory-model/scripts/
Dcheckghlitmus.sh54 errs=
56 errs=1
62 if test -n "$errs"
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c684 __u32 *errs = skel->bss->errs[t]; in test_tcp_clear_dtime() local
703 ASSERT_EQ(errs[i], 0, dtime_err_str(t, i)); in test_tcp_clear_dtime()
708 __u32 *dtimes, *errs; in test_tcp_dtime() local
721 errs = skel->bss->errs[t]; in test_tcp_dtime()
735 ASSERT_EQ(errs[i], 0, dtime_err_str(t, i)); in test_tcp_dtime()
740 __u32 *dtimes, *errs; in test_udp_dtime() local
753 errs = skel->bss->errs[t]; in test_udp_dtime()
767 ASSERT_EQ(errs[i], 0, dtime_err_str(t, i)); in test_udp_dtime()
/linux-6.6.21/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.c994 static void handle_6120_errors(struct qib_devdata *dd, u64 errs) in handle_6120_errors() argument
1003 errs &= dd->cspec->errormask; in handle_6120_errors()
1007 if (errs & ERR_MASK(HardwareErr)) in handle_6120_errors()
1010 if (errs & ~IB_E_BITSEXTANT) in handle_6120_errors()
1013 (unsigned long long) (errs & ~IB_E_BITSEXTANT)); in handle_6120_errors()
1015 if (errs & E_SUM_ERRS) { in handle_6120_errors()
1017 if ((errs & E_SUM_LINK_PKTERRS) && in handle_6120_errors()
1026 ignore_this_time = errs & E_SUM_LINK_PKTERRS; in handle_6120_errors()
1028 } else if ((errs & E_SUM_LINK_PKTERRS) && in handle_6120_errors()
1037 ignore_this_time = errs & E_SUM_LINK_PKTERRS; in handle_6120_errors()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/tools/build/feature/
Dtest-llvm.cpp11 llvm::errs() << "Hello World!\n"; in main()
/linux-6.6.21/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()
465 get_efuse_values(id, &data[id], err_vals.errs, fuse_base); in k3_j72xx_bandgap_probe()
/linux-6.6.21/tools/perf/tests/shell/lib/
Dperf_metric_validation.py186 errs = []
196 errs.append(s)
212 if len(errs) > 0:
213 return -1, "Metric value missing: "+','.join(errs)
/linux-6.6.21/drivers/crypto/hisilicon/sec2/
Dsec_main.c981 const struct sec_hw_error *errs = sec_hw_errors; in sec_log_hw_error() local
985 while (errs->msg) { in sec_log_hw_error()
986 if (errs->int_msk & err_sts) { in sec_log_hw_error()
988 errs->msg, errs->int_msk); in sec_log_hw_error()
990 if (SEC_CORE_INT_STATUS_M_ECC & errs->int_msk) { in sec_log_hw_error()
998 errs++; in sec_log_hw_error()
/linux-6.6.21/drivers/acpi/
Dtables.c347 int errs = 0; in acpi_parse_entries_array() local
367 (!errs && in acpi_parse_entries_array()
369 errs++; in acpi_parse_entries_array()
398 return errs ? -EINVAL : count; in acpi_parse_entries_array()
/linux-6.6.21/include/xen/interface/
Dmemory.h213 GUEST_HANDLE(int) errs;
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dhw_counters.h170 struct bnxt_qplib_roce_stats errs; member
/linux-6.6.21/drivers/net/ethernet/3com/
D3c589_cs.c691 u16 media, errs; in media_check() local
733 errs = inb(ioaddr + 0); in media_check()
735 dev->stats.tx_carrier_errors += errs; in media_check()
736 if (errs || (lp->media_status & 0x0010)) in media_check()
/linux-6.6.21/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-6.6.21/drivers/regulator/
Dmax5970-regulator.c404 int errs = REGULATOR_ERROR_UNDER_VOLTAGE | in max597x_setup_irq() local
414 irq, 0, errs, NULL, in max597x_setup_irq()
/linux-6.6.21/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()

12