Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 152) sorted by relevance

1234567

/arch/powerpc/kvm/
A Dtest-guest-state-buffer.c16 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gsb); in test_creating_buffer()
40 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gsb); in test_adding_element()
45 KUNIT_EXPECT_GE(test, rc, 0); in test_adding_element()
56 KUNIT_EXPECT_GE(test, rc, 0); in test_adding_element()
61 KUNIT_EXPECT_GE(test, rc, 0); in test_adding_element()
86 KUNIT_EXPECT_EQ(test, u.dw[0], 0x1); in test_adding_element()
87 KUNIT_EXPECT_EQ(test, u.dw[1], 0x2); in test_adding_element()
91 KUNIT_EXPECT_EQ(test, i, 3); in test_adding_element()
208 KUNIT_EXPECT_EQ(test, i, j); in test_gs_bitmap()
488 KUNIT_ASSERT_EQ(test, rc, 0); in test_gs_hostwide_counters()
[all …]
/arch/s390/lib/
A Dtest_kprobes.c11 static void setup_kprobe(struct kunit *test, struct kprobe *kp, in setup_kprobe() argument
24 setup_kprobe(test, kp, target, 0); in test_kprobe_offset()
28 KUNIT_EXPECT_EQ(test, 0, ret); in test_kprobe_offset()
29 setup_kprobe(test, kp, target, offset); in test_kprobe_offset()
31 KUNIT_EXPECT_EQ(test, -EINVAL, ret); in test_kprobe_offset()
36 static void test_kprobe_odd(struct kunit *test) in test_kprobe_odd() argument
38 test_kprobe_offset(test, &kp, "kprobes_target_odd", in test_kprobe_odd()
42 static void test_kprobe_in_insn4(struct kunit *test) in test_kprobe_in_insn4() argument
44 test_kprobe_offset(test, &kp, "kprobes_target_in_insn4", in test_kprobe_in_insn4()
48 static void test_kprobe_in_insn6_lo(struct kunit *test) in test_kprobe_in_insn6_lo() argument
[all …]
A Dtest_modules.c11 static void test_modules_many_vmlinux_relocs(struct kunit *test) in test_modules_many_vmlinux_relocs() argument
17 KUNIT_ASSERT_EQ(test, result, 49995000); in test_modules_many_vmlinux_relocs()
A Dtest_unwind.c494 static void test_unwind_flags(struct kunit *test) in test_unwind_flags() argument
499 current_test = test; in test_unwind_flags()
500 params = (const struct test_params *)test->param_value; in test_unwind_flags()
503 KUNIT_EXPECT_EQ(test, 0, test_unwind_task(&u)); in test_unwind_flags()
505 KUNIT_EXPECT_EQ(test, 0, test_unwind_irq(&u)); in test_unwind_flags()
507 KUNIT_EXPECT_EQ(test, 0, unwindme_func1(&u)); in test_unwind_flags()
/arch/riscv/kernel/tests/module_test/
A Dtest_module_linking_main.c29 #define CHECK_EQ(lhs, rhs) KUNIT_ASSERT_EQ(test, lhs, rhs)
31 void run_test_set(struct kunit *test);
32 void run_test_sub(struct kunit *test);
33 void run_test_uleb(struct kunit *test);
35 void run_test_set(struct kunit *test) in run_test_set() argument
48 void run_test_sub(struct kunit *test) in run_test_sub() argument
64 void run_test_uleb(struct kunit *test) in run_test_uleb() argument
/arch/arc/kernel/
A Djump_label.c108 static __init int branch_gen_test(const struct arc_gen_branch_testdata *test) in branch_gen_test() argument
112 instr_got = arc_gen_branch(test->pc, test->target_address); in branch_gen_test()
113 if (instr_got == test->expected_instr) in branch_gen_test()
117 test->pc, test->target_address, in branch_gen_test()
118 test->expected_instr, instr_got); in branch_gen_test()
/arch/m68k/ifpsp060/
A DTEST.DOC88 to access the test routines. Since the {i,f}test.sa hex files contain
117 The test packages call _print_string() and _print_number()
120 In "C"-like fashion, the test program calls:
139 0x0: integer test
143 0x00: main fp test
144 0x08: FP unimplemented test
151 main fp test: tests (1) unimp effective address exception
163 _real_{snan,operr,ovfl,unfl,dz,inex}(). the test expects
166 alternate result, the test will print "failed" but this
172 test all 68060SP connections. For example, they do not test connections
[all …]
A DREADME57 ftest.sa Simple test program to test that {p}fpsp.sa
59 ftest.s above test; source code
61 itest.sa Simple test program to test that isp.sa was
63 itest.s above test; source code
65 test.doc on-line documentation for {i,f}test.sa
/arch/x86/lib/
A Dcopy_user_uncached_64.S121 test $4,%dl
130 test $2,%dl
138 test $1,%dl
168 test $1,%dil
170 test %edx,%edx
178 test $2,%dil
188 test $4,%dil
/arch/riscv/kernel/tests/
A DKconfig.debug16 bool "KUnit test riscv module linking at runtime" if !KUNIT_ALL_TESTS
20 Enable this option to test riscv module linking at boot. This will
25 running the KUnit test harness, and not intended for inclusion into a
/arch/x86/events/
A Dprobe.c45 if (msr[bit].test && !msr[bit].test(bit, data)) in perf_msr_probe()
/arch/m68k/fpsp040/
A Dgen_except.S58 cmpib #IDLE_SIZE-4,1(%a7) |test for idle frame
60 cmpib #UNIMP_40_SIZE-4,1(%a7) |test for orig unimp frame
62 cmpib #UNIMP_41_SIZE-4,1(%a7) |test for rev unimp frame
143 btstb #5,CMDREG1B(%a6) |test for fmove out
155 bfffo %d0{#24:#8},%d1 |test for first set bit
179 tstb UFLG_TMP(%a6) |test flag for unsup/unimp state
225 tstb UFLG_TMP(%a6) |test flag for unsupp/unimp state
264 tstb CU_ONLY(%a6) |test if inst is cu-only
280 cmpib #VER_40,(%a7) |test for orig unimp frame
281 bnes try_41 |if not, test for rev frame
[all …]
A Dskeleton.S105 cmpib #VER_40,(%sp) |test version number
108 btstb #E1,E_BYTE(%a6) |test for E1 set
110 btstb #snan_bit,2(%sp) |test for snan
117 btstb #ovfl_bit,2(%sp) |test for ovfl
124 btstb #unfl_bit,2(%sp) |test for unfl
145 bclrb #E3,E_BYTE(%a6) |clear and test E3 flag
154 bsrl b1238_fix |test for bug1238 case
182 bclrb #E3,E_BYTE(%a6) |clear and test E3 flag
208 bclrb #E3,E_BYTE(%a6) |clear and test E3 flag
A Dget_op.S497 cmpiw #0x0fff,%d1 |test for inf or NaN
509 btstb #signan_bit,ETEMP_HI(%a6) |test for snan
522 tstl ETEMP(%a6) |test sign of the zero
549 cmpiw #0x0fff,%d1 |test for inf or NaN
568 btstb #signan_bit,ETEMP_HI(%a6) |test for snan
571 btstb #snan_bit,FPCR_ENABLE(%a6) |test for snan enabled
589 tstl ETEMP(%a6) |test sign of the zero
A Dbindec.S88 | A6. This test occurs only on the first pass. If the
173 | the input and test for denormalized result.
317 cmpl #17,%d4 |test if LEN > 17
378 tstl %d7 |test sign of k
380 cmpl %d6,%d7 |test k - ILOG
390 tstl %d0 |test sign of ISCALE
393 cmpl #0xffffecd4,%d0 |test iscale <= -4908
405 tstl L_SCR2(%a6) |test sign of original x
640 bne not_zr |if non-zero, go to second test
654 tstl %d0 |test if LEN is zero
[all …]
/arch/alpha/lib/
A Dstrrchr.S22 zapnot a1, 1, a1 # e0 : zero extend our test character
24 sll a1, 8, t5 # e0 : replicate our test character
39 andnot t1, t4, t1 # .. e1 : clear garbage from null test
40 andnot t3, t4, t3 # e0 : clear garbage from char test
/arch/xtensa/
A DKconfig.debug25 bool "Perform S32C1I instruction self-test at boot"
28 Enable this option to test S32C1I instruction behavior at boot.
31 It is easy to make wrong hardware configuration, this test should catch it early.
/arch/mips/boot/dts/loongson/
A Dloongson64g-package.dtsi48 no-loopback-test;
58 no-loopback-test;
A Dloongson64c-package.dtsi51 no-loopback-test;
61 no-loopback-test;
/arch/parisc/kernel/
A Dperf.c294 uint32_t test; in perf_write() local
314 test = (image_type & 0xffff); in perf_write()
329 (test >= MAX_CUDA_IMAGES)) || in perf_write()
331 (test >= MAX_ONYX_IMAGES))) in perf_write()
336 return perf_config(cuda_images[test]); in perf_write()
338 return perf_config(onyx_images[test]); in perf_write()
A Dpdc_chassis.c271 unsigned long test; in pdc_chassis_create_procfs() local
274 ret = pdc_chassis_warn(&test); in pdc_chassis_create_procfs()
/arch/arm/lib/
A Dfindbit.S32 mvns r3, r3 @ invert/test bits
34 movs r3, r3 @ test bits
120 tst r3, ip, lsr #16 @ test bits 0-15
/arch/x86/math-emu/
A Dwm_shrx.S140 test $0x7fffffff,%eax /* and 31 bits here */
159 test $0x7fffffff,%eax /* only need to look at eax here */
182 test $0x7fffffff,%eax /* only need to look at eax here */
/arch/arm/boot/dts/nxp/imx/
A Dimx27-eukrea-cpuimx27.dtsi113 no-loopback-test;
126 no-loopback-test;
139 no-loopback-test;
152 no-loopback-test;
/arch/x86/crypto/
A Dpolyval-clmulni_asm.S243 test $4, BLOCKS_LEFT
249 test $2, BLOCKS_LEFT
255 test $1, BLOCKS_LEFT

Completed in 35 milliseconds

1234567