]> Git Repo - J-linux.git/blob - drivers/hid/bpf/hid_bpf_dispatch.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / hid / bpf / hid_bpf_dispatch.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #ifndef _BPF_HID_BPF_DISPATCH_H
4 #define _BPF_HID_BPF_DISPATCH_H
5
6 #include <linux/hid.h>
7
8 struct hid_bpf_ctx_kern {
9         struct hid_bpf_ctx ctx;
10         u8 *data;
11         bool from_bpf;
12 };
13
14 struct hid_device *hid_get_device(unsigned int hid_id);
15 void hid_put_device(struct hid_device *hid);
16 int hid_bpf_allocate_event_data(struct hid_device *hdev);
17 void __hid_bpf_ops_destroy_device(struct hid_device *hdev);
18 int hid_bpf_reconnect(struct hid_device *hdev);
19
20 struct bpf_prog;
21
22 #endif
This page took 0.02503 seconds and 4 git commands to generate.