/kernel/linux/linux-6.6/tools/testing/selftests/arm64/abi/ |
H A D | syscall-abi.c | 76 int errors = 0; in check_gpr() local 87 errors++; in check_gpr() 91 return errors; in check_gpr() 109 int errors = 0; in check_fpr() local 119 errors++; in check_fpr() 132 errors++; in check_fpr() 136 return errors; in check_fpr() 156 int errors = 0; in check_z() local 175 errors++; in check_z() 185 errors in check_z() 216 int errors = 0; check_p() local 262 int errors = 0; check_ffr() local 294 int errors = 0; check_svcr() local 325 int errors = 0; check_za() local 351 int errors = 0; check_zt() local 396 int errors = 0; do_test() local [all...] |
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | io.c | 54 /* IO errors */ 57 unsigned int errors; in bch_count_backing_io_errors() local 73 errors = atomic_add_return(1, &dc->io_errors); in bch_count_backing_io_errors() 74 if (errors < dc->error_limit) in bch_count_backing_io_errors() 95 unsigned int errors; in bch_count_io_errors() local 101 * successfully do so, we rescale the errors once: in bch_count_io_errors() 109 errors = atomic_read(&ca->io_errors); in bch_count_io_errors() 111 old = errors; in bch_count_io_errors() 112 new = ((uint64_t) errors * 127) / 128; in bch_count_io_errors() 113 errors in bch_count_io_errors() 121 unsigned int errors = atomic_add_return(1 << IO_ERROR_SHIFT, bch_count_io_errors() local [all...] |
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | io.c | 55 /* IO errors */ 58 unsigned int errors; in bch_count_backing_io_errors() local 74 errors = atomic_add_return(1, &dc->io_errors); in bch_count_backing_io_errors() 75 if (errors < dc->error_limit) in bch_count_backing_io_errors() 96 unsigned int errors; in bch_count_io_errors() local 102 * successfully do so, we rescale the errors once: in bch_count_io_errors() 110 errors = atomic_read(&ca->io_errors); in bch_count_io_errors() 112 old = errors; in bch_count_io_errors() 113 new = ((uint64_t) errors * 127) / 128; in bch_count_io_errors() 114 errors in bch_count_io_errors() 122 unsigned int errors = atomic_add_return(1 << IO_ERROR_SHIFT, bch_count_io_errors() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_tunnel.sh | 162 # causing errors at get_tunnel_{key/opt}. 730 local errors=0 734 errors=$(( $errors + $? )) 738 errors=$(( $errors + $? )) 742 errors=$(( $errors + $? )) 746 errors=$(( $errors [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | sve-ptrace.c | 261 uint32_t *in, uint32_t *out, int *errors) in check_u32() 266 (*errors)++; in check_u32() 338 int errors = 0; in ptrace_set_sve_get_sve_data() local 396 errors++; in ptrace_set_sve_get_sve_data() 405 errors++; in ptrace_set_sve_get_sve_data() 410 read_buf + SVE_PT_SVE_FPSR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data() 412 read_buf + SVE_PT_SVE_FPCR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data() 414 ksft_test_result(errors == 0, "Set and get %s data for VL %u\n", in ptrace_set_sve_get_sve_data() 434 int errors = 0; in ptrace_set_sve_get_fpsimd_data() local 490 errors in ptrace_set_sve_get_fpsimd_data() 260 check_u32(unsigned int vl, const char *reg, uint32_t *in, uint32_t *out, int *errors) check_u32() argument 519 int errors = 0; ptrace_set_fpsimd_get_sve_data() local [all...] |
H A D | vec-syscfg.c | 112 * Replace stdout with the pipe, errors to stderr from in get_child_rdvl() 559 int errors = 0; in prctl_set_all_vqs() local 576 errors++; in prctl_set_all_vqs() 589 errors++; in prctl_set_all_vqs() 604 errors++; in prctl_set_all_vqs() 618 errors++; in prctl_set_all_vqs() 630 errors++; in prctl_set_all_vqs() 640 errors++; in prctl_set_all_vqs() 646 ksft_test_result(errors == 0, "%s prctl() set all VLs, %d errors\ in prctl_set_all_vqs() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_tunnel.sh | 673 local errors=0 677 errors=$(( $errors + $? )) 681 errors=$(( $errors + $? )) 685 errors=$(( $errors + $? )) 689 errors=$(( $errors + $? )) 693 errors [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | test_kprobes.c | 17 static int errors, handler_errors, num_tests; variable 286 errors++; in init_test_probes() 291 errors++; in init_test_probes() 297 errors++; in init_test_probes() 302 errors++; in init_test_probes() 305 if (errors) in init_test_probes() 306 pr_err("BUG: %d out of %d tests failed\n", errors, num_tests); in init_test_probes()
|
/kernel/linux/linux-5.10/tools/perf/scripts/perl/ |
H A D | rw-by-pid.pl | 36 $reads{$common_pid}{errors}{$ret}++; 58 $writes{$common_pid}{errors}{$ret}++; 95 printf("%6s %20s %6s %10s\n", "pid", "comm", "error #", "# errors"); 102 foreach my $error (keys %{$reads{$pid}{errors}}) { 104 my $errcount = $reads{$pid}{errors}{$error} || 0; 135 printf("%6s %20s %6s %10s\n", "pid", "comm", "error #", "# errors"); 142 foreach my $error (keys %{$writes{$pid}{errors}}) { 144 my $errcount = $writes{$pid}{errors}{$error} || 0;
|
/kernel/linux/linux-6.6/tools/perf/scripts/perl/ |
H A D | rw-by-pid.pl | 36 $reads{$common_pid}{errors}{$ret}++; 58 $writes{$common_pid}{errors}{$ret}++; 95 printf("%6s %20s %6s %10s\n", "pid", "comm", "error #", "# errors"); 102 foreach my $error (keys %{$reads{$pid}{errors}}) { 104 my $errcount = $reads{$pid}{errors}{$error} || 0; 135 printf("%6s %20s %6s %10s\n", "pid", "comm", "error #", "# errors"); 142 foreach my $error (keys %{$writes{$pid}{errors}}) { 144 my $errcount = $writes{$pid}{errors}{$error} || 0;
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | windfarm_pid.c | 46 st->errors[i] = error; in wf_pid_run() 53 st->errors[st->index] = error; in wf_pid_run() 58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run() 62 deriv = st->errors[st->index] - in wf_pid_run() 63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run() 101 st->errors[i] = error; in wf_cpu_pid_run() 109 st->errors[st->index] = error; in wf_cpu_pid_run() 116 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_cpu_pid_run()
|
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | windfarm_pid.c | 46 st->errors[i] = error; in wf_pid_run() 53 st->errors[st->index] = error; in wf_pid_run() 58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run() 62 deriv = st->errors[st->index] - in wf_pid_run() 63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run() 101 st->errors[i] = error; in wf_cpu_pid_run() 109 st->errors[st->index] = error; in wf_cpu_pid_run() 116 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_cpu_pid_run()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-rzv2m-csi.c | 100 u32 errors; member 284 csi->errors, HZ); in rzv2m_csi_wait_for_interrupt() 288 if (csi->errors) in rzv2m_csi_wait_for_interrupt() 306 csi->errors |= TX_TIMEOUT_ERROR; in rzv2m_csi_wait_for_tx_empty() 321 csi->errors |= RX_TIMEOUT_ERROR; in rzv2m_csi_wait_for_rx_ready() 334 csi->errors |= OVERFLOW_ERROR; in rzv2m_csi_irq_handler() 336 csi->errors |= UNDERRUN_ERROR; in rzv2m_csi_irq_handler() 436 csi->errors = 0; in rzv2m_csi_pio_transfer() 502 if (csi->errors) { in rzv2m_csi_pio_transfer() 536 if (csi->errors in rzv2m_csi_transfer_one() [all...] |
/kernel/linux/linux-6.6/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_net.c | 45 u64 errors; member 53 u64 errors; member 134 u64 requests = 0, errors = 0, successes = 0; in vdpasim_handle_cvq() local 154 ++errors; in vdpasim_handle_cvq() 169 ++errors; in vdpasim_handle_cvq() 191 net->cq_stats.errors += errors; in vdpasim_handle_cvq() 273 net->tx_stats.errors += tx_errors; in vdpasim_net_work() 280 net->rx_stats.errors += rx_errors; in vdpasim_net_work() 302 rx_errors = net->rx_stats.errors; in vdpasim_net_get_stats() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
H A D | ipvs.sh | 196 local errors= 202 errors=$(( $errors + $? )) 208 errors=$(( $errors + $? )) 214 errors=$(( $errors + $? )) 216 return $errors
|
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | ipvs.sh | 196 local errors= 202 errors=$(( $errors + $? )) 208 errors=$(( $errors + $? )) 214 errors=$(( $errors + $? )) 216 return $errors
|
/kernel/linux/linux-5.10/drivers/usb/ |
H A D | usb-skeleton.c | 59 int errors; /* the last request tanked */ member 61 spinlock_t err_lock; /* lock for errors */ 149 /* read out errors, leave subsequent opens a clean slate */ in skel_flush() 151 res = dev->errors ? (dev->errors == -EPIPE ? -EPIPE : -EIO) : 0; in skel_flush() 152 dev->errors = 0; in skel_flush() 168 /* sync/async unlink faults aren't errors */ in skel_read_bulk_callback() 177 dev->errors = urb->status; in skel_read_bulk_callback() 267 /* errors must be reported */ in skel_read() 268 rv = dev->errors; in skel_read() [all...] |
/kernel/linux/linux-6.6/drivers/usb/ |
H A D | usb-skeleton.c | 59 int errors; /* the last request tanked */ member 61 spinlock_t err_lock; /* lock for errors */ 149 /* read out errors, leave subsequent opens a clean slate */ in skel_flush() 151 res = dev->errors ? (dev->errors == -EPIPE ? -EPIPE : -EIO) : 0; in skel_flush() 152 dev->errors = 0; in skel_flush() 168 /* sync/async unlink faults aren't errors */ in skel_read_bulk_callback() 177 dev->errors = urb->status; in skel_read_bulk_callback() 267 /* errors must be reported */ in skel_read() 268 rv = dev->errors; in skel_read() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
H A D | subpage_prot.c | 35 int errors; variable 80 ++errors; in check_faulted() 119 errors = 0; in run_test() 130 if (errors) { in run_test() 131 printf("%d errors detected\n", errors); in run_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/ |
H A D | subpage_prot.c | 35 int errors; variable 80 ++errors; in check_faulted() 119 errors = 0; in run_test() 130 if (errors) { in run_test() 131 printf("%d errors detected\n", errors); in run_test()
|
/kernel/linux/linux-5.10/arch/x86/tools/ |
H A D | insn_sanity.c | 208 /* Check errors */ in parse_args() 227 int errors = 0; in main() local 251 errors++; in main() 259 fprintf((errors) ? stderr : stdout, in main() 260 "%s: %s: decoded and checked %d %s instructions with %d errors (seed:0x%x)\n", in main() 262 (errors) ? "Failure" : "Success", in main() 265 errors, in main() 268 return errors ? 1 : 0; in main()
|
/kernel/linux/linux-6.6/arch/x86/tools/ |
H A D | insn_sanity.c | 204 /* Check errors */ in parse_args() 223 int errors = 0; in main() local 247 errors++; in main() 255 fprintf((errors) ? stderr : stdout, in main() 256 "%s: %s: decoded and checked %d %s instructions with %d errors (seed:0x%x)\n", in main() 258 (errors) ? "Failure" : "Success", in main() 261 errors, in main() 264 return errors ? 1 : 0; in main()
|
/test/testfwk/arkxtest/jsunit/src/module/report/ |
H A D | ReportExtend.js | 49 report.errors++; 50 suiteReport.errors++; 77 errors: 0, 88 errors: 0,
|
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_dynamic_config.c | 185 u64 errors; member 205 sja1105_packing(buf, &cmd->errors, 30, 30, size, op); in sja1105et_vl_lookup_cmd_packing() 219 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105pqrs_vl_lookup_cmd_packing() 233 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_vl_lookup_cmd_packing() 270 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing() 418 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1105et_l2_lookup_cmd_packing() 531 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_vlan_lookup_cmd_packing() 561 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105_l2_forwarding_cmd_packing() 575 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_l2_forwarding_cmd_packing() 628 sja1105_packing(p, &cmd->errors, 3 in sja1105pqrs_mac_config_cmd_packing() [all...] |
/kernel/linux/linux-5.10/drivers/edac/ |
H A D | e752x_edac.c | 516 static void do_global_error(int fatal, u32 errors) in do_global_error() argument 521 if (errors & (1 << i)) { in do_global_error() 523 * we are to report ALL errors, then in do_global_error() 534 static inline void global_error(int fatal, u32 errors, int *error_found, in global_error() argument 540 do_global_error(fatal, errors); in global_error() 550 static void do_hub_error(int fatal, u8 errors) in do_hub_error() argument 555 if (errors & (1 << i)) in do_hub_error() 561 static inline void hub_error(int fatal, u8 errors, int *error_found, in hub_error() argument 567 do_hub_error(fatal, errors); in hub_error() 607 static void do_nsi_error(int fatal, u32 errors) in do_nsi_error() argument 618 nsi_error(int fatal, u32 errors, int *error_found, int handle_error) nsi_error() argument 634 do_membuf_error(u8 errors) do_membuf_error() argument 645 membuf_error(u8 errors, int *error_found, int handle_error) membuf_error() argument 665 do_sysbus_error(int fatal, u32 errors) do_sysbus_error() argument 676 sysbus_error(int fatal, u32 errors, int *error_found, int handle_error) sysbus_error() argument [all...] |