Home
last modified time | relevance | path

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

12345678910>>...157

/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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:
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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
/Linux-v5.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:
/Linux-v5.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::
/Linux-v5.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::
149 Example::
157 Example::
162 More channels can be added by repeating the example above.
165 Example::
[all …]
/Linux-v5.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
/Linux-v5.10/samples/kfifo/
DMakefile2 obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o
/Linux-v5.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 …]
/Linux-v5.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
/Linux-v5.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
/Linux-v5.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
/Linux-v5.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 …]
/Linux-v5.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:
/Linux-v5.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!
/Linux-v5.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
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Drenesas,rsnd.txt36 ${LINUX}/arch/arm/boot/dts/r8a7790-lager.dts can be good example.
37 This is example of
42 see "Example: simple sound card"
45 ${LINUX}/arch/arm/boot/dts/r8a7790.dts can be good example.
71 for example digital TV case.
79 see "Example: simple sound card for Asynchronous mode"
116 see "Example: simple sound card for channel convert"
123 example of using matrix
132 example of changing connection
152 see "Example: simple sound card for MIXer"
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/fsi/
Dfsi.txt7 busses, which are then exposed by the device tree. For example, an FSI engine
48 be needed as well, for example:
71 required. For an example, a slave on link 1, with ID 2, could be represented
98 For example, for a slave using a single 0x400-byte page starting at address
106 Full example
109 Here's an example that illustrates:
134 /* FSI engine at 0xc00, using a single page. In this example,

12345678910>>...157