Searched refs:test (Results 451 - 475 of 687) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/perf/tests/
H A Dbackward-ring-buffer.c85 static int test__backward_ring_buffer(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
H A Dbp_signal.c3 * Inspired by breakpoint overflow test done by
90 * this test, if we are here for the 10th
164 static int test__bp_signal(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
231 * The test case check following error conditions:
250 * Kick off the test by triggering 'fd1'
H A Dbp_account.c26 * Just disable the test for these architectures until these issues are
121 pr_debug("way too many debug registers, fix the test\n");
188 * This test does following:
190 * skip test if any is missing
192 * skip test if it's missing
201 static int test__bp_accounting(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
H A Devent-times.c214 * This test creates software event 'cpu-clock'
219 static int test__event_times(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
H A Dmmap-thread-lookup.c216 * This test creates 'THREADS' number of threads (including
224 * We test we can find all memory maps via:
229 static int test__mmap_thread_lookup(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
H A Dattr.c3 * The struct perf_event_attr test support.
5 * This test is embedded inside into perf directly and is governed
59 perror("test attr - failed to write event file"); \
82 perror("test attr - failed to open event file");
88 perror("test attr - failed to write event file");
153 pr_err("test attr FAILED");
181 static int test__attr(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
194 pr_debug("Skip test on hybrid systems");
H A Dexpand-cgroup.c203 static int test__expand_cgroup_events(struct test_suite *test __maybe_unused,
H A Dsymbols.c201 static int test__symbols(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
/linux-master/tools/perf/arch/x86/tests/
H A Dbp-modify.c207 int test__bp_modify(struct test_suite *test __maybe_unused,
210 TEST_ASSERT_VAL("modify test 1 failed\n", !bp_modify1());
211 TEST_ASSERT_VAL("modify test 2 failed\n", !bp_modify2());
H A Dinsn-x86.c164 * test__insn_x86 - test x86 instruction decoder - new instructions.
166 * This function implements a test that decodes a selection of instructions and
173 * i.e. to add new instructions to the test, edit insn-x86-dat-src.c, run the
174 * gen-insn-x86-dat.sh script, make perf, and then run the test.
176 * If the test passes %0 is returned, otherwise %-1 is returned. Use the
180 int test__insn_x86(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
/linux-master/drivers/scsi/
H A Dmac53c94.h36 unsigned char test; member in struct:mac53c94_regs
166 #define CF1_PAR_TEST 0x20 /* Parity test mode enable */
178 * Bits in test mode register.
180 #define TEST_TARGET 1 /* target test mode */
181 #define TEST_INITIATOR 2 /* initiator test mode */
182 #define TEST_TRISTATE 4 /* tristate (hi-z) test mode */
/linux-master/drivers/media/test-drivers/visl/
H A Dvisl-trace-vp8.h154 #define TRACE_INCLUDE_PATH ../../drivers/media/test-drivers/visl
/linux-master/tools/testing/selftests/bpf/
H A Dget_cgroup_id_user.c35 static int bpf_find_map(const char *test, struct bpf_object *obj, argument
46 #define TEST_CGROUP "/test-bpf-get-cgroup-id/"
H A Dxskxceiver.h126 typedef int (*test_func_t)(struct test_spec *test);
/linux-master/drivers/firmware/
H A Dedd.c57 int (*test) (struct edd_device * edev); member in struct:edd_attribute
70 .test = _test, \
688 if (!attr->test || attr->test(edev))
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrl_val.c487 int signal_handler_register(const struct resctrl_test *test) argument
494 current_test = test;
691 * @test: test information structure
696 * Return: 0 when the test was run, < 0 on error.
698 int resctrl_val(const struct resctrl_test *test, argument
834 /* Test runs until the callback setup() tells the test to stop. */
836 ret = param->setup(test, uparams, param);
/linux-master/tools/testing/selftests/kvm/s390x/
H A Dtprot.c73 struct test { struct
80 * We perform each test in the array by executing TEST PROTECTION on
83 * Both guest and host cooperate to set up the required test conditions.
/linux-master/arch/x86/kernel/
H A Dverify_cpu.S123 test %di,%di
/linux-master/tools/perf/util/
H A Dtrace-event-read.c378 char test[] = { 23, 8, 68 }; local
396 if (memcmp(buf, test, 3) != 0) {
/linux-master/drivers/phy/marvell/
H A Dphy-mvebu-cp110-utmi.c175 int test = regmap_test_bits(utmi->syscon, local
179 if (test != 0)
/linux-master/tools/testing/selftests/hid/tests/
H A Dbase.py21 logger = logging.getLogger("hidtools.test.base")
142 name = f"uhid test {self.__class__.__name__}"
143 if not name.startswith("uhid test "):
144 name = "uhid test " + self.name
156 # List of kernel modules to load before starting the test
157 # if any module is not available (not compiled), the test will skip.
163 # before starting the test
168 # If 'rdesc_fixup_present' is True, the test needs to wait
230 f"module {kernel_module} could not be loaded, skipping the test"
271 f"Couldn't insert hid-bpf program '{hid_bpf}', marking the test a
[all...]
/linux-master/drivers/platform/x86/intel/ifs/
H A Dload.c16 u32 test_type; // IFS test type
37 static u64 ifs_test_image_ptr; /* 256B aligned address of test pattern */
47 [6] = "Scan reload or test is in progress"
110 * To copy scan hashes and authenticate test chunks, the initiating cpu must point
111 * to the EDX:EAX to the test image in linear address.
113 * for scan hash copy and test chunk authentication.
308 * Once the test chunk is authenticated, it is automatically copied to secured memory
383 const struct ifs_test_caps *test = ifs_get_test_caps(dev); local
391 test->test_num, boot_cpu_data.x86, boot_cpu_data.x86_model,
H A Druntest.c17 * core will update results of the test.
110 * repeats on a subsequent test, then it indicates an actual problem in
114 dev_err(dev, "CPU(s) %*pbl: test signature incorrect. Batch: %02x version: 0x%x\n",
123 /* Signature for chunk is bad, or scan test failed */
220 * progress is made, and that the whole test completes in a reasonable time.
311 * Only one logical CPU on a core needs to trigger the Array test via MSR write.
317 /* Pass back the result of the test */
391 * Initiate per core test. It wakes up work queue threads on the target cpu and
392 * its sibling cpu. Once all sibling threads wake up, the scan test gets executed and
393 * wait for all sibling threads to finish the scan test
397 const struct ifs_test_caps *test = ifs_get_test_caps(dev); local
[all...]
/linux-master/tools/testing/selftests/mm/
H A Dcow.c482 * easy way to test if that worked (the pagemap does not export
575 static void do_test_ro_pin(char *mem, size_t size, enum ro_pin_test test, argument
601 switch (test) {
625 if (test == RO_PIN_TEST_PREVIOUSLY_SHARED) {
642 * easy way to test if that worked (the pagemap does not export
675 * test if we observed the modification.
689 switch (test) {
824 * Try to populate a THP. Touch the first sub-page and test if
1053 * Basic test, but do an additional mprotect(PROT_READ)+
1070 * vmsplice() test, bu
1220 do_test_anon_thp_collapse(char *mem, size_t size, enum anon_thp_collapse_test test) argument
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-trans.h584 int (*d3_suspend)(struct iwl_trans *trans, bool test, bool reset);
586 bool test, bool reset);
1252 static inline int iwl_trans_d3_suspend(struct iwl_trans *trans, bool test, argument
1259 return trans->ops->d3_suspend(trans, test, reset);
1264 bool test, bool reset)
1270 return trans->ops->d3_resume(trans, status, test, reset);
1262 iwl_trans_d3_resume(struct iwl_trans *trans, enum iwl_d3_status *status, bool test, bool reset) argument

Completed in 293 milliseconds

<<11121314151617181920>>