Home
last modified time | relevance | path

Searched refs:skeleton (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v6.6/samples/v4l/
Dv4l2-pci-skeleton.c52 struct skeleton { struct
121 struct skeleton *skel = dev_id; in skeleton_irq()
157 struct skeleton *skel = vb2_get_drv_priv(vq); in queue_setup()
186 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare()
205 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue()
217 static void return_all_buffers(struct skeleton *skel, in return_all_buffers()
239 struct skeleton *skel = vb2_get_drv_priv(vq); in start_streaming()
262 struct skeleton *skel = vb2_get_drv_priv(vq); in stop_streaming()
292 struct skeleton *skel = video_drvdata(file); in skeleton_querycap()
307 static void skeleton_fill_pix_format(struct skeleton *skel, in skeleton_fill_pix_format()
[all …]
DMakefile2 obj-$(CONFIG_VIDEO_PCI_SKELETON) := v4l2-pci-skeleton.o
/Linux-v6.6/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst21 *COMMAND* := { **object** | **skeleton** | **help** }
27 | **bpftool** **gen skeleton** *FILE* [**name** *OBJECT_NAME*]
50 generated BPF skeleton (with **gen skeleton** command) or
54 **bpftool gen skeleton** *FILE*
55 Generate BPF skeleton C header file for a given *FILE*.
57 BPF skeleton is an alternative interface to existing libbpf
64 components by name. Instead, if skeleton instantiation
65 succeeds, they are populated in skeleton structure as valid
70 programs, skeleton provides a storage for BPF links (**struct
74 user in pre-allocated fields in skeleton struct. For BPF
[all …]
Dbpftool.rst47 *GEN-COMMANDS* := { **object** | **skeleton** | **min_core_btf** | **help** }
/Linux-v6.6/tools/testing/selftests/bpf/
DDENYLIST.s390x9 fexit_sleep # fexit_skel_load fexit skeleton failed …
18 module_attach # skel_attach skeleton attach failed: -524 …
19 ringbuf # skel_load skeleton load failed …
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dhelper_restricted.c18 prog_cnt = test->skeleton->prog_cnt; in test_helper_restricted()
21 struct bpf_program *prog = *test->skeleton->progs[j].prog; in test_helper_restricted()
/Linux-v6.6/Documentation/bpf/libbpf/
Dlibbpf_overview.rst19 * Provides overall support for the BPF object skeleton generated by bpftool.
20 The skeleton file simplifies the process for the user space programs to access
72 BPF skeleton is an alternative interface to libbpf APIs for working with BPF
79 You can generate the skeleton header file ``(.skel.h)`` for a specific object
80 file by passing the BPF object to the bpftool. The generated BPF skeleton
92 Using the skeleton code is the recommended way to work with bpf programs. Keep
93 in mind, BPF skeleton provides access to the underlying BPF object, so whatever
95 skeleton is used. It's an additive convenience feature, with no syscalls, and no
101 * BPF skeleton provides an interface for user space programs to work with BPF
102 global variables. The skeleton code memory maps global variables as a struct
[all …]
/Linux-v6.6/Documentation/driver-api/usb/
Dwriting_usb_driver.rst30 have written a generic USB driver skeleton, modelled after the
31 pci-skeleton.c file in the kernel source tree upon which many PCI
32 network drivers have been based. This USB skeleton can be found at
33 drivers/usb/usb-skeleton.c in the kernel source tree. In this article I
34 will walk through the basics of the skeleton driver, explaining the
54 structure. The skeleton driver declares a :c:type:`usb_driver` as::
57 .name = "skeleton",
83 this user-space interaction. The skeleton driver needs this kind of
153 In the skeleton driver, we determine what end points are marked as
296 This usb-skeleton driver does not have any examples of interrupt or
[all …]
/Linux-v6.6/arch/m68k/fpsp040/
DMakefile12 x_unfl.o x_unimp.o x_unsupp.o bugfix.o skeleton.o
Dskeleton.S2 | skeleton.sa 3.2 4/26/91
25 | In the following skeleton code, some typical 'real_xxxx' handling
/Linux-v6.6/arch/arc/boot/dts/
Dnsim_700.dts7 /include/ "skeleton.dtsi"
Dnsimosci.dts7 /include/ "skeleton.dtsi"
Daxc001.dtsi11 /include/ "skeleton.dtsi"
/Linux-v6.6/Documentation/driver-api/media/
Dv4l2-intro.rst32 A good example to look at as a reference is the v4l2-pci-skeleton.c
33 source that is available in samples/v4l/. It is a skeleton driver for
/Linux-v6.6/samples/hid/
Dhid_mouse.c131 bpf_object__for_each_program(prog, *skel->skeleton->obj) { in main()
Dhid_surface_dial.c207 bpf_object__for_each_program(prog, *skel->skeleton->obj) { in main()
/Linux-v6.6/kernel/bpf/preload/iterators/
DMakefile48 $(Q)$(BPFTOOL) gen skeleton -L $< > $@
/Linux-v6.6/Documentation/bpf/
Dprog_lsm.rst108 This can be simplified by using a skeleton header generated by ``bpftool``:
112 # bpftool gen skeleton my_prog.o > my_prog.skel.h
/Linux-v6.6/drivers/hid/bpf/entrypoints/
DMakefile56 $(Q)$(BPFTOOL) gen skeleton -L $< > $@
/Linux-v6.6/tools/bpf/runqslower/
DMakefile62 $(QUIET_GEN)$(BPFTOOL) gen skeleton $< > $@
/Linux-v6.6/Documentation/target/
Dtcm_mod_builder.rst10 fabric skeleton, by simply using::
21 using a skeleton struct target_core_fabric_ops API template.
/Linux-v6.6/drivers/media/pci/
DKconfig73 Enable build of the skeleton PCI driver, used as a reference
/Linux-v6.6/tools/bpf/bpftool/
DMakefile213 $(OUTPUT)%.bpf.o: skeleton/%.bpf.c $(OUTPUT)vmlinux.h $(LIBBPF_BOOTSTRAP)
223 $(QUIET_GEN)$(BPFTOOL_BOOTSTRAP) gen skeleton $< > $@
/Linux-v6.6/arch/arm/boot/dts/intel/pxa/
Dpxa27x.dtsi2 /* The pxa3xx skeleton simply augments the 2xx version */
/Linux-v6.6/tools/testing/selftests/hid/
Dhid_bpf.c533 prog = bpf_object__find_program_by_name(*self->skel->skeleton->obj, in load_programs()
549 prog = bpf_object__find_program_by_name(*self->skel->skeleton->obj, in load_programs()

123