Home
last modified time | relevance | path

Searched refs:example (Results 1 – 25 of 1536) sorted by relevance

12345678910>>...62

/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/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/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/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/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/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
Dtest_is_test_passed-all_passed.log23 # Subtest: example
32 kunit example: all tests passed
33 ok 2 - example
Dtest_is_test_passed-crash.log25 # Subtest: example
68 kunit example: one or more tests failed
69 not ok 2 - 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
197 .name = "example",
204 In the above example the test suite, ``example_test_suite``, would run the test
[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/devicetree/bindings/
DMakefile3 DT_EXTRACT_EX ?= dt-extract-example
19 $(obj)/%.example.dts: $(src)/%.yaml check_dtschema_version FORCE
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))
/Linux-v5.10/samples/kobject/
DMakefile2 obj-$(CONFIG_SAMPLE_KOBJECT) += kobject-example.o kset-example.o
/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/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:
76 When the example project bitstream is loaded, the cpu_reset button
/Linux-v5.10/tools/wmi/
DMakefile7 TARGET = dell-smbios-example
17 install: dell-smbios-example
/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,
/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
157 # example: ata_eh_recover:
164 # example: ata{port}_port_reset
170 # example: [color=#CC00CC]
175 # example: port=+36(%di):s32
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dv4l2grab-example.rst3 .. _v4l2grab-example:
6 Video Grabber example using libv4l
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-driver-input-exc30004 Description: Reports the firmware version provided by the touchscreen, for example "00_T6" on a …
13 Description: Reports the model identification provided by the touchscreen, for example "Orion_13…
/Linux-v5.10/Documentation/devicetree/bindings/display/imx/
Dfsl-imx-drm.txt12 example:
43 example:
77 example:
102 example:
130 example:
/Linux-v5.10/Documentation/input/
Duinput.rst40 This first example shows how to create a new virtual device, and how to
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 */
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/i2c/
Dten-bit-addresses.rst22 support for example), some don't because nobody bothered adding the
27 drivers, for example.
28 * Many user-space packages (for example i2c-tools) lack support for
/Linux-v5.10/Documentation/kbuild/
DKconfig.recursion-issue-0223 # The example provided in Documentation/kbuild/Kconfig.recursion-issue-02
24 # describes a simple driver core layout of example features a kernel might
41 # For an example real world scenario issue refer to the attempt to remove
47 mainmenu "Simple example to demo cumulative kconfig recursive dependency implication"
/Linux-v5.10/tools/lib/bpf/
DREADME.rst22 For example ``bpf_map_lookup_elem`` wraps ``BPF_MAP_LOOKUP_ELEM``
40 For example ``struct bpf_object`` represents ELF object itself created
47 For example ``bpf_object__open`` consists of the name of corresponding
52 Another example: ``bpf_program__load`` is named for corresponding
93 attributed with ``LIBBPF_API`` macro. For example:
117 For example, if current state of ``libbpf.map`` is:

12345678910>>...62