Home
last modified time | relevance | path

Searched refs:hid_bpf_get_data (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/testing/selftests/hid/progs/
Dhid.c23 __u8 *rw_data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 3 /* size */); in BPF_PROG()
38 __u8 *rw_data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 4 /* size */); in BPF_PROG()
51 __u8 *rw_data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 3 /* size */); in BPF_PROG()
144 __u8 *data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 4096 /* size */); in BPF_PROG()
163 __u8 *data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 4 /* size */); in BPF_PROG()
180 __u8 *data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 4 /* size */); in BPF_PROG()
197 __u8 *data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 4 /* size */); in BPF_PROG()
Dhid_bpf_helpers.h9 extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
/linux-6.6.21/samples/hid/
Dhid_mouse.bpf.c12 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 9 /* size */); in BPF_PROG()
58 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 9 /* size */); in BPF_PROG()
75 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 4096 /* size */); in BPF_PROG()
Dhid_surface_dial.bpf.c16 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 9 /* size */); in BPF_PROG()
107 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 4096 /* size */); in BPF_PROG()
Dhid_bpf_helpers.h9 extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
/linux-6.6.21/include/linux/
Dhid_bpf.h82 __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx, unsigned int offset, const size_t __sz);
/linux-6.6.21/Documentation/hid/
Dhid-bpf.rst176 :functions: hid_bpf_get_data
191 it, a bpf program needs to first call :c:func:`hid_bpf_get_data`.
204 __u8 *data = hid_bpf_get_data(ctx, 0 /* offset */, 256 /* size */);
215 __u16 *x = hid_bpf_get_data(ctx, offset, sizeof(*x));
264 :c:func:`hid_bpf_get_data`. This memory is big enough to support all input/output/feature
358 extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
389 __u8 *data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 192 /* size */);
/linux-6.6.21/drivers/hid/bpf/
Dhid_bpf_dispatch.c156 hid_bpf_get_data(struct hid_bpf_ctx *ctx, unsigned int offset, const size_t rdwr_buf_size) in hid_bpf_get_data() function
176 BTF_ID_FLAGS(func, hid_bpf_get_data, KF_RET_NULL)