Searched refs:hid_bpf_get_data (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/tools/testing/selftests/hid/progs/ |
D | hid.c | 23 __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()
|
D | hid_bpf_helpers.h | 9 extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
|
/linux-6.6.21/samples/hid/ |
D | hid_mouse.bpf.c | 12 __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()
|
D | hid_surface_dial.bpf.c | 16 __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()
|
D | hid_bpf_helpers.h | 9 extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
|
/linux-6.6.21/include/linux/ |
D | hid_bpf.h | 82 __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx, unsigned int offset, const size_t __sz);
|
/linux-6.6.21/Documentation/hid/ |
D | hid-bpf.rst | 176 :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/ |
D | hid_bpf_dispatch.c | 156 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)
|