Home
last modified time | relevance | path

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

12345678910>>...198

/Linux-v5.15/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
128 bool "Landlock example"
156 tristate "Build VFIO mtty example mediated device sample code -- loadable modules only"
[all …]
/Linux-v5.15/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst102 file name is **example.o**, BPF object name will be
103 **example**. Object name can be also specified explicitly
105 custom functions are provided (assuming **example** as
211 This is example BPF application with two BPF programs and a mix of BPF maps
216 **$ bpftool gen object example.bpf.o example1.bpf.o example2.bpf.o**
220 BPF ELF object file *example.bpf.o*.
222 **$ bpftool gen skeleton example.bpf.o name example | tee example.skel.h**
235 struct example {
266 static void example__destroy(struct example *obj);
267 static inline struct example *example__open_opts(
[all …]
/Linux-v5.15/Documentation/kbuild/
Dmakefiles.rst147 Example::
157 Example::
187 Example::
205 Example::
210 Note: In this example $(CONFIG_ISDN_PPP_BSDCOMP) evaluates to 'm'
218 Example::
224 In this example, the module name will be isdn.o. Kbuild will
232 Example::
241 In this example, xattr.o, xattr_user.o and xattr_trusted.o are only
268 Example::
[all …]
/Linux-v5.15/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.15/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 tristate "Test for my example" if !KUNIT_ALL_TESTS
[all …]
Drunning_tips.rst168 # Subtest: example
172 ok 1 - example
179 For example, we'd change the config options from before to
190 $ modprobe kunit-example-test
231 So using our example config:
235 $ modprobe kunit-example-test > /dev/null
236 $ cat /sys/kernel/debug/kunit/example/results
240 $ modprobe -r kunit-example-test
241 $ cat /sys/kernel/debug/kunit/example/results
242 /sys/kernel/debug/kunit/example/results: No such file or directory
[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
109 For example, if we wanted to properly test the add function above, we would
147 For example:
168 In this example, the method under test should return a pointer to a value, so
186 Example:
198 .name = "example",
[all …]
/Linux-v5.15/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.15/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.15/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' \)
86 always-$(CHECK_DT_BINDING) += $(patsubst $(src)/%.yaml,%.example.dts, $(DT_SCHEMA_FILES))
87 always-$(CHECK_DT_BINDING) += $(patsubst $(src)/%.yaml,%.example.dt.yaml, $(DT_SCHEMA_FILES))
91 clean-files = $(shell find $(obj) \( -name '*.example.dts' -o \
92 -name '*.example.dt.yaml' \) -delete 2>/dev/null)
/Linux-v5.15/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.15/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.15/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.15/samples/kfifo/
DMakefile2 obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o
/Linux-v5.15/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.15/tools/memory-model/Documentation/
Dcontrol-dependencies.txt22 from "a". This means that an explicit read barrier is required, for example
33 following example:
50 the original example by eliminating the "if" statement as follows:
91 have been applied. Therefore, if you need ordering in this example,
92 you must use explicit memory ordering, for example, smp_store_release():
104 guaranteed only when the stores differ, for example:
121 preserve ordering. For example:
164 evaluation. Consider this example:
171 always true, the compiler can transform this example as follows, again
177 This is yet another example showing the importance of preventing the
[all …]
Daccess-marking.txt17 1. Plain C-language accesses (unmarked), for example, "a = b;"
19 2. Data-race marking, for example, "data_race(a = b);"
21 3. READ_ONCE(), for example, "a = READ_ONCE(b);"
24 4. WRITE_ONCE(), for example, "WRITE_ONCE(a, b);"
29 example:
40 C-language accesses. It is permissible to combine #2 and #3, for example,
83 the core concurrency design. For example, suppose that the core design
92 KCSAN diagnostics, use both data_race() and READ_ONCE(), for example,
106 is not a problem. For example, if a bogus value is fed into cmpxchg(),
149 for example, from sysfs. This means that some code in sysfs writes
[all …]
/Linux-v5.15/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.15/Documentation/ABI/testing/
Dima_policy58 For example, "selinux" to measure critical data for SELinux.
60 For example, "sha256,sha512" to only accept to appraise
125 Example of measure rules using alternate PCRs::
130 Example of appraise rule allowing modsig appended signatures:
134 Example of measure rule using KEY_CHECK to measure all keys:
138 Example of measure rule using KEY_CHECK to only measure
143 Example of the special SETXATTR_CHECK appraise rule, that
/Linux-v5.15/Documentation/translations/zh_TW/process/
Dsubmitting-patches.rst370 Signed-off-by: Random J Developer <random@developer.example.org>
385 Signed-off-by: Random J Developer <random@developer.example.org>
386 [lucky@maintainer.example.org: struct foo moved from foo.c to foo.h]
387 Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org>
446 Co-developed-by: First Co-Author <first@coauthor.example.org>
447 Signed-off-by: First Co-Author <first@coauthor.example.org>
448 Co-developed-by: Second Co-Author <second@coauthor.example.org>
449 Signed-off-by: Second Co-Author <second@coauthor.example.org>
450 Signed-off-by: From Author <from@author.example.org>
454 From: From Author <from@author.example.org>
[all …]
/Linux-v5.15/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.15/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.15/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.15/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.15/tools/testing/selftests/bpf/
Dtest_bpftool_synctypes.py135 for example:
144 associated names as values, for example:
158 Search for and parse an enum containing BPF_* members, for example:
166 Return a set containing all member names, for example:
189 example:
196 Return a set containing all type names, for example:
200 @block_name: name of the blog to parse, 'TYPE' in the example
210 bpftool, for example:
215 Return a set containing all type names, for example:
219 @block_name: name of the blog to parse, 'TYPE' in the example
[all …]

12345678910>>...198