Home
last modified time | relevance | path

Searched refs:pass (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c114 bool pass; member
140 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
143 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
146 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
149 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
152 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
155 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
158 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
161 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
164 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests()
[all …]
/linux/fs/bcachefs/
H A Drecovery_passes.c64 static enum bch_recovery_pass_stable bch2_recovery_pass_to_stable(enum bch_recovery_pass pass)
66 return passes_to_stable_map[pass];
94 * For when we need to rewind recovery passes and run a pass we skipped: in bch2_recovery_passes_from_stable()
97 enum bch_recovery_pass pass)
99 if (c->recovery_passes_explicit & BIT_ULL(pass))
102 bch_info(c, "running explicit recovery pass %s (%u), currently at %s (%u)", in bch2_run_explicit_recovery_pass() argument
103 bch2_recovery_passes[pass], pass, in bch2_run_explicit_recovery_pass()
106 c->recovery_passes_explicit |= BIT_ULL(pass); in bch2_run_explicit_recovery_pass()
108 if (c->curr_recovery_pass >= pass) { in bch2_run_explicit_recovery_pass()
69 bch2_recovery_pass_to_stable(enum bch_recovery_pass pass) bch2_recovery_pass_to_stable() argument
123 bch2_run_explicit_recovery_pass_persistent(struct bch_fs * c,enum bch_recovery_pass pass) bch2_run_explicit_recovery_pass_persistent() argument
140 bch2_clear_recovery_pass_required(struct bch_fs * c,enum bch_recovery_pass pass) bch2_clear_recovery_pass_required() argument
164 should_run_recovery_pass(struct bch_fs * c,enum bch_recovery_pass pass) should_run_recovery_pass() argument
179 bch2_run_recovery_pass(struct bch_fs * c,enum bch_recovery_pass pass) bch2_run_recovery_pass() argument
228 unsigned pass = c->curr_recovery_pass; bch2_run_recovery_passes() local
[all...]
/linux/tools/perf/tests/
H A Dtime-utils-test.c79 bool pass = false; in test__perf_time__parse_for_ranges() local
128 pass = true; in test__perf_time__parse_for_ranges()
131 return pass; in test__perf_time__parse_for_ranges()
136 bool pass = true; in test__time_utils() local
138 pass &= test__parse_nsec_time("0", 0); in test__time_utils()
139 pass &= test__parse_nsec_time("1", 1000000000ULL); in test__time_utils()
140 pass &= test__parse_nsec_time("0.000000001", 1); in test__time_utils()
141 pass &= test__parse_nsec_time("1.000000001", 1000000001ULL); in test__time_utils()
142 pass &= test__parse_nsec_time("123456.123456", 123456123456000ULL); in test__time_utils()
143 pass &= test__parse_nsec_time("1234567.123456789", 1234567123456789ULL); in test__time_utils()
[all …]
/linux/arch/mips/include/asm/sibyte/
H A Dsb1250_defs.h98 #define SIBYTE_HDR_FMASK(chip, pass) \ argument
99 (SIBYTE_HDR_FMASK_ ## chip ## _ ## pass)
121 #define SIBYTE_HDR_FMASK_BEFORE(chip, pass) \ argument
122 ((SIBYTE_HDR_FMASK(chip, pass) - 1) & SIBYTE_HDR_FMASK_ALLREVS(chip))
125 #define SIBYTE_HDR_FMASK_AFTER(chip, pass) \ argument
126 (~(SIBYTE_HDR_FMASK(chip, pass) \
127 | (SIBYTE_HDR_FMASK(chip, pass) - 1)) & SIBYTE_HDR_FMASK_ALLREVS(chip))
141 #define SIBYTE_HDR_FEATURE(chip, pass) \ argument
142 (!! ((SIBYTE_HDR_FMASK(chip, pass) \
143 | SIBYTE_HDR_FMASK_AFTER(chip, pass)) & SIBYTE_HDR_FEATURES))
[all …]
/linux/arch/mips/cavium-octeon/executive/
H A Docteon-model.c63 char pass[4]; in octeon_model_get_string_buffer() local
115 sprintf(pass, "%d.%d", (int)((chip_id >> 3) & 7) + 1, (int)chip_id & 7); in octeon_model_get_string_buffer()
211 strcpy(pass, "1.X"); in octeon_model_get_string_buffer()
214 strcpy(pass, "2.X"); in octeon_model_get_string_buffer()
217 strcpy(pass, "3.X"); in octeon_model_get_string_buffer()
220 strcpy(pass, "X.X"); in octeon_model_get_string_buffer()
235 strcpy(pass, "1.0"); in octeon_model_get_string_buffer()
238 strcpy(pass, "1.1"); in octeon_model_get_string_buffer()
241 strcpy(pass, "X.X"); in octeon_model_get_string_buffer()
256 strcpy(pass, "1.0"); in octeon_model_get_string_buffer()
[all …]
/linux/tools/testing/selftests/arm64/fp/
H A Dfp-ptrace.c360 bool pass = true; in check_ptrace_values_sve() local
379 pass = false; in check_ptrace_values_sve()
388 pass = false; in check_ptrace_values_sve()
394 pass = false; in check_ptrace_values_sve()
400 pass = false; in check_ptrace_values_sve()
408 pass = false; in check_ptrace_values_sve()
413 pass = false; in check_ptrace_values_sve()
418 pass = false; in check_ptrace_values_sve()
423 pass = false; in check_ptrace_values_sve()
428 return pass; in check_ptrace_values_sve()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_migrate_reuseport.c53 goto pass; in drop_ack()
60 goto pass; in drop_ack()
63 goto pass; in drop_ack()
72 goto pass; in drop_ack()
75 goto pass; in drop_ack()
81 goto pass; in drop_ack()
85 goto pass; in drop_ack()
88 goto pass; in drop_ack()
93 pass: in drop_ack()
/linux/drivers/gpu/drm/ast/
H A Dast_ddc.c98 uint32_t val, val2, count, pass; in ast_ddc_algo_bit_data_getsda() local
101 pass = 0; in ast_ddc_algo_bit_data_getsda()
106 pass++; in ast_ddc_algo_bit_data_getsda()
108 pass = 0; in ast_ddc_algo_bit_data_getsda()
111 } while ((pass < 5) && (count++ < 0x10000)); in ast_ddc_algo_bit_data_getsda()
120 uint32_t val, val2, count, pass; in ast_ddc_algo_bit_data_getscl() local
123 pass = 0; in ast_ddc_algo_bit_data_getscl()
128 pass++; in ast_ddc_algo_bit_data_getscl()
130 pass = 0; in ast_ddc_algo_bit_data_getscl()
133 } while ((pass < 5) && (count++ < 0x10000)); in ast_ddc_algo_bit_data_getscl()
H A Dast_post.c693 u16 pass[32][2][2]; in finetuneDQSI() local
707 pass[dqidly][0][0] = 0xff; in finetuneDQSI()
708 pass[dqidly][0][1] = 0x0; in finetuneDQSI()
709 pass[dqidly][1][0] = 0xff; in finetuneDQSI()
710 pass[dqidly][1][1] = 0x0; in finetuneDQSI()
727 if (dlli < pass[dqidly][dqsip][0]) in finetuneDQSI()
728 pass[dqidly][dqsip][0] = (u16) dlli; in finetuneDQSI()
729 if (dlli > pass[dqidly][dqsip][1]) in finetuneDQSI()
730 pass[dqidly][dqsip][1] = (u16) dlli; in finetuneDQSI()
734 pass[dqidly][dqsip][0] = 0xff; in finetuneDQSI()
[all …]
/linux/fs/gfs2/
H A Dlops.h56 unsigned int pass) in lops_before_scan() argument
61 gfs2_log_ops[x]->lo_before_scan(jd, head, pass); in lops_before_scan()
67 unsigned int pass) in lops_scan_elements() argument
73 ld, ptr, pass); in lops_scan_elements()
82 unsigned int pass) in lops_after_scan() argument
87 gfs2_log_ops[x]->lo_after_scan(jd, error, pass); in lops_after_scan()
/linux/fs/jbd2/
H A Drecovery.c40 struct recovery_info *info, enum passtype pass);
238 struct recovery_info *info, enum passtype pass) in fc_do_one_pass() argument
258 err = journal->j_fc_replay_callback(journal, bh, pass, in fc_do_one_pass()
467 struct recovery_info *info, enum passtype pass) in do_one_pass() argument
496 if (pass == PASS_SCAN) in do_one_pass()
499 jbd2_debug(1, "Starting recovery pass %d\n", pass); in do_one_pass()
521 if (pass != PASS_SCAN) in do_one_pass()
580 if (pass != PASS_SCAN) { in do_one_pass()
597 if (pass != PASS_REPLAY) { in do_one_pass()
598 if (pass == PASS_SCAN && in do_one_pass()
[all …]
/linux/drivers/pcmcia/
H A Dcardbus.c70 unsigned int max, pass; in cb_alloc() local
78 for (pass = 0; pass < 2; pass++) in cb_alloc()
80 max = pci_scan_bridge(bus, dev, max, pass); in cb_alloc()
/linux/tools/testing/selftests/x86/
H A Dsyscall_numbering.c251 enum ptrace_pass pass = sh->ptrace_pass; in test_syscalls_common() local
263 if (pass >= PTP_FUZZRET) in test_syscalls_common()
337 enum ptrace_pass pass; in syscall_numbering_tracee() local
345 for (sh->ptrace_pass = pass = PTP_NOTHING; pass < PTP_DONE; in syscall_numbering_tracee()
346 sh->ptrace_pass = ++pass) { in syscall_numbering_tracee()
347 run("Running tests under ptrace: %s\n", ptrace_pass_name[pass]); in syscall_numbering_tracee()
352 static void mess_with_syscall(pid_t testpid, enum ptrace_pass pass) in mess_with_syscall() argument
359 if (pass == PTP_NOTHING || pass == PTP_DONE) in mess_with_syscall()
370 switch (pass) { in mess_with_syscall()
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_context.c199 int pass; in __live_active_context() local
234 for (pass = 0; pass <= 2; pass++) { in __live_active_context()
252 engine->name, pass); in __live_active_context()
359 int pass; in __live_remote_context() local
394 for (pass = 0; pass <= 2; pass++) { in __live_remote_context()
405 engine->name, pass); in __live_remote_context()
H A Dselftest_ring_submission.c106 int pass; in mixed_contexts_sync() local
109 for (pass = 0; pass < 2; pass++) { in mixed_contexts_sync()
115 pass); in mixed_contexts_sync()
126 pass); in mixed_contexts_sync()
137 pass); in mixed_contexts_sync()
/linux/drivers/nvmem/
H A Dlan9662-otpc.c84 u32 pass; in lan9662_otp_read_byte() local
92 pass = readl(OTP_OTP_PASS_FAIL(otp->base)); in lan9662_otp_read_byte()
93 if (pass & OTP_OTP_PASS_FAIL_OTP_READ_PROHIBITED) in lan9662_otp_read_byte()
102 u32 pass; in lan9662_otp_write_byte() local
113 pass = readl(OTP_OTP_PASS_FAIL(otp->base)); in lan9662_otp_write_byte()
114 if (pass & OTP_OTP_PASS_FAIL_OTP_WRITE_PROHIBITED) in lan9662_otp_write_byte()
116 if (pass & OTP_OTP_PASS_FAIL_OTP_FAIL) in lan9662_otp_write_byte()
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c71 int pass; in bpf_int_jit_compile() local
191 for (pass = 1; pass < 3; pass++) { in bpf_int_jit_compile()
196 if (bpf_jit_build_body(fp, code_base, fcode_base, &cgctx, addrs, pass, in bpf_int_jit_compile()
206 pr_info("Pass %d: shrink = %d, seen = 0x%x\n", pass, in bpf_int_jit_compile()
215 bpf_jit_dump(flen, proglen, pass, code_base); in bpf_int_jit_compile()
257 int bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, u32 *fimage, int pass, in bpf_add_extable_entry() argument
267 if (pass != 2) in bpf_add_extable_entry()
/linux/arch/sparc/kernel/
H A Diommu-common.c107 int pass = 0; in iommu_tbl_range_alloc() local
136 if (pass == 0 && handle && *handle && in iommu_tbl_range_alloc()
159 if ((start & mask) >= limit || pass > 0) { in iommu_tbl_range_alloc()
184 if (likely(pass == 0)) { in iommu_tbl_range_alloc()
188 pass++; in iommu_tbl_range_alloc()
190 } else if (!largealloc && pass <= iommu->nr_pools) { in iommu_tbl_range_alloc()
197 pass++; in iommu_tbl_range_alloc()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c511 struct test_sockmap_pass_prog *pass = NULL; in test_sockmap_skb_verdict_fionread() local
516 pass = test_sockmap_pass_prog__open_and_load(); in test_sockmap_skb_verdict_fionread()
517 if (!ASSERT_OK_PTR(pass, "open_and_load")) in test_sockmap_skb_verdict_fionread()
519 verdict = bpf_program__fd(pass->progs.prog_skb_verdict); in test_sockmap_skb_verdict_fionread()
520 map = bpf_map__fd(pass->maps.sock_map_rx); in test_sockmap_skb_verdict_fionread()
566 test_sockmap_pass_prog__destroy(pass); in test_sockmap_skb_verdict_fionread()
609 struct test_sockmap_pass_prog *pass; in test_sockmap_skb_verdict_peek() local
612 pass = test_sockmap_pass_prog__open_and_load(); in test_sockmap_skb_verdict_peek()
613 if (!ASSERT_OK_PTR(pass, "open_and_load")) in test_sockmap_skb_verdict_peek()
615 verdict = bpf_program__fd(pass->progs.prog_skb_verdict); in test_sockmap_skb_verdict_peek()
[all …]
/linux/arch/x86/pci/
H A Di386.c249 static void pcibios_allocate_dev_resources(struct pci_dev *dev, int pass) in pcibios_allocate_dev_resources() argument
274 if (pass == disabled) { in pcibios_allocate_dev_resources()
277 idx, r, disabled, pass); in pcibios_allocate_dev_resources()
292 if (!pass) { in pcibios_allocate_dev_resources()
307 static void pcibios_allocate_resources(struct pci_bus *bus, int pass) in pcibios_allocate_resources() argument
313 pcibios_allocate_dev_resources(dev, pass); in pcibios_allocate_resources()
317 pcibios_allocate_resources(child, pass); in pcibios_allocate_resources()
/linux/tools/testing/selftests/timers/
H A Dvalid-adjtimex.c116 int ret, pass = 0; in validate_freq() local
135 pass = -1; in validate_freq()
154 pass = -1; in validate_freq()
163 pass = -1; in validate_freq()
178 pass = -1; in validate_freq()
191 return pass; in validate_freq()
/linux/drivers/dma-buf/
H A Dst-dma-fence.c461 unsigned long pass = 0; in thread_signal_callback() local
505 pr_err("Callback not seen on thread %d, pass %lu (%lu misses), signaling %s add_callback; fence signaled? %s\n", in thread_signal_callback()
506 t->id, pass, miss, in thread_signal_callback()
519 pass++; in thread_signal_callback()
523 __func__, t->id, pass, miss); in thread_signal_callback()
531 int pass; in race_signal_callback() local
533 for (pass = 0; !ret && pass <= 1; pass++) { in race_signal_callback()
540 t[i].before = pass; in race_signal_callback()
[all...]
/linux/arch/arm64/include/asm/
H A Del2_setup.h237 .macro __check_override idreg, fld, width, pass, fail, tmp1, tmp2
249 cbnz \tmp2, \pass
254 .macro check_override idreg, fld, pass, fail, tmp1, tmp2
256 __check_override \idreg \fld 4 \pass \fail \tmp1 \tmp2
260 .macro __check_override idreg, fld, width, pass, fail, tmp, ignore
263 cbnz \tmp, \pass
267 .macro check_override idreg, fld, pass, fail, tmp, ignore
268 __check_override \idreg \fld 4 \pass \fail \tmp \ignore
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dport_range_occ.sh75 action pass
81 action pass
84 action pass
87 action pass
/linux/tools/testing/selftests/
H A Dkselftest_deps.sh68 pass=$(mktemp).out
69 trap "rm -f $pass" EXIT
274 echo "PASS: $test dependency check passed $lib" >> $pass
303 cat $pass

12345678910>>...26