Home
last modified time | relevance | path

Searched refs:test (Results 1 – 200 of 616) sorted by relevance

1234

/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c172 struct mmc_test_card *test; member
182 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize() argument
184 return mmc_set_blocklen(test->card, size); in mmc_test_set_blksize()
190 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq() argument
205 if (!mmc_card_blockaddr(test->card)) in mmc_test_prepare_mrq()
224 mmc_set_data_timeout(mrq->data, test->card); in mmc_test_prepare_mrq()
236 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy() argument
246 cmd.arg = test->card->rca << 16; in mmc_test_wait_busy()
249 ret = mmc_wait_for_cmd(test->card->host, &cmd, 0); in mmc_test_wait_busy()
255 if (test->card->host->caps & MMC_CAP_WAIT_WHILE_BUSY) in mmc_test_wait_busy()
[all …]
DKconfig61 tristate "MMC host test driver"
66 "test" file in debugfs under each card. Note that whatever is
/linux-4.4.14/drivers/of/unittest-data/
Dtests-overlay.dtsi6 /* test bus */
7 unittestbus: test-bus {
12 unittest100: test-unittest100 {
18 unittest101: test-unittest101 {
24 unittest0: test-unittest0 {
30 unittest1: test-unittest1 {
36 unittest2: test-unittest2 {
42 unittest3: test-unittest3 {
48 unittest5: test-unittest5 {
54 unittest6: test-unittest6 {
[all …]
Dtests-platform.dtsi8 test-device@0 {
9 compatible = "test-device";
16 compatible = "test-sub-device";
21 test-device@1 {
22 compatible = "test-device";
29 compatible = "test-sub-device";
/linux-4.4.14/lib/
Dtest_printf.c122 #define test(expect, fmt, ...) \ macro
131 test("", &nul); in test_basic()
132 test("100%", "100%%"); in test_basic()
133 test("xxx%yyy", "xxx%cyyy", '%'); in test_basic()
140 test("0x1234abcd ", "%#-12x", 0x1234abcd); in test_number()
141 test(" 0x1234abcd", "%#12x", 0x1234abcd); in test_number()
142test("0|001| 12|+123| 1234|-123|-1234", "%d|%03d|%3d|%+d|% d|%+d|% d", 0, 1, 12, 123, 1234, -123, … in test_number()
148 test("", "%s%.0s", "", "123"); in test_string()
149 test("ABCD|abc|123", "%s|%.3s|%.*s", "ABCD", "abcdef", 3, "123456"); in test_string()
150 test("1 | 2|3 | 4|5 ", "%-3s|%3s|%-*s|%*s|%*s", "1", "2", 3, "3", 3, "4", -3, "5"); in test_string()
[all …]
Dcrc32.c871 } const test[] __initconst = variable
992 bytes += 2*test[i].length;
994 crc ^= __crc32c_le(test[i].crc, test_buf +
995 test[i].start, test[i].length);
1004 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf +
1005 test[i].start, test[i].length))
1036 crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start,
1037 test[i].length);
1038 for (j = 0; j <= test[i].length; ++j) {
1040 u32 len1 = j, len2 = test[i].length - j;
[all …]
Dtest_user_copy.c28 #define test(condition, msg) \ macro
62 ret |= test(copy_from_user(kmem, usermem, PAGE_SIZE), in test_user_copy_init()
64 ret |= test(copy_to_user(usermem, kmem, PAGE_SIZE), in test_user_copy_init()
66 ret |= test(get_user(value, (unsigned long __user *)usermem), in test_user_copy_init()
68 ret |= test(put_user(value, (unsigned long __user *)usermem), in test_user_copy_init()
72 ret |= test(!copy_from_user(kmem, (char __user *)(kmem + PAGE_SIZE), in test_user_copy_init()
75 ret |= test(!copy_from_user(bad_usermem, (char __user *)kmem, in test_user_copy_init()
78 ret |= test(!copy_to_user((char __user *)kmem, kmem + PAGE_SIZE, in test_user_copy_init()
81 ret |= test(!copy_to_user((char __user *)kmem, bad_usermem, in test_user_copy_init()
84 ret |= test(!get_user(value, (unsigned long __user *)kmem), in test_user_copy_init()
[all …]
Dtest-kstrtox.c5 #define for_each_test(i, test) \ argument
6 for (i = 0; i < ARRAY_SIZE(test); i++)
13 #define DEFINE_TEST_FAIL(test) \ argument
14 const struct test_fail test[] __initconst
23 #define DEFINE_TEST_OK(type, test) \ argument
24 const type test[] __initconst
26 #define TEST_FAIL(fn, type, fmt, test) \ argument
30 for_each_test(i, test) { \
31 const struct test_fail *t = &test[i]; \
45 #define TEST_OK(fn, type, fmt, test) \ argument
[all …]
Dtest-hexdump.c48 char test[32 * 3 + 2 + 32 + 1]; in test_hexdump() local
76 memset(test, ' ', sizeof(test)); in test_hexdump()
79 p = test; in test_hexdump()
92 p = test + rs * 2 + rs / gs + 1; in test_hexdump()
99 if (strcmp(test, real)) { in test_hexdump()
102 pr_err("Expect: '%s'\n", test); in test_hexdump()
Dglob.c140 static bool __pure __init test(char const *pat, char const *str, bool expected) in test() function
269 successes += test(pat, p, expected); in glob_init()
DKconfig.kgdb32 bool "KGDB: internal test suite"
35 This is a kgdb I/O module specifically designed to test
56 This is the command string to send the kgdb test suite on
DKconfig106 bool "CRC32 perform self test on init"
111 self test on initialization. The self test computes crc32_le
203 bool "PRNG perform self test on init"
207 self test on initialization.
432 bool "glob self-test on init"
436 This option enables a simple self-test of the glob_match
DKconfig.debug533 tristate "Simple test for the kernel memory leak detector"
956 will test all possible w/w mutex interface abuse with the
1071 Say Y here if you want the kernel to run a short self-test during
1072 bootup. The self-test checks whether common types of locking bugs
1417 specified notifier chain callbacks. It is useful to test the error
1426 This option provides a kernel module that can be used to test
1531 useful to test the error handling in the mmc block device
1532 and to test how the mmc host driver handles retries from
1584 The copy_from_user() etc checks are there to help test if there
1611 bool "Linked list sorting test"
[all …]
/linux-4.4.14/tools/perf/tests/attr/
DREADME1 The struct perf_event_attr test (attr tests) support
28 the test definition, executes it and checks results.
32 Directory containing all attr test definitions.
35 perf record kill (test-record-basic)
36 perf record -b kill (test-record-branch-any)
37 perf record -j any kill (test-record-branch-filter-any)
38 perf record -j any_call kill (test-record-branch-filter-any_call)
39 perf record -j any_ret kill (test-record-branch-filter-any_ret)
40 perf record -j hv kill (test-record-branch-filter-hv)
41 perf record -j ind_call kill (test-record-branch-filter-ind_call)
[all …]
/linux-4.4.14/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c20 static struct test { struct
365 static int test_one(struct test *test) in test_one() argument
370 vphn_unpack_associativity(test->input, output); in test_one()
373 if (len != test->expected[0]) { in test_one()
374 printf("expected %d elements, got %d\n", test->expected[0], in test_one()
381 if (val != test->expected[i]) { in test_one()
383 test->expected[i]); in test_one()
393 static struct test *test; in test_vphn() local
395 for (test = all_tests; test->descr; test++) { in test_vphn()
398 ret = test_one(test); in test_vphn()
[all …]
D.gitignore1 test-vphn
/linux-4.4.14/samples/kfifo/
Dbytestream-example.c42 static struct kfifo test; variable
44 static DECLARE_KFIFO(test, unsigned char, FIFO_SIZE);
63 kfifo_in(&test, "hello", 5); in testfunc()
67 kfifo_put(&test, i); in testfunc()
70 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
73 i = kfifo_out(&test, buf, 5); in testfunc()
77 ret = kfifo_out(&test, buf, 2); in testfunc()
80 ret = kfifo_in(&test, buf, ret); in testfunc()
85 kfifo_skip(&test); in testfunc()
88 for (i = 20; kfifo_put(&test, i); i++) in testfunc()
[all …]
Drecord-example.c50 struct kfifo_rec_ptr_1 test; variable
55 static mytest test; variable
80 kfifo_in(&test, &hello, sizeof(hello)); in testfunc()
83 printk(KERN_INFO "fifo peek len: %u\n", kfifo_peek_len(&test)); in testfunc()
88 kfifo_in(&test, buf, i + 1); in testfunc()
93 kfifo_skip(&test); in testfunc()
95 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
98 ret = kfifo_out_peek(&test, buf, sizeof(buf)); in testfunc()
104 while (!kfifo_is_empty(&test)) { in testfunc()
105 ret = kfifo_out(&test, buf, sizeof(buf)); in testfunc()
[all …]
Dinttype-example.c42 static DECLARE_KFIFO_PTR(test, int);
44 static DEFINE_KFIFO(test, int, FIFO_SIZE);
64 kfifo_put(&test, i); in testfunc()
67 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
70 ret = kfifo_out(&test, buf, 2); in testfunc()
73 ret = kfifo_in(&test, buf, ret); in testfunc()
78 kfifo_skip(&test); in testfunc()
81 for (i = 20; kfifo_put(&test, i); i++) in testfunc()
84 printk(KERN_INFO "queue len: %u\n", kfifo_len(&test)); in testfunc()
87 if (kfifo_peek(&test, &i)) in testfunc()
[all …]
/linux-4.4.14/tools/testing/selftests/ftrace/
DREADME5 shell scripts for testing. Feel free to add new test cases.
17 # ./ftracetest test.d/basic3.tc
21 # ./ftracetest test.d/kprobe/
26 Copy test.d/template to your testcase (whose filename must have *.tc
27 extension) and rewrite the test description line.
36 * You can add a directory for your testcases under test.d/ if needed.
38 * The test cases should run on dash (busybox shell) for testing on
42 command fails, the test will be terminated immediately.
52 * PASS: The test succeeded as expected. The test which exits with 0 is
53 counted as passed test.
[all …]
/linux-4.4.14/crypto/
Dtestmgr.c128 int (*test)(const struct alg_test_desc *desc, const char *driver, member
1756 static int drbg_cavs_test(struct drbg_testvec *test, int pr, in drbg_cavs_test() argument
1763 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test()
1777 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
1778 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
1785 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
1787 drbg_string_fill(&testentropy, test->entpra, test->entprlen); in drbg_cavs_test()
1789 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
1792 buf, test->expectedlen, &addtl); in drbg_cavs_test()
1800 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
[all …]
/linux-4.4.14/drivers/usb/musb/
Dmusb_debugfs.c146 unsigned test; in musb_test_mode_show() local
148 test = musb_readb(musb->mregs, MUSB_TESTMODE); in musb_test_mode_show()
150 if (test & MUSB_TEST_FORCE_HOST) in musb_test_mode_show()
153 if (test & MUSB_TEST_FIFO_ACCESS) in musb_test_mode_show()
156 if (test & MUSB_TEST_FORCE_FS) in musb_test_mode_show()
159 if (test & MUSB_TEST_FORCE_HS) in musb_test_mode_show()
162 if (test & MUSB_TEST_PACKET) in musb_test_mode_show()
165 if (test & MUSB_TEST_K) in musb_test_mode_show()
168 if (test & MUSB_TEST_J) in musb_test_mode_show()
171 if (test & MUSB_TEST_SE0_NAK) in musb_test_mode_show()
[all …]
/linux-4.4.14/tools/perf/Documentation/
Dperf-test.txt1 perf-test(1)
6 perf-test - Runs sanity tests.
11 'perf test [<options>] [{list <test-name-fragment>|[<test-name-fragments>|<test-numbers>]}]'
18 To get a list of available tests use 'perf test list', specifying a test name
21 To run just specific tests, inform test name fragments or the numbers obtained
22 from 'perf test list'.
/linux-4.4.14/Documentation/dmaengine/
Ddmatest.txt6 This small document introduces how to test DMA drivers using dmatest module.
8 Part 1 - How to build the test module
37 emitted. After that only test failure messages are reported until the test
40 Note that running a new test will not stop any in progress test.
42 The following command returns the state of the test.
45 To wait for test completion userpace can poll 'run' until it is false, or use
47 initialization to pause until a test run has completed, while reading
48 /sys/module/dmatest/parameters/wait waits for any running test to complete
64 for the first performed test. After user gets a control, the test could be
68 In both cases the module parameters are used as the actual values for the test
[all …]
/linux-4.4.14/Documentation/devicetree/
Dof_unittest.txt8 This document explains how the test data required for executing OF unittest
17 OF Selftest has been designed to test the interface (include/linux/of.h)
26 the test data required for executing the unit tests automated in
53 2.1. Adding the test data
101 Before executing OF unittest, it is required to attach the test data to
106 __dtb_testcases_begin - address marking the start of test data blob
107 __dtb_testcases_end - address marking the end of test data blob
111 then it attaches the unflattened test data tree to the live tree, else it
115 live tree as explained below. To explain the same, the test data tree described
122 test-child0 -> test-sibling1 -> test-sibling2 -> test-sibling3 -> null
[all …]
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx.seq52 test SEQINTCODE, 0xFF jz idle_loop;
65 test ERROR, 0xFF jz no_error_set;
70 test SCSISEQ0, ENSELO|ENARBO jnz idle_loop_checkbus;
71 test SEQ_FLAGS2, SELECTOUT_QFROZEN jz check_waiting_list;
82 test SSTAT0, SELDO|SELINGO jnz idle_loop_checkbus;
109 * ENSELO is cleared by a SELDO, so we must test for SELDO
112 test SSTAT0, SELDO jnz select_out;
115 test SSTAT0, SELDO jnz select_out;
117 test SSTAT0, SELDI jnz select_in;
118 test SCSIPHASE, ~DATA_PHASE_MASK jz idle_loop_check_nonpackreq;
[all …]
Daic7xxx.seq81 test SCSISEQ, ENSELO jnz poll_for_selection;
84 test SCSISEQ, ENSELO jnz poll_for_selection;
91 test SSTAT0, SELDO|SELDI jnz selection;
96 test QOFF_CTLSTA, SCB_AVAIL jz poll_for_work_loop;
159 test SSTAT0, SELDO|SELDI jz poll_for_selection;
176 test SSTAT0, SELDI|SELDO jz bus_free_sel;
177 test SSTAT0,SELDO jnz select_out;
181 test SSTAT0, TARGET jz initiator_reselect;
221 test SBLKCTL, SELBUSB jz . + 2;
236 test SCSISIGI, ATNI jz target_busfree;
[all …]
/linux-4.4.14/tools/perf/tests/
Dmake8 # run only specific test over 'Makefile'
131 # define test for each compile as 'test_NAME' variable
132 # with the test itself as a value
133 test_make_tags = test -f tags
134 test_make_cscope = test -f cscope.out
145 test_make_python_perf_so := test -f $(PERF)/python/perf.so
147 test_make_perf_o := test -f $(PERF)/perf.o
148 test_make_util_map_o := test -f $(PERF)/util/map.o
149 test_make_util_pmu_bison_o := test -f $(PERF)/util/pmu-bison.o
192 test_make_install_man := test -f $$TMP_DEST/share/man/man1/perf.1
[all …]
Dbuiltin-test.c17 struct test __weak arch_tests[] = {
23 static struct test generic_tests[] = {
177 static struct test *tests[] = {
182 static bool perf_test__matches(struct test *test, int curr, int argc, const char *argv[]) in perf_test__matches() argument
199 if (strcasestr(test->desc, argv[i])) in perf_test__matches()
206 static int run_test(struct test *test) in run_test() argument
219 err = test->func(); in run_test()
242 struct test *t; in __cmd_test()
291 struct test *t; in perf_test__list()
Dattr.py13 def __init__(self, test, msg): argument
15 self.test = test
17 return '\'%s\' - %s' % (self.test.path, self.msg)
20 def __init__(self, test): argument
21 self.test = test
23 return '\'%s\'' % self.test.path
263 for f in glob.glob(options.test_dir + '/' + options.test):
318 if not options.test:
319 options.test = 'test*'
Dkmod-path.c6 static int test(const char *path, bool alloc_name, bool alloc_ext, in test() function
47 TEST_ASSERT_VAL("failed", !test(path, an, ae, k, c, n, e))
DBuild1 perf-y += builtin-test.o
45 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c
Dtests.h27 struct test { struct
/linux-4.4.14/arch/m68k/ifpsp060/
DTEST.DOC75 is NOT INCLUDED in {i,f}test.sa (an example "Call-out" section is provided at
76 the end of this file). The purpose of this section is to allow the test
80 to a function required by the test packages (these functions and their
84 sit adjacent to the {i,f}test.sa image in memory. Since itest.sa and ftest.sa
88 to access the test routines. Since the {i,f}test.sa hex files contain
95 For example, to run the 060ISP test, write a program that includes the
101 section is 128 bytes long; and the 68060ISP test entry point is located
105 the entry code jumps to the appropriate test code within the code section.
117 The test packages call _print_string() and _print_number()
120 In "C"-like fashion, the test program calls:
[all …]
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
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Dconsole.c928 lstcon_test_t *test = NULL; in lstcon_batch_info() local
941 list_for_each_entry(test, &bat->bat_test_list, tes_link) { in lstcon_batch_info()
952 clilst = (test == NULL) ? &bat->bat_cli_list : in lstcon_batch_info()
953 &test->tes_src_grp->grp_ndl_list; in lstcon_batch_info()
954 srvlst = (test == NULL) ? &bat->bat_srv_list : in lstcon_batch_info()
955 &test->tes_dst_grp->grp_ndl_list; in lstcon_batch_info()
968 if (test == NULL) { in lstcon_batch_info()
974 entp->u.tbe_test.tse_type = test->tes_type; in lstcon_batch_info()
975 entp->u.tbe_test.tse_loop = test->tes_loop; in lstcon_batch_info()
976 entp->u.tbe_test.tse_concur = test->tes_concur; in lstcon_batch_info()
[all …]
Dconrpc.c813 lstcon_test_t *test, lstcon_rpc_t **crpc) in lstcon_testrpc_prep() argument
815 lstcon_group_t *sgrp = test->tes_src_grp; in lstcon_testrpc_prep()
816 lstcon_group_t *dgrp = test->tes_dst_grp; in lstcon_testrpc_prep()
825 npg = sfw_id_pages(test->tes_span); in lstcon_testrpc_prep()
828 sizeof(lnet_process_id_packed_t) * test->tes_span; in lstcon_testrpc_prep()
838 int ndist = (sgrp->grp_nnode + test->tes_dist - 1) / in lstcon_testrpc_prep()
839 test->tes_dist; in lstcon_testrpc_prep()
840 int nspan = (dgrp->grp_nnode + test->tes_span - 1) / in lstcon_testrpc_prep()
841 test->tes_span; in lstcon_testrpc_prep()
845 trq->tsr_loop = nmax * test->tes_dist * test->tes_concur; in lstcon_testrpc_prep()
[all …]
Dconrpc.h118 struct lstcon_test *test, lstcon_rpc_t **crpc);
/linux-4.4.14/drivers/media/radio/
Dradio-cadet.c163 unsigned freq = 0, test, fifo = 0; in cadet_getfreq() local
176 test = 12500; in cadet_getfreq()
179 freq += test; in cadet_getfreq()
180 test = test << 1; in cadet_getfreq()
191 unsigned test; in cadet_settune() local
197 test = 0; in cadet_settune()
198 test = (fifo >> 23) & 0x02; /* Align data for SDO */ in cadet_settune()
199 test |= 0x1c; /* SDM=1, SWE=1, SEN=1, SCK=0 */ in cadet_settune()
201 outb(test, dev->io + 1); /* Initialize for write */ in cadet_settune()
203 test |= 0x01; /* Toggle SCK High */ in cadet_settune()
[all …]
/linux-4.4.14/Documentation/power/
Dbasic-pm-debugging.txt14 test at least a couple of times in a row for confidence. [This is necessary,
44 core run in a test mode. There are 5 test modes available:
47 - test the freezing of processes
50 - test the freezing of processes and suspending of devices
53 - test the freezing of processes, suspending of devices and platform
57 - test the freezing of processes, suspending of devices, platform
61 - test the freezing of processes, suspending of devices, platform global
69 /sys/power/pm_test (eg. "devices" to test the freezing of processes and
71 to use the "devices" test mode along with the "platform" mode of hibernation,
90 represents the normal functionality) in which the current test level is
[all …]
Ddrivers-testing.txt4 1. Preparing the test system
6 Unfortunately, to effectively test the support for the system-wide suspend and
14 Of course, for this purpose the test system has to be known to suspend and
16 resolve all suspend/resume-related problems in the test system before you start
22 Once you have resolved the suspend/resume-related problems with your test system
23 without the new driver, you are ready to test it:
25 a) Build the driver as a module, load it and try the test modes of hibernation
31 c) Compile the driver directly into the kernel and try the test modes of
37 e) Try the test modes of suspend (see: Documentation/power/basic-pm-debugging.txt,
Dinterface.txt27 modes of the suspend-to-disk mechanism: 'testproc' or 'test'. If the
31 in the 'test' mode, writing 'disk' to /sys/power/state will cause the kernel
40 [shutdown] reboot test testproc
48 'test'
/linux-4.4.14/arch/frv/include/asm/
Dcmpxchg.h80 extern uint64_t __cmpxchg_64(uint64_t test, uint64_t new, volatile uint64_t *v);
84 #define cmpxchg(ptr, test, new) \ argument
88 __typeof__(*(ptr)) __xg_test = (test); \
122 extern uint32_t __cmpxchg_32(uint32_t *v, uint32_t test, uint32_t new);
124 #define cmpxchg(ptr, test, new) \ argument
128 __typeof__(*(ptr)) __xg_test = (test); \
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dcmd.h34 struct wl1271_cmd_test_header test; member
49 struct wl1271_cmd_test_header test; member
64 struct wl1271_cmd_test_header test; member
80 struct wl1271_cmd_test_header test; member
99 struct wl1271_cmd_test_header test; member
Dcmd.c43 ext_radio_parms->test.id = TEST_CMD_INI_FILE_RF_EXTENDED_PARAM; in wl1271_cmd_ext_radio_parms()
84 gen_parms->test.id = TEST_CMD_INI_FILE_GENERAL_PARAM; in wl1271_cmd_general_parms()
151 gen_parms->test.id = TEST_CMD_INI_FILE_GENERAL_PARAM; in wl128x_cmd_general_parms()
212 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM; in wl1271_cmd_radio_parms()
256 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM; in wl128x_cmd_radio_parms()
/linux-4.4.14/arch/x86/um/os-Linux/
Dtask_size.c80 unsigned long test, original; in os_get_top_address() local
123 test = bottom + (top - bottom) / 2; in os_get_top_address()
124 if (page_ok(test)) in os_get_top_address()
125 bottom = test; in os_get_top_address()
127 top = test; in os_get_top_address()
/linux-4.4.14/drivers/staging/speakup/
Dspeakup_audptr.c147 unsigned char test = 0; in synth_version() local
151 synth_id[test] = spk_serial_in(); in synth_version()
152 if (synth_id[test] == 'A') { in synth_version()
155 synth_id[++test] = spk_serial_in(); in synth_version()
156 } while (synth_id[test] != '\n' && test < 32); in synth_version()
157 synth_id[++test] = 0x00; in synth_version()
/linux-4.4.14/Documentation/cgroups/
Dmemcg_test.txt126 When you do test to do racy case, it's good test to set memcg's limit
127 to be very small rather than GB. Many races found in the test under
135 SwapCache. Test with shmem/tmpfs is always good test.
138 For NUMA, migration is an another special case. To do easy test, cpuset
172 memory hotplug test is one of good test.
176 This is an easy way to test page migration, too.
179 When using hierarchy, mkdir/rmdir test should be done.
198 Mounting with other subsystems is a good test because there is a
211 For example, test like following is good.
214 # mkdir /cgroup/test
[all …]
/linux-4.4.14/Documentation/prctl/
D.gitignore1 disable-tsc-ctxt-sw-stress-test
2 disable-tsc-on-off-stress-test
3 disable-tsc-test
/linux-4.4.14/tools/testing/selftests/futex/
DREADME3 Futex Test is intended to thoroughly test the Linux kernel futex system call
6 Functional tests shall test the documented behavior of the futex operation
7 code under test. This includes checking for proper behavior under normal use,
42 test_name: Description of the test
45 FAIL: Reason for test failure
53 o FIXME: decide on a sane test naming scheme. Currently the tests are named
54 based on the primary futex operation they test. Eventually this will become a
57 detailed description in the test source and the output.
/linux-4.4.14/tools/usb/
Dtestusb.c135 int test; member
317 if (dev->test != -1 && dev->test != i) in handle_testdev()
384 int test = -1 /* all */; in main() local
435 test = atoi (optarg); in main()
436 if (test < 0) in main()
501 entry->test = test; in main()
523 dev.test = test; in main()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c590 const struct ixgbevf_reg_test *test; in ixgbevf_reg_test() local
599 test = reg_test_vf; in ixgbevf_reg_test()
604 while (test->reg) { in ixgbevf_reg_test()
605 for (i = 0; i < test->array_len; i++) { in ixgbevf_reg_test()
608 switch (test->test_type) { in ixgbevf_reg_test()
611 test->reg + (i * 0x40), in ixgbevf_reg_test()
612 test->mask, in ixgbevf_reg_test()
613 test->write); in ixgbevf_reg_test()
617 test->reg + (i * 0x40), in ixgbevf_reg_test()
618 test->mask, in ixgbevf_reg_test()
[all …]
/linux-4.4.14/crypto/async_tx/
Draid6test.c155 static int test(int disks, int *tests) in test() function
212 err += test(4, &tests); in raid6_test()
214 err += test(5, &tests); in raid6_test()
219 err += test(11, &tests); in raid6_test()
220 err += test(12, &tests); in raid6_test()
228 err += test(24, &tests); in raid6_test()
230 err += test(NDISKS, &tests); in raid6_test()
/linux-4.4.14/arch/x86/net/
Dbpf_jit.S28 test %esi,%esi
45 test %esi,%esi
62 test %esi,%esi
82 test %eax,%eax; \
115 test %rax,%rax; \
/linux-4.4.14/drivers/vhost/
Dtest.c168 static long vhost_test_run(struct vhost_test *n, int test) in vhost_test_run() argument
174 if (test < 0 || test > 1) in vhost_test_run()
193 priv = test ? n : NULL; in vhost_test_run()
266 int test; in vhost_test_ioctl() local
271 if (copy_from_user(&test, argp, sizeof test)) in vhost_test_ioctl()
273 return vhost_test_run(n, test); in vhost_test_ioctl()
/linux-4.4.14/Documentation/device-mapper/
Dlog-writes.txt82 <run test>
99 Say you want to test fsync on your file system. You would do something like
107 mount /dev/mapper/log /mnt/btrfs-test
108 <some test that does fsync at the end>
110 md5sum /mnt/btrfs-test/foo
111 umount /mnt/btrfs-test
115 mount /dev/sdb /mnt/btrfs-test
116 md5sum /mnt/btrfs-test/foo
127 mount /dev/mapper/log /mnt/btrfs-test
129 btrfs filesystem balance /mnt/btrfs-test
[all …]
Ddm-service-time.txt73 dmsetup create test
76 test: 0 10 multipath 0 0 1 1 service-time 0 2 2 8:0 128 1 8:16 128 4
79 test: 0 10 multipath 2 0 0 0 1 1 E 0 2 2 8:0 A 0 0 1 8:16 A 0 0 4
85 dmsetup create test
88 test: 0 10 multipath 0 0 1 1 service-time 0 2 2 8:0 128 2 8:16 128 8
91 test: 0 10 multipath 2 0 0 0 1 1 E 0 2 2 8:0 A 0 0 2 8:16 A 0 0 8
Ddm-queue-length.txt33 dmsetup create test
36 test: 0 10 multipath 0 0 1 1 queue-length 0 2 1 8:0 128 8:16 128
39 test: 0 10 multipath 2 0 0 0 1 1 E 0 2 1 8:0 A 0 0 8:16 A 0 0
/linux-4.4.14/fs/btrfs/
Dordered-data.c82 struct rb_node *test; in __tree_search() local
102 test = rb_next(prev); in __tree_search()
103 if (!test) in __tree_search()
105 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
110 prev = test; in __tree_search()
116 test = rb_prev(prev); in __tree_search()
117 if (!test) in __tree_search()
119 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
121 prev = test; in __tree_search()
952 struct btrfs_ordered_extent *test; in btrfs_ordered_update_i_size() local
[all …]
/linux-4.4.14/security/apparmor/
Dprocattr.c114 int aa_setprocattr_changehat(char *args, size_t size, int test) in aa_setprocattr_changehat() argument
148 return aa_change_hat(hats, count, token, test); in aa_setprocattr_changehat()
159 int aa_setprocattr_changeprofile(char *fqname, bool onexec, int test) in aa_setprocattr_changeprofile() argument
164 return aa_change_profile(ns_name, name, onexec, test); in aa_setprocattr_changeprofile()
/linux-4.4.14/Documentation/leds/
Dleds-blinkm.txt56 blue green red test
59 and a test sequence.
67 #Write into test to start test sequence!#
69 $ echo 1 > test
/linux-4.4.14/net/bluetooth/
DKconfig80 When the Bluetooth subsystem is built as module, then the test
82 subsystem is compiled into the kernel image, then the test cases
86 bool "ECDH test cases"
89 Run test cases for ECDH cryptographic functionality used by the
93 bool "SMP test cases"
96 Run test cases for SMP cryptographic functionality, including both
/linux-4.4.14/Documentation/RCU/
Dtorture.txt8 be loaded to run a torture test. The test periodically outputs
10 command (perhaps grepping for "torture"). The test is started
53 gives best overall test coverage.
100 The number of seconds to keep the test threads affinitied
104 shutdown_secs The number of seconds to run the test before terminating
105 the test and powering off the system. The default is
106 zero, which disables test termination and system shutdown.
134 stutter The length of time to run the test before pausing for this
137 Specifying "stutter=0" causes the test to run continuously
140 test_boost Whether or not to test the ability of RCU to do priority
[all …]
/linux-4.4.14/Documentation/
Dgcov.txt9 6. Separated build and test machines
35 * test improvement (how do I change my test to cover these lines?)
135 6. Separated build and test machines
145 The gcov tool version on the test machine must be compatible with the
147 copied from build to test machine:
158 exact same file system location on the test machine as on the build
164 The following files need to be copied after each test case from test
178 /tmp/coverage: location of the files copied from the test machine
225 echo "$DEST successfully created, copy to test system and unpack with:"
235 Sample script to gather coverage data files on the test machine
Dbasic_profiling.txt6 <test> is the thing you're trying to measure.
25 <test>
49 <test>
Dkselftest.txt10 in safe mode with a limited scope. In limited mode, cpu-hotplug test is
12 hotplug test is run on 2% of hotplug capable memory instead of 10%.
33 single test to run, or a list of tests to run.
Dstatic-keys.txt149 simply fall back to a traditional, load, test, and jump sequence.
217 ffffffff810441fa: 85 c0 test %eax,%eax
235 Thus, the disable jump label case adds a 'mov', 'test' and 'jne' instruction
240 6 (mov) + 2 (test) + 2 (jne) = 10 - 5 (5 byte jump 0) = 5 addition bytes.
251 'pipe-test' (also known as 'perf bench sched pipe') can be used to show the
256 Performance counter stats for 'bash -c /tmp/pipe-test' (50 runs):
273 Performance counter stats for 'bash -c /tmp/pipe-test' (50 runs):
Dedac.txt517 /sys/devices/systm/edac/test-instance
532 test_bits which in the current test driver does nothing but
547 test-instance0
562 test-block0
575 test-block-bits-0 for every POLL cycle this counter
577 test-block-bits-1 every 10 cycles, this counter is bumped once,
578 and test-block-bits-0 is set to 0
579 test-block-bits-2 every 100 cycles, this counter is bumped once,
580 and test-block-bits-1 is set to 0
581 test-block-bits-3 every 1000 cycles, this counter is bumped once,
[all …]
/linux-4.4.14/tools/testing/selftests/rcutorture/doc/
Drcu-test-image.txt1 This document describes one way to created the rcu-test-image file
10 dd if=/dev/zero of=rcu-test-image bs=400M count=1
11 mkfs.ext3 ./rcu-test-image
12 sudo mount -o loop ./rcu-test-image /mnt
DTINY_RCU.txt1 This document gives a brief rationale for the TINY_RCU test cases.
19 In common code tested by TREE_RCU test cases.
/linux-4.4.14/security/apparmor/include/
Dprocattr.h22 int aa_setprocattr_changehat(char *args, size_t size, int test);
23 int aa_setprocattr_changeprofile(char *fqname, bool onexec, int test);
/linux-4.4.14/tools/power/cpupower/bench/
DREADME-BENCH27 cpufreq-bench helps to test the condition of a given cpufreq governor.
49 Together you get following test:
58 Then the above test runs are processed using the performance governor
59 and the governor to test. The time the calculation really needed
66 This shows expected results of the first two test run rounds from
96 You can easily test all kind of load/sleep times and check whether your
115 -g, --governor=<governor> cpufreq governor to test
/linux-4.4.14/Documentation/fault-injection/
Dnotifier-error-inject.txt5 specified notifier chain callbacks. It is useful to test the error handling of
7 modules that can be used to test the following notifiers.
16 This feature can be used to test the error handling of the CPU notifiers by
95 * tools/testing/selftests/cpu-hotplug/on-off-test.sh
96 * tools/testing/selftests/memory-hotplug/on-off-test.sh
/linux-4.4.14/arch/xtensa/
DKconfig.debug27 bool "Perform S32C1I instruction self-test at boot"
30 Enable this option to test S32C1I instruction behavior at boot.
33 It is easy to make wrong hardware configuration, this test should catch it early.
/linux-4.4.14/Documentation/zh_CN/
Dbasic_profiling.txt25 <test> 用于表示要测量的目标
42 <test>
64 <test>
/linux-4.4.14/Documentation/locking/
Dlocktorture.txt10 grepping for "torture"). The test is started when the module is loaded,
14 This torture test consists of creating a number of kernel threads which
68 shutdown_secs The number of seconds to run the test before terminating
69 the test and powering off the system. The default is
70 zero, which disables test termination and system shutdown.
94 stutter The length of time to run the test before pausing for this
97 Specifying "stutter=0" causes the test to run continuously
100 shuffle_interval The number of seconds to keep the test threads affinitied
/linux-4.4.14/arch/m68k/fpsp040/
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
102 cmpib #UNIMP_40_SIZE-4,1(%a7) |test for orig unimp frame
107 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
257 tstb UFLG_TMP(%a6) |test flag for unsupp/unimp state
[all …]
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
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
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
609 | A6. This test occurs only on the first pass. If the
640 bne not_zr |if non-zero, go to second test
[all …]
Ddo_func.S65 | unimplemented instructions. The test is on the upper 6 bits;
190 cmpiw #0x3fff,LOCAL_EX(%a0) |test for 1.0 input
212 cmpiw #0x3fff,LOCAL_EX(%a0) |test for 1.0 input
234 cmpiw #0x3fff,LOCAL_EX(%a0) |test for 1.0 input
305 btstl #7,%d1 |test for sign
309 btstl #7,%d0 |test if + or -
317 btstl #7,%d1 |test for sign
459 btstb #sign_bit,FPTEMP_EX(%a6) |test if + or -
463 btstb #sign_bit,FPTEMP_EX(%a6) |test if + or -
Dround.S151 movel LOCAL_HI(%a0),%d2 |get word 2 for s-bit test
154 tstl LOCAL_LO(%a0) |test lower mantissa
156 tstl %d0 |test original g,r,s
163 movel LOCAL_LO(%a0),%d2 |get lower mantissa for s-bit test
166 tstl %d0 |test word original g,r,s
200 tstl %d0 |test for rs = 0
213 bccs xcc_clr |test for carry out
222 tstl %d0 |test rs = 0
241 tstl %d0 |test for rs = 0
504 btstb #E3,E_BYTE(%a6) |test for type E3 exception
[all …]
Dx_unimp.S49 moveb (%a7),%d0 |test for valid version num
50 andib #0xf0,%d0 |test for $4x
Dkernel_ex.S69 btstb #dz_bit,FPCR_ENABLE(%a6) |test FPCR for dz exc enabled
74 btstb #dz_bit,FPCR_ENABLE(%a6) |test FPCR for dz exc enabled
118 btstb #operr_bit,FPCR_ENABLE(%a6) |test FPCR for operr enabled
286 btstb #sign_bit,FPTEMP_EX(%a6) |test sign of nan
Dscale.S59 cmpiw #0x400c,%d0 |test for too large
102 cmpil #0x7fff,%d1 |test for overflow
193 tstb L_SCR1(%a6) |test for sign
210 btstb #5,FPCR_MODE(%a6) |test if rm or rp
Dx_operr.S157 moveb STAG(%a6),%d0 |test stag for nan
161 cmpil #0xffff8000,FPTEMP_LO(%a6) |test if ls lword is special
184 moveb STAG(%a6),%d0 |test stag for nan
188 cmpil #0xffffff80,FPTEMP_LO(%a6) |test if ls lword is special
Dx_fline.S68 cmpib #VER_40,(%a7) |test for orig unimp frame
76 cmpib #VER_41,(%a7) |test for rev unimp frame
Dx_unfl.S69 bsrl b1238_fix |test for bug1238 case
103 bsrl b1238_fix |test for bug1238 case
124 bsrl b1238_fix |test for bug1238 case
Dx_snan.S90 cmpib #VER_40,(%a7) |test for orig unimp frame
118 cmpib #VER_40,(%a7) |test for orig unimp frame
268 btstl #15,%d0 |test for sign of snan
/linux-4.4.14/Documentation/networking/
Dcs89x0.txt379 the CS8900/20 Setup Utility can be used to test the functionality of the
381 test the functionality of the adapter with the hardware configuration you have
382 assigned. You can use the diagnostics 'Network Test' to test the ability of the
400 * Select 'Self-Test' to test the adapter's basic functionality.
401 * Select 'Network Test' to test the network connection and cabling.
406 The diagnostic self-test checks the adapter's basic functionality as well as
411 The IO Register Read/Write test insures that the CS8900/20 can be
415 The Shared Memory test insures the CS8900/20 can be accessed in memory
420 The Interrupt test insures there are no conflicts with the assigned IRQ
424 The EEPROM test insures the EEPROM can be read.
[all …]
Diphase.txt119 For the PVC setup, the test machines can either be connected back-to-back or
123 a. For UBR test:
124 At the test machine intended to receive data, type:
126 At the other test machine, type:
129 b. For ABR test:
135 c. For CBR test:
/linux-4.4.14/arch/alpha/lib/
Dstrrchr.S21 zapnot a1, 1, a1 # e0 : zero extend our test character
23 sll a1, 8, t5 # e0 : replicate our test character
38 andnot t1, t4, t1 # .. e1 : clear garbage from null test
39 andnot t3, t4, t3 # e0 : clear garbage from char test
Dev67-strrchr.S60 andnot t1, t4, t1 # E : clear garbage from null test
61 andnot t3, t4, t3 # E : clear garbage from char test
Dstxncpy.S164 or t0, t6, t6 # e1 : mask original data for zero test
216 cmpbge zero, t2, t8 # e1 : test new word for eos (stall)
319 or t8, t10, t5 # .. e1 : test for end-of-count too
/linux-4.4.14/tools/testing/ktest/examples/
DREADME12 it easy to compile test different archs. You can download the arch
16 test.conf - A generic example of a config. This is based on an actual config
19 kvm.conf - A example of a config that is used to test a virtual guest running
/linux-4.4.14/scripts/coccinelle/misc/
Difaddr.cocci27 cocci.print_main("test of a variable/field address",p)
33 msg = "ERROR: test of a variable/field address"
/linux-4.4.14/tools/testing/selftests/x86/
Dtest_FCOMI.c35 int test(long flags) in test() function
311 err |= test(0); in main()
315 err |= test(CF|ZF|PF); in main()
Dtest_FISTTP.c20 int test(void) in test() function
130 err |= test(); in main()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dgf119.fuc443 #include "test.fuc"
54 #include "test.fuc"
67 #include "test.fuc"
Dgk208.fuc543 #include "test.fuc"
54 #include "test.fuc"
67 #include "test.fuc"
Dgt215.fuc343 #include "test.fuc"
54 #include "test.fuc"
67 #include "test.fuc"
Dgf100.fuc343 #include "test.fuc"
54 #include "test.fuc"
67 #include "test.fuc"
Dtest.fuc41 // $r15 - current (test)
58 // $r15 - current (test)
/linux-4.4.14/arch/parisc/kernel/
Dperf.c308 uint32_t test; in perf_write() local
328 test = (image_type & 0xffff); in perf_write()
343 (test >= MAX_CUDA_IMAGES)) || in perf_write()
345 (test >= MAX_ONYX_IMAGES))) in perf_write()
350 return perf_config(cuda_images[test]); in perf_write()
352 return perf_config(onyx_images[test]); in perf_write()
Dpdc_chassis.c283 unsigned long test; in pdc_chassis_create_procfs() local
286 ret = pdc_chassis_warn(&test); in pdc_chassis_create_procfs()
/linux-4.4.14/drivers/ntb/test/
DKconfig5 doorbells of the ntb hardware. This driver may be used to test that
16 This driver may be used to test that your ntb hardware and drivers are
/linux-4.4.14/fs/jffs2/
DTODO16 - test, test, test
/linux-4.4.14/Documentation/networking/mac80211_hwsim/
DREADME13 test most of the mac80211 functionality and user space tools (e.g.,
20 to test their code and work with new features to mac80211, hostapd,
22 of real hardware, so it is easy to generate an arbitrary test setup
66 More test cases are available in hostap.git:
/linux-4.4.14/drivers/i2c/busses/
Di2c-iop3xx.c161 typedef int (* compare_func)(unsigned test, unsigned mask);
198 all_bits_clear(unsigned test, unsigned mask) in all_bits_clear() argument
200 return (test & mask) == 0; in all_bits_clear()
204 any_bits_set(unsigned test, unsigned mask) in any_bits_set() argument
206 return (test & mask) != 0; in any_bits_set()
/linux-4.4.14/drivers/media/platform/vivid/
DKconfig18 Error injection is supported to test rare errors that are hard
21 Say Y here if you want to test video apps or debug V4L devices.
/linux-4.4.14/arch/x86/math-emu/
Dwm_shrx.S138 test $0x7fffffff,%eax /* and 31 bits here */
157 test $0x7fffffff,%eax /* only need to look at eax here */
180 test $0x7fffffff,%eax /* only need to look at eax here */
/linux-4.4.14/drivers/mtd/maps/
Dbfin-async-flash.c74 map_word test; in bfin_flash_read() local
82 test.x[0] = word; in bfin_flash_read()
83 return test; in bfin_flash_read()
Dgpio-addr-flash.c86 map_word test; in gf_read() local
91 test.x[0] = word; in gf_read()
92 return test; in gf_read()
/linux-4.4.14/arch/um/os-Linux/
Dirq.c79 void os_free_irq_by_cb(int (*test)(struct irq_fd *, void *), void *arg, in os_free_irq_by_cb()
87 if ((*test)(*prev, arg)) { in os_free_irq_by_cb()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Ddebug.h99 #define brcmf_dbg_hex_dump(test, data, len, fmt, ...) \ argument
102 if (test) \
/linux-4.4.14/arch/arm/boot/dts/
Dimx27-eukrea-cpuimx27.dtsi125 no-loopback-test;
138 no-loopback-test;
151 no-loopback-test;
164 no-loopback-test;
Dnspire-classic.dtsi28 no-loopback-test;
/linux-4.4.14/tools/virtio/
Dvirtio_test.c159 int r, test = 1; in run_test() local
162 r = ioctl(dev->control, VHOST_TEST_RUN, &test); in run_test()
202 test = 0; in run_test()
203 r = ioctl(dev->control, VHOST_TEST_RUN, &test); in run_test()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_ethtool.c1248 struct igb_reg_test *test; in igb_reg_test() local
1255 test = reg_test_i350; in igb_reg_test()
1260 test = reg_test_i210; in igb_reg_test()
1264 test = reg_test_82580; in igb_reg_test()
1268 test = reg_test_82576; in igb_reg_test()
1272 test = reg_test_82575; in igb_reg_test()
1299 while (test->reg) { in igb_reg_test()
1300 for (i = 0; i < test->array_len; i++) { in igb_reg_test()
1301 switch (test->test_type) { in igb_reg_test()
1303 REG_PATTERN_TEST(test->reg + in igb_reg_test()
[all …]
/linux-4.4.14/drivers/of/
DKconfig20 This option builds in test cases for the device tree infrastructure
56 can enable it manually to improve device tree unit test coverage.
113 enable it manually to improve device tree unit test coverage.
/linux-4.4.14/tools/testing/selftests/efivarfs/
Defivarfs.sh26 echo "running $test"
29 if [ "$(type -t $test)" = 'function' ]; then
/linux-4.4.14/Documentation/arm/VFP/
Drelease-notes.txt12 John R. Hauser using the TestFloat-2a test suite. Details of this
13 library and test suite can be found at:
/linux-4.4.14/kernel/trace/
Dtrace_events_trigger.c527 struct event_trigger_data *test; in register_trigger() local
530 list_for_each_entry_rcu(test, &file->triggers, list) { in register_trigger()
531 if (test->cmd_ops->trigger_type == data->cmd_ops->trigger_type) { in register_trigger()
568 struct event_trigger_data *test, in unregister_trigger() argument
575 if (data->cmd_ops->trigger_type == test->cmd_ops->trigger_type) { in unregister_trigger()
1301 struct event_trigger_data *test; in event_enable_register_trigger() local
1304 list_for_each_entry_rcu(test, &file->triggers, list) { in event_enable_register_trigger()
1305 test_enable_data = test->private_data; in event_enable_register_trigger()
1333 struct event_trigger_data *test, in event_enable_unregister_trigger() argument
1336 struct enable_trigger_data *test_enable_data = test->private_data; in event_enable_unregister_trigger()
Dtrace_events_filter_test.h2 #define TRACE_SYSTEM test
DKconfig281 into the C conditionals to test which path a branch takes.
497 bool "Perform a startup test on ftrace"
515 TBD - enable a way to actually call the syscalls as we test their
575 This option creates a test to stress the ring buffer and benchmark it.
588 bool "Ring buffer startup self test"
591 Run a simple self test on the ring buffer on boot up. Late in the
592 kernel boot sequence, the test will start that kicks off
596 to the ring buffer, to test/stress the nesting ability.
600 The test runs for 10 seconds. This will slow your boot time
603 At the end of the test, statics and more checks are done.
/linux-4.4.14/arch/x86/kernel/cpu/
Dcyrix.c393 unsigned int test; in test_cyrix_52div() local
399 : "=a" (test) in test_cyrix_52div()
404 return (unsigned char) (test >> 8) == 0x02; in test_cyrix_52div()
Dperf_event_msr.c69 bool (*test)(int idx); member
226 if (!msr[i].test(i) || rdmsrl_safe(msr[i].msr, &val)) in msr_init()
/linux-4.4.14/drivers/usb/serial/
Dwhiteheat.h196 __u8 test; /* see WHITEHEAT_TEST_* above*/ member
295 __u8 test; /* indicates which test this is a response for, member
/linux-4.4.14/Documentation/ia64/
D.gitignore1 aliasing-test
/linux-4.4.14/tools/testing/selftests/mount/
D.gitignore1 unprivileged-remount-test
/linux-4.4.14/Documentation/filesystems/cifs/
DAUTHORS7 improvements. Thanks to IBM for allowing me time and test resources to pursue
56 And thanks to the IBM LTC and Power test teams and SuSE testers for
57 finding multiple bugs during excellent stress test runs.
/linux-4.4.14/Documentation/security/
Dkeys-ecryptfs.txt51 'ecryptfs' and save it using a previously loaded user key "test":
53 $ keyctl add encrypted 1000100010001000 "new ecryptfs user:test 64" @u
57 ecryptfs user:test 64 490045d4bfe48c99f0d465fbbbb79e7500da954178e2de0697
/linux-4.4.14/Documentation/watchdog/src/
D.gitignore2 watchdog-test
/linux-4.4.14/tools/testing/selftests/kcmp/
D.gitignore2 kcmp-test-file
/linux-4.4.14/tools/testing/selftests/memfd/
D.gitignore4 memfd-test-file
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c867 static void be_self_test(struct net_device *netdev, struct ethtool_test *test, in be_self_test() argument
876 test->flags |= ETH_TEST_FL_FAILED; in be_self_test()
882 if (test->flags & ETH_TEST_FL_OFFLINE) { in be_self_test()
884 test->flags |= ETH_TEST_FL_FAILED; in be_self_test()
887 test->flags |= ETH_TEST_FL_FAILED; in be_self_test()
889 if (test->flags & ETH_TEST_FL_EXTERNAL_LB) { in be_self_test()
892 test->flags |= ETH_TEST_FL_FAILED; in be_self_test()
893 test->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in be_self_test()
899 test->flags |= ETH_TEST_FL_FAILED; in be_self_test()
904 test->flags |= ETH_TEST_FL_FAILED; in be_self_test()
[all …]
/linux-4.4.14/tools/testing/selftests/rcutorture/
D.gitignore4 rcu-test-image
/linux-4.4.14/scripts/
Danalyze_suspend.py1222 for test in testrun:
1225 for name in test.ttemp:
1226 for event in test.ttemp[name]:
1230 if(begin < test.data.start):
1231 test.data.setStart(begin)
1233 if(end > test.data.end):
1234 test.data.setEnd(end)
1235 test.data.newActionGlobal(name, begin, end)
1238 for pid in test.ftemp:
1239 for cg in test.ftemp[pid]:
[all …]
/linux-4.4.14/arch/mips/lantiq/falcon/
Dsysctrl.c83 unsigned int test, unsigned int reg) in sysctl_wait() argument
88 & clk->bits) != test)); in sysctl_wait()
91 clk->module, clk->bits, test, in sysctl_wait()
/linux-4.4.14/include/linux/platform_data/
Dpn544.h38 int (*test) (void); member
/linux-4.4.14/tools/build/tests/ex/empty2/
DREADME2 to test proper nesting into Build-less directories.
/linux-4.4.14/tools/perf/arch/x86/include/
Darch-tests.h17 extern struct test arch_tests[];
/linux-4.4.14/tools/perf/arch/x86/tests/
Darch-tests.c5 struct test arch_tests[] = {
/linux-4.4.14/Documentation/vm/
Dhwpoison.txt112 some early filtering to avoid corrupted unintended pages in test suites.
159 x86 has mce-inject, mce-test
161 Some portable hwpoison test programs in mce-test, see blow.
170 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-trans.h569 void (*d3_suspend)(struct iwl_trans *trans, bool test);
571 bool test);
817 static inline void iwl_trans_d3_suspend(struct iwl_trans *trans, bool test) in iwl_trans_d3_suspend() argument
821 trans->ops->d3_suspend(trans, test); in iwl_trans_d3_suspend()
826 bool test) in iwl_trans_d3_resume() argument
832 return trans->ops->d3_resume(trans, status, test); in iwl_trans_d3_resume()
/linux-4.4.14/Documentation/isdn/
DREADME.x255 This is alpha/beta test code. Use it completely at your own risk.
129 corresponding isdn connection is set up by you. At least one test
135 How to set up a test installation?
138 To test X.25 on top of isdn, you need to get
174 alpha-test implementation ("eftp4linux") of the EUROfile transfer
177 The scripts distributed with the eftp4linux test releases might also
/linux-4.4.14/drivers/staging/skein/
DTODO4 - add / pass test vectors
/linux-4.4.14/fs/
Dinode.c774 int (*test)(struct inode *, void *), in find_inode()
783 if (!test(inode, data)) in find_inode()
1010 int (*test)(struct inode *, void *), in iget5_locked()
1017 inode = find_inode(sb, head, test, data); in iget5_locked()
1031 old = find_inode(sb, head, test, data); in iget5_locked()
1227 int (*test)(struct inode *, void *), void *data) in ilookup5_nowait()
1233 inode = find_inode(sb, head, test, data); in ilookup5_nowait()
1258 int (*test)(struct inode *, void *), void *data) in ilookup5()
1260 struct inode *inode = ilookup5_nowait(sb, hashval, test, data); in ilookup5()
1384 int (*test)(struct inode *, void *), void *data) in insert_inode_locked4()
[all …]
/linux-4.4.14/drivers/video/fbdev/
Dpxa168fb.h233 #define CFG_GRA_TSTMODE(test) ((test) << 13) argument
250 #define CFG_DMA_TSTMODE(test) ((test) << 5) argument
/linux-4.4.14/drivers/pci/hotplug/
Dpci_hotplug_core.c226 u32 test; in test_write_file() local
230 test = (u32)(ltest & 0xffffffff); in test_write_file()
231 dbg("test = %d\n", test); in test_write_file()
238 retval = slot->ops->hardware_test(slot, test); in test_write_file()
/linux-4.4.14/Documentation/video4linux/
Dvivid.txt16 allows you to use this driver as a test input for application development, since
17 you can test the various features without requiring special hardware.
22 - A large list of test patterns and variations thereof
28 - Error injection to test what happens if errors occur
247 the driver behavior and test your application with all sorts of permutations.
334 you to test the various combinations by just switching channels..
421 alternate between "Hello world!" and "Closed captions test" every second.
543 This allows you to test controls that can change their range.
545 The 'Gain, Automatic' and Gain controls can be used to test volatile controls:
580 Test Pattern: selects which test pattern to use. Use the CSC Colorbar for
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c1402 const struct ixgbe_reg_test *test; in ixgbe_reg_test() local
1414 test = reg_test_82598; in ixgbe_reg_test()
1421 test = reg_test_82599; in ixgbe_reg_test()
1451 while (test->reg) { in ixgbe_reg_test()
1452 for (i = 0; i < test->array_len; i++) { in ixgbe_reg_test()
1455 switch (test->test_type) { in ixgbe_reg_test()
1458 test->reg + (i * 0x40), in ixgbe_reg_test()
1459 test->mask, in ixgbe_reg_test()
1460 test->write); in ixgbe_reg_test()
1464 test->reg + (i * 0x40), in ixgbe_reg_test()
[all …]
/linux-4.4.14/arch/x86/ras/
DKconfig6 This is a simple debugfs interface to inject MCEs and test different
/linux-4.4.14/Documentation/scsi/
Dqlogicfas.txt59 The best way to test if your cables, termination, etc. are good is to
64 tests, otherwise you will test your RAM and not the files). Then do
68 I noticed my system which seems to work 100% would fail this test if
Dosst.txt119 well.) For the USB support, you need the latest 2.4.0-test kernels and the
195 test -z "$1" || nrs=$1
196 test -z "$2" || dir=$2
199 test -d $dir || mkdir -p $dir
200 while test $nr -lt $nrs; do
Daha152x.txt14 least on my ancient test box; a i486/33Mhz/20MB).
35 Don't test for BIOS signature (AHA-1510 or disabled BIOS)
55 When you do this, the BIOS test is skipped. Entered values have to be
/linux-4.4.14/arch/m68k/math-emu/
Dfp_decode.h142 btst #15,%d2 | test for data/addr register
188 | get the extension word and test for brief or full extension type
196 | test if %pc is the base register for the indirect addr mode
202 | test if %pc is the base register for one of the extended modes
/linux-4.4.14/Documentation/usb/
DCREDITS45 in technical questions and with test equipment. I'd never
49 Evaluation Kits. It allows us to test the Linux-USB driver
62 PCI-to-USB Controller Board to test the OHCI implementation.
73 - Genius Germany donated a USB mouse to test the mouse boot
84 USB Floppy Disk Drive, so we could test the bulk transfer
/linux-4.4.14/arch/powerpc/platforms/cell/
DKconfig22 select IBM_EMAC_ZMII #test only
23 select IBM_EMAC_TAH #test only
/linux-4.4.14/Documentation/devicetree/bindings/serial/
D8250.txt40 - no-loopback-test: set to indicate that the port does not implements loopback
41 test mode
/linux-4.4.14/tools/usb/usbip/
Dconfigure.ac59 [if test "$withval" = "yes"; then
99 [if test "$withval" = "yes"; then
/linux-4.4.14/arch/arm/mach-ixp4xx/include/mach/
Dixp46x_ts.h43 u32 test; /* 0x10 Time Sync Test Register */ member
/linux-4.4.14/Documentation/sound/oss/
DWaveArtist26 05 | 0 | 1 1 0 1 | right aux2 mixer gain | left 2 right mic gain |test |
34 09 | 1 | 0 1 0 1 |loopb|left linout|loop|ADCch|TxFch|OffCD|test |loopb|loopb|osamp|
/linux-4.4.14/Documentation/watchdog/
Dpcwd-watchdog.txt27 driver, simply use of modify the watchdog test program:
28 Documentation/watchdog/src/watchdog-test.c
/linux-4.4.14/drivers/firmware/
Dedd.c66 int (*test) (struct edd_device * edev); member
79 .test = _test, \
706 if (!attr->test || in edd_populate_dir()
707 (attr->test && attr->test(edev))) in edd_populate_dir()
/linux-4.4.14/Documentation/timers/
D00-INDEX8 - sample hpet timer test program
/linux-4.4.14/drivers/staging/gdm724x/
DTODO3 - Remove test for host endian
/linux-4.4.14/tools/testing/ktest/
Dktest.pl1214 foreach my $test (keys %repeat_tests) {
1215 if ($i >= $test &&
1216 $i < $test + $repeat_tests{$test}) {
1219 $parent = $test;
2939 my $test;
2942 $test = run_git_bisect "git bisect $result";
2944 } while ($test);
4155 foreach my $test (keys %repeat_tests) {
4156 if ($i >= $test &&
4157 $i < $test + $repeat_tests{$test}) {
[all …]
/linux-4.4.14/tools/perf/
Dcommand-list.txt25 perf-test mainporcelain common
/linux-4.4.14/Documentation/devicetree/bindings/power/
Dpower-controller.txt8 marks the device as able to control the system power. In order to test if this
/linux-4.4.14/Documentation/powerpc/
Dcpu_features.txt19 C code may test 'cur_cpu_spec[smp_processor_id()]->cpu_features' for a
48 and END_FTR_SECTION_IFCLR. These simply test if a flag is set (in
/linux-4.4.14/scripts/basic/
Dfixdep.c419 static char test[] __attribute__((aligned(sizeof(int)))) = "CONF"; in traps() local
420 int *p = (int *)test; in traps()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dethtool.c216 int *test, const char *unit_format, int unit_id, in efx_fill_test() argument
223 data[test_index] = *test; in efx_fill_test()
505 struct ethtool_test *test, u64 *data) in efx_ethtool_self_test() argument
522 (test->flags & ETH_TEST_FL_OFFLINE) ? "off" : "on"); in efx_ethtool_self_test()
535 rc = efx_selftest(efx, efx_tests, test->flags); in efx_ethtool_self_test()
542 (test->flags & ETH_TEST_FL_OFFLINE) ? "off" : "on"); in efx_ethtool_self_test()
549 test->flags |= ETH_TEST_FL_FAILED; in efx_ethtool_self_test()
/linux-4.4.14/arch/frv/lib/
Datomic-ops.S43 # uint32_t __cmpxchg_32(uint32_t *v, uint32_t test, uint32_t new)
Datomic64-ops.S45 # uint64_t __cmpxchg_64(uint64_t test, uint64_t new, uint64_t *v)
/linux-4.4.14/arch/parisc/math-emu/
DREADME9 warranties about this code nor any promises to maintain or test it
/linux-4.4.14/drivers/ntb/
DKconfig17 source "drivers/ntb/test/Kconfig"
/linux-4.4.14/tools/perf/util/
Dtrace-event-read.c347 char test[] = { 23, 8, 68 }; in trace_report() local
365 if (memcmp(buf, test, 3) != 0) { in trace_report()
/linux-4.4.14/sound/sparc/
Dcs4231.c1679 u32 test, csr; in sbus_dma_request() local
1688 test = APC_CDMA_READY; in sbus_dma_request()
1690 test = APC_PDMA_READY; in sbus_dma_request()
1691 if (!(csr & test)) in sbus_dma_request()
1694 test = APC_XINT_CNVA; in sbus_dma_request()
1696 test = APC_XINT_PNVA; in sbus_dma_request()
1697 if (!(csr & test)) in sbus_dma_request()
1710 u32 csr, test; in sbus_dma_prepare() local
1715 test = APC_GENL_INT | APC_PLAY_INT | APC_XINT_ENA | in sbus_dma_prepare()
1719 test = APC_GENL_INT | APC_CAPT_INT | APC_XINT_ENA | in sbus_dma_prepare()
[all …]
/linux-4.4.14/drivers/usb/misc/
DKconfig200 including sample test device firmware and "how to use it".
205 Say Y here if you want to support the special test fixture device
208 When the test fixture is connected, it can enumerate as one of several
209 VID/PID pairs. This driver then initiates a corresponding test mode on
210 the downstream port to which the test fixture is attached.
/linux-4.4.14/Documentation/hwmon/
Dsubmitting-patches23 * Please test your patch thoroughly. We are not your test group.
25 hardware. In such cases, you should test-build the code on at least one
/linux-4.4.14/drivers/input/touchscreen/
Dcyttsp4_core.c275 p = krealloc(si->si_ptrs.test, si->si_ofs.test_size, GFP_KERNEL); in cyttsp4_si_get_test_data()
280 si->si_ptrs.test = p; in cyttsp4_si_get_test_data()
283 si->si_ptrs.test); in cyttsp4_si_get_test_data()
291 (u8 *)si->si_ptrs.test, si->si_ofs.test_size, in cyttsp4_si_get_test_data()
293 if (si->si_ptrs.test->post_codel & in cyttsp4_si_get_test_data()
297 si->si_ptrs.test->post_codel); in cyttsp4_si_get_test_data()
299 if (!(si->si_ptrs.test->post_codel & in cyttsp4_si_get_test_data()
303 si->si_ptrs.test->post_codel); in cyttsp4_si_get_test_data()
305 if (!(si->si_ptrs.test->post_codel & in cyttsp4_si_get_test_data()
309 si->si_ptrs.test->post_codel); in cyttsp4_si_get_test_data()
[all …]
/linux-4.4.14/Documentation/cma/
Ddebugfs.txt2 different CMA areas and to test allocation/release in each of the areas.
/linux-4.4.14/arch/arm/mach-u300/
DKconfig40 to test reference designs. If you're not testing SPI,
/linux-4.4.14/arch/x86/crypto/
Dblowfish-x86_64-asm_64.S148 test %cl, %cl;
330 test %bpl, %bpl;
/linux-4.4.14/arch/x86/
DKconfig.debug205 bool "Enable IOMMU stress-test mode"
314 bool "CPA self-test code"
329 is there to test gcc for this.
341 This is currently used to help test NMI code.
358 bool "Isolated Memory Region self test"
366 test your changes.
/linux-4.4.14/Documentation/filesystems/
Dautofs4-mount-control.txt42 /test /etc/auto.indirect
58 For the above indirect map an autofs file system is mounted on /test and
60 operation. So we see a mount of shark:/autofs/export1 on /test/g1, for
75 / shark:/autofs/export5/testing/test \
76 /s1 shark:/autofs/export/testing/test/s1 \
77 /s2 shark:/autofs/export5/testing/test/s2 \
84 / shark:/autofs/export5/testing/test \
85 /s1 shark:/autofs/export/testing/test/s1 \
86 /s2 shark:/autofs/export5/testing/test/s2 \
/linux-4.4.14/drivers/scsi/
Dmac53c94.h35 unsigned char test; member
/linux-4.4.14/drivers/staging/rdma/hfi1/
DKconfig12 This is a debug flag to test for out of order
/linux-4.4.14/drivers/staging/android/ion/
DKconfig17 Choose this option to create a device that can be used to test the
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dvexpress-scc.txt6 for the test chip.
/linux-4.4.14/arch/um/kernel/
Dirq.c153 static void free_irq_by_cb(int (*test)(struct irq_fd *, void *), void *arg) in free_irq_by_cb()
158 os_free_irq_by_cb(test, arg, active_fds, &last_irq_ptr); in free_irq_by_cb()
/linux-4.4.14/net/core/
Dethtool.c1236 struct ethtool_test test; in ethtool_self_test() local
1249 if (copy_from_user(&test, useraddr, sizeof(test))) in ethtool_self_test()
1252 test.len = test_len; in ethtool_self_test()
1257 ops->self_test(dev, &test, data); in ethtool_self_test()
1260 if (copy_to_user(useraddr, &test, sizeof(test))) in ethtool_self_test()
1262 useraddr += sizeof(test); in ethtool_self_test()
1263 if (copy_to_user(useraddr, data, test.len * sizeof(u64))) in ethtool_self_test()
/linux-4.4.14/arch/arc/boot/dts/
Dnsimosci_hs.dts52 no-loopback-test = <1>;
Dnsimosci.dts52 no-loopback-test = <1>;
/linux-4.4.14/tools/testing/nvdimm/
DKbuild52 obj-m += test/
/linux-4.4.14/Documentation/filesystems/nfs/
Dnfs-rdma.txt29 the full Connectathon test suite and operates over both Infiniband and iWARP
160 Before configuring the NFS/RDMA software, it is a good idea to test
187 To further test the InfiniBand software stack, use IPoIB (this
202 test their functionality over standard Ethernet using TCP/IP or UDP/IP.
/linux-4.4.14/drivers/staging/slicoss/
DTODO35 <charrer@alacritech.com> as well as they are also able to test out any
/linux-4.4.14/arch/arm/nwfpe/
Dentry.S102 and r2, r6, #0x0F000000 @ test for FP insns
/linux-4.4.14/arch/x86/platform/efi/
Defi_thunk_64.S107 test %rax, %rax

1234