Home
last modified time | relevance | path

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

12345678910>>...305

/kernel/linux/linux-6.6/samples/
DKconfig17 This builds the trace event example module.
20 tristate "Build custom trace event example -- loadable modules only"
23 This builds the custom trace event example module.
33 tristate "Build register_ftrace_direct() example"
37 This builds an ftrace direct function example
41 tristate "Build register_ftrace_direct() on multiple ips example"
45 This builds an ftrace direct function example
50 tristate "Build custom ftrace ops example"
53 This builds an ftrace ops example that hooks two functions and
76 This build several kprobes example modules.
[all …]
/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-6.6/Documentation/kbuild/
Dmakefiles.rst88 Example::
98 Example::
128 Example::
146 Example::
151 Note: In this example $(CONFIG_ISDN_PPP_BSDCOMP) evaluates to "m"
159 Example::
165 In this example, the module name will be isdn.o. Kbuild will
173 Example::
182 In this example, xattr.o, xattr_user.o and xattr_trusted.o are only
209 Example::
[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-6.6/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/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-6.6/tools/testing/kunit/test_data/
Dtest_is_test_passed-all_passed_nested.log7 # Subtest: example
16 kunit example: all tests passed
17 ok 2 - example
24 # Subtest: example
33 kunit example: all tests passed
34 ok 2 - example
/kernel/linux/linux-6.6/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst107 file name is **example.o**, BPF object name will be
108 **example**. Object name can be also specified explicitly
110 custom functions are provided (assuming **example** as
260 This is example BPF application with two BPF programs and a mix of BPF maps
267 **$ bpftool gen object example.bpf.o example1.bpf.o example2.bpf.o**
271 BPF ELF object file *example.bpf.o*.
273 **$ bpftool gen skeleton example.bpf.o name example | tee example.skel.h**
286 struct example {
317 static void example__destroy(struct example *obj);
318 static inline struct example *example__open_opts(
[all …]
/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 …]
/kernel/linux/linux-6.6/Documentation/admin-guide/perf/
Dhisi-pcie-pmu.rst33 Example usage of perf::
64 For example, if target Root Port is 0000:00:00.0 (x8 lanes), bit0 of
69 Example usage of perf::
79 For example, "bdf=0x3900" means BDF of target Endpoint is 0000:39:00.0.
81 Example usage of perf::
92 For example, "trig_len=4" means trigger condition is 2^4 DW, "trig_mode=0"
96 Example usage of perf::
106 For example, "thr_len=4" means threshold is 2^4 DW, "thr_mode=0" means
110 Example usage of perf::
124 For example, "len_mode=2" means only counting the bandwidth of TLP headers
[all …]
Dhns3-pmu.rst41 Example usage of checking event code and subevent code::
61 Example usage of checking supported filter mode::
66 Example usage of perf::
84 Example usage of perf::
93 Example usage of perf::
101 Example usage of perf::
111 for example:
118 Example usage of perf::
126 Example usage of perf::
134 Example usage of perf::
/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-6.6/Documentation/dev-tools/kunit/
Drun_wrapper.rst72 contains any other config options required by the tests (For example:
83 We can then add any other Kconfig options. For example:
97 (For example: ``make menuconfig``) to adjust other config options.
160 example: if we only want to run KUnit resource tests, use:
183 for example: i386, x86_64, arm and so on; run on qemu.
188 binaries such as GCC. For example:
204 example:
218 instance of ``QemuArchParams`` assigned to it. See example in:
223 ``--arch`` flag. For example: using
251 compiling a kernel (using ``build`` or ``run`` commands). For example:
[all …]
Dstart.rst97 For example, to include the kernel's linked-list test you can run::
103 For example, to run only ``FAT_FS`` and ``EXT4`` tests you can run::
130 For example, let's assume we are using the default config:
138 like ``"example.example_simple_test"``, to run specifically that test case::
140 ./tools/testing/kunit/kunit.py run "example.example_simple_test"
150 If you do not want to use the KUnit Wrapper (for example: you want code
184 1. Create a file ``drivers/misc/example.h``, which includes:
190 2. Create a file ``drivers/misc/example.c``, which includes:
196 #include "example.h"
208 bool "My example"
[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-6.6/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-6.6/rust/kernel/sync/
Darc.rs54 /// struct Example {
59 /// // Create a ref-counted instance of `Example`.
60 /// let obj = Arc::try_new(Example { a: 10, b: 20 })?;
84 /// struct Example {
89 /// impl Example {
99 /// let obj = Arc::try_new(Example { a: 10, b: 20 })?;
105 /// Coercion from `Arc<Example>` to `Arc<dyn MyTrait>`:
118 /// struct Example;
119 /// impl MyTrait for Example {}
121 /// // `obj` has type `Arc<Example>`.
[all …]
/kernel/linux/linux-6.6/rust/kernel/sync/lock/
Dspinlock.rs32 /// The following example shows how to declare, allocate and initialise a struct (`Example`) that
44 /// struct Example {
50 /// impl Example {
59 /// // Allocate a boxed `Example`.
60 /// let e = Box::pin_init(Example::new())?;
67 /// The following example shows how to use interior mutability to modify the contents of a struct
73 /// struct Example {
78 /// fn example(m: &SpinLock<Example>) {
Dmutex.rs34 /// The following example shows how to declare, allocate and initialise a struct (`Example`) that
46 /// struct Example {
52 /// impl Example {
61 /// // Allocate a boxed `Example`.
62 /// let e = Box::pin_init(Example::new())?;
69 /// The following example shows how to use interior mutability to modify the contents of a struct
75 /// struct Example {
80 /// fn example(m: &Mutex<Example>) {
/kernel/linux/linux-6.6/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 …]
/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)
/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-6.6/Documentation/ABI/testing/
Dima_policy74 For example, "selinux" to measure critical data for SELinux.
76 For example, "sha256,sha512" to only accept to appraise
141 Example of measure rules using alternate PCRs::
146 Example of appraise rule allowing modsig appended signatures:
150 Example of measure rule using KEY_CHECK to measure all keys:
154 Example of measure rule using KEY_CHECK to only measure
159 Example of the special SETXATTR_CHECK appraise rule, that
165 Example of a 'measure' rule requiring fs-verity's digests
171 Example of 'measure' and 'appraise' rules requiring fs-verity
188 All of these policy rules could, for example, be constrained
/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-6.6/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::

12345678910>>...305