Home
last modified time | relevance | path

Searched refs:hid_ctx (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/hid/progs/
A Dhid.c21 int BPF_PROG(hid_first_event, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() argument
23 __u8 *rw_data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 3 /* size */); in BPF_PROG()
32 return hid_ctx->size; in BPF_PROG()
36 int BPF_PROG(hid_second_event, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() argument
38 __u8 *rw_data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 4 /* size */); in BPF_PROG()
45 return hid_ctx->size; in BPF_PROG()
49 int BPF_PROG(hid_change_report_id, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() argument
142 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() argument
161 int BPF_PROG(hid_test_insert1, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() argument
178 int BPF_PROG(hid_test_insert2, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() argument
[all …]
/linux-6.3-rc2/Documentation/hid/
A Dhid-bpf.rst387 int BPF_PROG(filter_switch, struct hid_bpf_ctx *hid_ctx)
389 __u8 *data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 192 /* size */);

Completed in 5 milliseconds