| /linux/tools/testing/selftests/openat2/ |
| A D | resolve_test.c | 114 bool pass; member 140 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 171 .out.path = "etc", .pass = true }, in test_openat2_opath_tests() 214 .out.path = NULL, .pass = true }, in test_openat2_opath_tests() 217 .out.path = NULL, .pass = true }, in test_openat2_opath_tests() 220 .out.path = NULL, .pass = true }, in test_openat2_opath_tests() 223 .out.path = NULL, .pass = true }, in test_openat2_opath_tests() 331 .out.path = "/", .pass = true }, in test_openat2_opath_tests() 334 .out.path = "/", .pass = true }, in test_openat2_opath_tests() 467 if (test->pass) in test_openat2_opath_tests() [all …]
|
| /linux/fs/bcachefs/ |
| A D | recovery_passes.c | 73 return passes_to_stable_map[pass]; in bch2_recovery_pass_to_stable() 104 enum bch_recovery_pass pass) in bch2_run_explicit_recovery_pass() argument 106 if (c->opts.recovery_passes & BIT_ULL(pass)) in bch2_run_explicit_recovery_pass() 110 bch2_recovery_passes[pass], pass, in bch2_run_explicit_recovery_pass() 113 c->opts.recovery_passes |= BIT_ULL(pass); in bch2_run_explicit_recovery_pass() 115 if (c->curr_recovery_pass >= pass) { in bch2_run_explicit_recovery_pass() 116 c->curr_recovery_pass = pass; in bch2_run_explicit_recovery_pass() 125 enum bch_recovery_pass pass) in bch2_run_explicit_recovery_pass_persistent() argument 142 enum bch_recovery_pass pass) in bch2_clear_recovery_pass_required() argument 190 bch2_recovery_passes[pass]); in bch2_run_recovery_pass() [all …]
|
| /linux/arch/mips/include/asm/sibyte/ |
| A D | sb1250_defs.h | 98 #define SIBYTE_HDR_FMASK(chip, pass) \ argument 99 (SIBYTE_HDR_FMASK_ ## chip ## _ ## pass) 121 #define SIBYTE_HDR_FMASK_BEFORE(chip, pass) \ argument 125 #define SIBYTE_HDR_FMASK_AFTER(chip, pass) \ argument 126 (~(SIBYTE_HDR_FMASK(chip, pass) \ 141 #define SIBYTE_HDR_FEATURE(chip, pass) \ argument 142 (!! ((SIBYTE_HDR_FMASK(chip, pass) \ 146 #define SIBYTE_HDR_FEATURE_EXACT(chip, pass) \ argument 147 (!! (SIBYTE_HDR_FMASK(chip, pass) & SIBYTE_HDR_FEATURES)) 150 #define SIBYTE_HDR_FEATURE_UP_TO(chip, pass) \ argument [all …]
|
| /linux/tools/perf/tests/ |
| A D | time-utils-test.c | 79 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() 140 pass &= test__parse_nsec_time("0.000000001", 1); in test__time_utils() 168 pass &= test__perf_time__parse_for_ranges(&d); in test__time_utils() 185 pass &= test__perf_time__parse_for_ranges(&d); in test__time_utils() 200 pass &= test__perf_time__parse_for_ranges(&d); in test__time_utils() 215 pass &= test__perf_time__parse_for_ranges(&d); in test__time_utils() [all …]
|
| /linux/arch/mips/cavium-octeon/executive/ |
| A D | octeon-model.c | 63 char pass[4]; in octeon_model_get_string_buffer() local 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() 259 strcpy(pass, "1.1"); in octeon_model_get_string_buffer() [all …]
|
| /linux/tools/testing/selftests/arm64/fp/ |
| A D | fp-ptrace.c | 379 pass = false; in check_ptrace_values_sve() 388 pass = false; in check_ptrace_values_sve() 394 pass = false; in check_ptrace_values_sve() 428 return pass; in check_ptrace_values_sve() 504 return pass; in check_ptrace_values_ssve() 565 return pass; in check_ptrace_values_za() 623 return pass; in check_ptrace_values() 631 bool pass; in run_parent() local 775 return pass; in run_parent() 927 return pass; in check_memory_values() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | test_migrate_reuseport.c | 53 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/ |
| A D | ast_ddc.c | 98 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()
|
| A D | ast_post.c | 747 if (pass[dqidly][dqsip][0] > pass[dqidly][dqsip][1]) in finetuneDQSI() 749 diff = pass[dqidly][dqsip][1] - pass[dqidly][dqsip][0]; in finetuneDQSI() 1710 pass = 0; in ddr_phy_init_2500() 1721 pass = 1; in ddr_phy_init_2500() 1723 if (!pass) { in ddr_phy_init_2500() 1903 pass = 0; in ddr4_init_2500() 1907 pass = 0; in ddr4_init_2500() 1917 pass++; in ddr4_init_2500() 1934 pass = 0; in ddr4_init_2500() 1939 pass = 0; in ddr4_init_2500() [all …]
|
| /linux/fs/gfs2/ |
| A D | lops.h | 56 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/drivers/pcmcia/ |
| A D | cardbus.c | 70 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/ |
| A D | syscall_numbering.c | 251 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/ |
| A D | selftest_context.c | 199 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()
|
| A D | selftest_ring_submission.c | 106 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/fs/jbd2/ |
| A D | recovery.c | 518 if (pass == PASS_SCAN) in do_one_pass() 543 if (pass != PASS_SCAN) in do_one_pass() 602 if (pass != PASS_SCAN) { in do_one_pass() 619 if (pass != PASS_REPLAY) { in do_one_pass() 620 if (pass == PASS_SCAN && in do_one_pass() 805 if (pass == PASS_SCAN && in do_one_pass() 832 if (pass == PASS_SCAN && in do_one_pass() 855 if (pass == PASS_SCAN) { in do_one_pass() 869 if (pass == PASS_SCAN && in do_one_pass() 879 if (pass != PASS_REVOKE) { in do_one_pass() [all …]
|
| /linux/drivers/nvmem/ |
| A D | lan9662-otpc.c | 84 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/ |
| A D | bpf_jit_comp.c | 71 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/tools/testing/selftests/bpf/prog_tests/ |
| A D | sockmap_basic.c | 508 struct test_sockmap_pass_prog *pass = NULL; in test_sockmap_skb_verdict_fionread() local 560 test_sockmap_pass_prog__destroy(pass); in test_sockmap_skb_verdict_fionread() 599 struct test_sockmap_pass_prog *pass; in test_sockmap_skb_verdict_peek() local 603 if (!ASSERT_OK_PTR(pass, "open_and_load")) in test_sockmap_skb_verdict_peek() 606 map = bpf_map__fd(pass->maps.sock_map_rx); in test_sockmap_skb_verdict_peek() 615 test_sockmap_pass_prog__destroy(pass); in test_sockmap_skb_verdict_peek() 620 struct test_sockmap_pass_prog *pass; in test_sockmap_skb_verdict_peek_with_link() local 626 if (!ASSERT_OK_PTR(pass, "open_and_load")) in test_sockmap_skb_verdict_peek_with_link() 628 prog = pass->progs.prog_skb_verdict; in test_sockmap_skb_verdict_peek_with_link() 629 map = bpf_map__fd(pass->maps.sock_map_rx); in test_sockmap_skb_verdict_peek_with_link() [all …]
|
| /linux/arch/sparc/kernel/ |
| A D | iommu-common.c | 107 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/timers/ |
| A D | valid-adjtimex.c | 116 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/arch/x86/pci/ |
| A D | i386.c | 249 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/drivers/net/mlxsw/ |
| A D | port_range_occ.sh | 75 action pass 81 action pass 84 action pass 87 action pass
|
| /linux/drivers/dma-buf/ |
| A D | st-dma-fence.c | 461 unsigned long pass = 0; in thread_signal_callback() local 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()
|
| /linux/tools/testing/selftests/ |
| A D | kselftest_deps.sh | 68 pass=$(mktemp).out 69 trap "rm -f $pass" EXIT 274 echo "PASS: $test dependency check passed $lib" >> $pass 303 cat $pass
|
| /linux/arch/arm64/include/asm/ |
| A D | el2_setup.h | 248 .macro __check_override idreg, fld, width, pass, fail, tmp1, tmp2 260 cbnz \tmp2, \pass 265 .macro check_override idreg, fld, pass, fail, tmp1, tmp2 267 __check_override \idreg \fld 4 \pass \fail \tmp1 \tmp2 271 .macro __check_override idreg, fld, width, pass, fail, tmp, ignore 274 cbnz \tmp, \pass 278 .macro check_override idreg, fld, pass, fail, tmp, ignore 279 __check_override \idreg \fld 4 \pass \fail \tmp \ignore
|