/linux-6.6.21/tools/testing/selftests/x86/ |
D | test_vsyscall.c | 102 int nerrs = 0; in init_vsys() local 132 nerrs++; in init_vsys() 151 return nerrs; in init_vsys() 203 int nerrs = 0; in check_gtod() local 208 nerrs++; in check_gtod() 217 nerrs++; in check_gtod() 222 return nerrs; in check_gtod() 231 int nerrs = 0; in test_gtod() local 246 nerrs += check_gtod(&tv_sys1, &tv_sys2, &tz_sys, "vDSO", &tv_vdso, &tz_vdso); in test_gtod() 249 nerrs++; in test_gtod() [all …]
|
D | iopl.c | 23 static int nerrs = 0; variable 82 nerrs++; in expect_gp_outb() 145 nerrs++; in expect_gp_sti() 165 nerrs++; in test_cli() 234 nerrs++; in main() 237 nerrs++; in main() 262 nerrs++; in main() 268 nerrs++; in main() 274 nerrs++; in main() 280 return nerrs ? 1 : 0; in main()
|
D | ldt_gdt.c | 55 static int nerrs; variable 84 nerrs++; in check_invalid_segment() 114 nerrs++; in check_valid_segment() 128 nerrs++; in check_valid_segment() 132 nerrs++; in check_valid_segment() 179 nerrs++; in install_valid_mode() 216 nerrs++; in install_invalid() 236 nerrs++; in fail_install() 334 nerrs = 0; in do_simple_tests() 340 exit(nerrs ? 1 : 0); in do_simple_tests() [all …]
|
D | sigreturn.c | 389 static volatile sig_atomic_t nerrs; variable 398 nerrs++; in validate_signal_ss() 411 nerrs++; in validate_signal_ss() 424 nerrs++; in validate_signal_ss() 492 nerrs++; in sigtrap() 502 nerrs++; in sigtrap() 526 nerrs++; in sigusr2() 544 nerrs = 0; in test_nonstrict_ss() 548 if (!nerrs) in test_nonstrict_ss() 551 return nerrs; in test_nonstrict_ss() [all …]
|
D | fsgsbase.c | 40 static int nerrs; variable 174 nerrs++; in check_gs_value() 185 nerrs++; in check_gs_value() 209 nerrs++; in mov_0_gs() 331 nerrs++; in test_wrbase() 385 nerrs++; in set_gs_and_switch_to() 423 nerrs++; in set_gs_and_switch_to() 447 nerrs++; in test_unexpected_base() 488 nerrs++; in test_ptrace_write_gs_read_base() 504 nerrs++; in test_ptrace_write_gs_read_base() [all …]
|
D | check_initial_reg_state.c | 56 int nerrs = 0; in main() local 88 nerrs++; in main() 95 nerrs++; in main() 100 return nerrs ? 1 : 0; in main()
|
D | ptrace_syscall.c | 41 static int nerrs = 0; variable 153 nerrs++; in test_sys32_regs() 168 nerrs++; in test_sys32_regs() 216 nerrs++; in test_ptrace_syscall_restart() 247 nerrs++; in test_ptrace_syscall_restart() 278 nerrs++; in test_ptrace_syscall_restart() 289 nerrs++; in test_ptrace_syscall_restart() 339 nerrs++; in test_restart_under_ptrace() 361 nerrs++; in test_restart_under_ptrace() 378 nerrs++; in test_restart_under_ptrace() [all …]
|
D | sigaltstack.c | 24 static int nerrs; variable 71 nerrs++; in sigsegv() 83 nerrs++; in sigalrm() 127 return nerrs == 0 ? 0 : 1; in main()
|
D | vdso_restorer.c | 47 int nerrs = 0; in main() local 76 nerrs++; in main() 93 nerrs++; in main()
|
D | unwind_vdso.c | 58 static volatile sig_atomic_t nerrs; variable 95 nerrs++; in trace_fn() 171 nerrs++; in main() 174 if (nerrs) { in main()
|
D | syscall_nt.c | 19 static unsigned int nerrs; variable 50 nerrs++; in do_it() 95 return nerrs == 0 ? 0 : 1; in main()
|
D | ioperm.c | 23 static int nerrs = 0; variable 151 nerrs++; in main() 154 nerrs++; in main()
|
D | entry_from_vm86.c | 28 static int nerrs = 0; variable 61 nerrs++; in sighandler() 182 nerrs++; in do_test() 339 nerrs++; in main() 347 return (nerrs == 0 ? 0 : 1); in main()
|
/linux-6.6.21/tools/testing/selftests/vDSO/ |
D | vdso_test_correctness.c | 49 int nerrs = 0; variable 213 nerrs++; in test_getcpu() 271 nerrs++; in test_one_clock_gettime() 285 nerrs++; in test_one_clock_gettime() 296 nerrs++; in test_one_clock_gettime() 333 nerrs++; in test_one_clock_gettime64() 347 nerrs++; in test_one_clock_gettime64() 358 nerrs++; in test_one_clock_gettime64() 394 nerrs++; in test_gettimeofday() 404 nerrs++; in test_gettimeofday() [all …]
|
/linux-6.6.21/tools/testing/selftests/rcutorture/bin/ |
D | srcu_lockdep.sh | 43 nerrs=0 69 nerrs=$((nerrs+1)) 74 if test "$nerrs" -ne 0
|
D | parse-console.sh | 43 nerrs=`grep --binary-files=text '!!!' $file | 63 print_bug $title FAILURE, $nerrs
|
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-syscall.c | 39 static int nerrs; variable 115 nerrs++; in test_ptrace_syscall_restart() 149 nerrs++; in test_ptrace_syscall_restart() 198 nerrs++; in test_ptrace_syscall_restart() 212 nerrs++; in test_ptrace_syscall_restart() 222 return nerrs; in ptrace_syscall()
|
/linux-6.6.21/tools/testing/selftests/capabilities/ |
D | test_execve.c | 31 static int nerrs; variable 183 nerrs = 0; in fork_wait() 190 nerrs++; in fork_wait() 193 nerrs++; in fork_wait() 426 return nerrs ? 1 : 0; in do_tests() 461 return nerrs ? 1 : 0; in main()
|
/linux-6.6.21/lib/reed_solomon/ |
D | test_rslib.c | 221 static void fix_err(uint16_t *data, int nerrs, uint16_t *corr, int *errlocs) in fix_err() argument 225 for (i = 0; i < nerrs; i++) in fix_err() 271 int derrs, nerrs; in test_uc() local 275 nerrs = get_rcw_we(rs, ws, len, errs, eras); in test_uc() 297 if (derrs != nerrs) in test_uc()
|
/linux-6.6.21/drivers/usb/host/ |
D | uhci-debug.c | 381 int nframes, nerrs; in uhci_sprint_schedule() local 413 nerrs = 0; in uhci_sprint_schedule() 443 ++nerrs; in uhci_sprint_schedule() 470 ++nerrs; in uhci_sprint_schedule() 474 if (nerrs > 0) in uhci_sprint_schedule() 475 out += sprintf(out, "Skipped %d bad links\n", nerrs); in uhci_sprint_schedule()
|