Home
last modified time | relevance | path

Searched full:example (Results 1 – 25 of 4242) sorted by relevance

12345678910>>...170

/kernel/linux/linux-5.10/samples/
DKconfig17 This build trace event example modules.
27 tristate "Build register_ftrace_direct() example"
31 This builds an ftrace direct function example
54 This build several kprobes example modules.
57 tristate "Build kretprobes example -- loadable modules only"
65 This builds kernel hardware breakpoint example modules.
78 tristate "Build kdb command example -- loadable modules only"
81 Build an example of how to dynamically add the hello
149 tristate "Build VFIO mtty example mediated device sample code -- loadable modules only"
156 tristate "Build VFIO mdpy example mediated device sample code -- loadable modules only"
[all …]
/kernel/linux/linux-5.10/Documentation/kbuild/
Dmakefiles.rst145 Example::
155 Example::
185 Example::
203 Example::
208 Note: In this example $(CONFIG_ISDN_PPP_BSDCOMP) evaluates to 'm'
216 Example::
222 In this example, the module name will be isdn.o. Kbuild will
230 Example::
239 In this example, xattr.o, xattr_user.o and xattr_trusted.o are only
272 Example::
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/board/
Dfsl-board.txt13 Example:
26 indicating the type of FPGA. Example:
34 Example (P1022DS):
43 Example (LS2080A-RDB):
57 indicating the type of FPGA. Example:
61 Example:
73 Example:
77 Example:
/kernel/linux/linux-5.10/Documentation/dev-tools/kunit/
Dstart.rst89 If you'd rather not use the KUnit Wrapper (if, for example, you need to
126 ``drivers/misc/example.h`` with the contents:
132 create a file ``drivers/misc/example.c``:
138 #include "example.h"
150 bool "My example"
156 obj-$(CONFIG_MISC_EXAMPLE) += example.o
159 ``drivers/misc/example-test.c``:
164 #include "example.h"
189 .name = "misc-example",
199 bool "Test for my example"
[all …]
Dusage.rst33 the kernel; for example, it does not intend to be an end-to-end testing
55 and then sets *expectations* for what should happen. For example:
68 In the above example ``example_test_success`` always passes because it does
79 the failure is logged. For example:
89 In the above example ``add_test_basic`` makes a number of assertions about the
108 For example, if we wanted to properly test the add function above, we would
146 For example:
167 In this example, the method under test should return a pointer to a value, so
185 Example:
197 .name = "example",
[all …]
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst80 **example.o**, BPF object name will be **example**. The
133 **$ cat example.c**
172 This is example BPF application with two BPF programs and a mix of BPF maps
175 **$ bpftool gen skeleton example.o**
188 struct example {
219 static void example__destroy(struct example *obj);
220 static inline struct example *example__open_opts(
222 static inline struct example *example__open();
223 static inline int example__load(struct example *obj);
224 static inline struct example *example__open_and_load();
[all …]
/kernel/linux/linux-5.10/tools/testing/ktest/examples/
DREADME1 This directory contains example configs to use ktest for various tasks.
10 crosstests.conf - this config shows an example of testing a git repo against
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
22 snowball.conf - An example config that was used to demo ktest.pl against
26 included into other configs. This is a real use example that shows how
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
DMakefile3 DT_EXTRACT_EX ?= dt-extract-example
19 $(obj)/%.example.dts: $(src)/%.yaml check_dtschema_version FORCE
22 # Use full schemas when checking %.example.dts
27 -name '*.example.dt.yaml' \)
83 extra-$(CHECK_DT_BINDING) += $(patsubst $(src)/%.yaml,%.example.dts, $(DT_SCHEMA_FILES))
84 extra-$(CHECK_DT_BINDING) += $(patsubst $(src)/%.yaml,%.example.dt.yaml, $(DT_SCHEMA_FILES))
88 clean-files = $(shell find $(obj) \( -name '*.example.dts' -o \
89 -name '*.example.dt.yaml' \) -delete 2>/dev/null)
Dunittest.txt10 Example:
24 Example:
38 Example:
52 Example:
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-lm3556.rst28 * if STROBE pin is enabled, below example control brightness only, and
31 Flash Example:
55 * if TORCH pin is enabled, below example control brightness only,
58 Torch Example:
86 Indicator pattern example:
101 Example:
123 Example::
134 Example::
/kernel/linux/linux-5.10/Documentation/driver-api/dmaengine/
Ddmatest.rst31 Example of usage::
47 Example of multi-channel test usage (new in the 5.0 kernel)::
86 before returning. For example, the following scripts wait for 42 tests
90 Example::
121 Example of output::
132 Example::
150 Example::
158 Example::
163 More channels can be added by repeating the example above.
166 Example::
[all …]
/kernel/linux/linux-5.10/tools/power/pm-graph/config/
Dcustom-timeline-functions.cfg92 # example: _cpu_up:
99 # example: CPU_ON[{cpu}]
105 # example: [color=#CC00CC]
110 # example: cpu=%di:s32
112 # Example: Display cpu resume in the timeline
157 # example: ata_eh_recover:
164 # example: ata{port}_port_reset
170 # example: [color=#CC00CC]
175 # example: port=+36(%di):s32
177 # Example: Display ATA port reset as ataN_port_reset in the timeline
/kernel/linux/linux-5.10/samples/kfifo/
DMakefile2 obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/process/
Dsubmitting-patches.rst367 Signed-off-by: Random J Developer <random@developer.example.org>
382 Signed-off-by: Random J Developer <random@developer.example.org>
383 [lucky@maintainer.example.org: struct foo moved from foo.c to foo.h]
384 Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org>
443 Co-developed-by: First Co-Author <first@coauthor.example.org>
444 Signed-off-by: First Co-Author <first@coauthor.example.org>
445 Co-developed-by: Second Co-Author <second@coauthor.example.org>
446 Signed-off-by: Second Co-Author <second@coauthor.example.org>
447 Signed-off-by: From Author <from@author.example.org>
451 From: From Author <from@author.example.org>
[all …]
/kernel/liteos_a/testsuites/unittest/net/netdb/full/
Dnet_netdb_test_019.cpp38 "10.0.0.0 example example.com example.cn\n" in GetHostEntTest()
40 "10.0.0 example.com"; in GetHostEntTest()
88 ICUNIT_ASSERT_STRING_EQUAL(se3->h_name, "example", -1); in GetHostEntTest()
90 ICUNIT_ASSERT_STRING_EQUAL(se3->h_aliases[0], "example.com", -1); in GetHostEntTest()
91 ICUNIT_ASSERT_STRING_EQUAL(se3->h_aliases[1], "example.cn", -1); in GetHostEntTest()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dda9211.txt21 Example 1) DA9211
41 Example 2) DA9212
67 Example 3) DA9213
85 Example 4) DA9223
103 Example 5) DA9214
129 Example 6) DA9224
155 Example 7) DA9215
181 Example 8) DA9225
/kernel/linux/linux-5.10/tools/testing/kunit/test_data/
Dtest_is_test_passed-failure.log23 # Subtest: example
27 # example_simple_test: EXPECTATION FAILED at lib/kunit/example-test.c:30
36 kunit example: one or more tests failed
37 not ok 2 - example
/kernel/linux/linux-5.10/Documentation/admin-guide/aoe/
Dexamples.rst1 Example of udev rules
7 Example of udev install rules script
13 Example script to get status
19 Example of AoE autoload script
/kernel/linux/linux-5.10/Documentation/networking/devlink/
Ddevlink-resource.rst14 For example, the ``netdevsim`` driver enables ``/IPv4/fib`` and
23 specify the path of the resource. For example ``/IPv4/fib`` is the id for
26 example usage
29 The resources exposed by the driver can be observed, for example:
49 attribute, which represents the pending change in size. For example:
/kernel/linux/linux-5.10/Documentation/x86/
Dcpuinfo.rst42 displayed accordingly in /proc/cpuinfo. For example, the flag "avx2"
65 setup_force_cpu_cap macros. For example, if bit 5 is set in MSR_IA32_CORE_CAPS,
73 software feature implemented in the kernel. For example, Kernel Page Table
89 X86_FEATURE_<name> in cpufeatures.h. For example, the flag "avx2" is from
96 will be the name of the flags. For example, the flag "sse4_1" comes from
107 the feature to be exposed to userspace. For example, X86_FEATURE_ALWAYS is
117 For example, when a new kernel is running on old hardware or the feature is
123 For example, when an old kernel is running on new hardware.
127 For example, if 5-level-paging is not enabled when building (i.e.,
150 missing at runtime. For example, AVX flags will not show up if XSAVE feature
[all …]
/kernel/linux/linux-5.10/Documentation/input/
Duinput.rst40 This first example shows how to create a new virtual device, and how to
80 strcpy(usetup.name, "Example device");
90 * to send. This pause is only needed in our example code!
115 This example shows how to create a virtual device that behaves like a physical
122 /* emit function is identical to of the first example */
143 strcpy(usetup.name, "Example device");
153 * to send. This pause is only needed in our example code!
191 /* emit function is identical to of the first example */
224 * to send. This pause is only needed in our example code!
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mips/img/
Dxilfpga.txt10 This binding document is provided as baseline guidance for the example
13 The example project runs on the Nexys4DDR board by Digilent powered by
16 Relevant details about the example project and the Nexys4DDR board:
45 Example:
76 When the example project bitstream is loaded, the cpu_reset button
/kernel/liteos_a/testsuites/unittest/net/resolv/smoke/
Dnet_resolv_test_001.cpp45 unsigned char comp_dn[100] = "example"; in DnCompTest()
51 … ret = dn_comp("x.y.z.example.com", comp_dn + offset, sizeof(comp_dn) - offset, dnptrs, lastdnptr); in DnCompTest()
57 ret = dn_comp("zz.example.com", comp_dn + offset, sizeof(comp_dn) - offset, dnptrs, lastdnptr); in DnCompTest()
63 ret = dn_comp("a.example.com", comp_dn + offset, sizeof(comp_dn) - offset, dnptrs, lastdnptr); in DnCompTest()
69 ret = dn_comp("example.com.cn", comp_dn + offset, sizeof(comp_dn) - offset, dnptrs, lastdnptr); in DnCompTest()
75 ret = dn_comp("2example.com", comp_dn + offset, sizeof(comp_dn) - offset, dnptrs, lastdnptr); in DnCompTest()
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/hamradio/
Dz8530drv.rst147 Example for the BAYCOM USCC:
169 An example for a PA0HZP card:
239 not appear. Example::
259 An example for scc0::
338 for example::
468 Example: sccparam /dev/scc3 speed 9600
480 Example: sccparam /dev/scc0 txd 20
489 Example: sccparam /dev/scc2 persist 20
496 Example: sccparam /dev/scc0 slot 20
507 Example: sccparam /dev/scc2 4
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h35 * Example:
117 * Example:
151 * Example:
172 * Example:
197 * Using list_del on a pure list head (like in the example at the top of
201 * Example:
229 * Example:
243 * Example:
267 * Example:
282 * Example:
[all …]

12345678910>>...170