Symbol: hid_bpf_ctx
drivers/hid/bpf/hid_bpf_dispatch.c
294
hid_bpf_get_data(struct hid_bpf_ctx *ctx, unsigned int offset, const size_t rdwr_buf_size)
drivers/hid/bpf/hid_bpf_dispatch.c
313
__bpf_kfunc struct hid_bpf_ctx *
drivers/hid/bpf/hid_bpf_dispatch.c
341
hid_bpf_release_context(struct hid_bpf_ctx *ctx)
drivers/hid/bpf/hid_bpf_dispatch.c
356
__hid_bpf_hw_check_params(struct hid_bpf_ctx *ctx, __u8 *buf, size_t *buf__sz,
drivers/hid/bpf/hid_bpf_dispatch.c
404
hid_bpf_hw_request(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz,
drivers/hid/bpf/hid_bpf_dispatch.c
466
hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz)
drivers/hid/bpf/hid_bpf_dispatch.c
493
__hid_bpf_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf,
drivers/hid/bpf/hid_bpf_dispatch.c
524
hid_bpf_try_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf,
drivers/hid/bpf/hid_bpf_dispatch.c
549
hid_bpf_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf,
drivers/hid/bpf/hid_bpf_dispatch.h
9
struct hid_bpf_ctx ctx;
drivers/hid/bpf/hid_bpf_struct_ops.c
269
static int __hid_bpf_device_event(struct hid_bpf_ctx *ctx, enum hid_report_type type, u64 source)
drivers/hid/bpf/hid_bpf_struct_ops.c
274
static int __hid_bpf_rdesc_fixup(struct hid_bpf_ctx *ctx)
drivers/hid/bpf/hid_bpf_struct_ops.c
279
static int __hid_bpf_hw_request(struct hid_bpf_ctx *ctx, unsigned char reportnum,
drivers/hid/bpf/hid_bpf_struct_ops.c
286
static int __hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx, u64 source)
drivers/hid/bpf/hid_bpf_struct_ops.c
78
WRITE_RANGE(hid_bpf_ctx, retval, false),
drivers/hid/bpf/progs/FR-TEC__Raptor-Mach-2.bpf.c
137
int BPF_PROG(hid_fix_rdesc_raptor_mach_2, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/FR-TEC__Raptor-Mach-2.bpf.c
156
int BPF_PROG(raptor_mach_2_fix_hat_switch, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/HP__Elite-Presenter.bpf.c
34
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__Dial-2.bpf.c
442
int BPF_PROG(dial_2_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__Dial-2.bpf.c
488
int BPF_PROG(dial_2_fix_events, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__Inspiroy-2-M.bpf.c
382
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__Inspiroy-2-M.bpf.c
427
int BPF_PROG(inspiroy_2_fix_events, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__Inspiroy-2-S.bpf.c
382
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__Inspiroy-2-S.bpf.c
428
int BPF_PROG(inspiroy_2_fix_events, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__Kamvas-Pro-19.bpf.c
258
int BPF_PROG(hid_fix_rdesc_huion_kamvas_pro_19, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__Kamvas-Pro-19.bpf.c
287
int BPF_PROG(kamvas_pro_19_fix_3rd_button, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__Kamvas-Pro-19.bpf.c
344
struct hid_bpf_ctx *hctx = hid_bpf_allocate_context(ctx->hid);
drivers/hid/bpf/progs/Huion__Kamvas13Gen3.bpf.c
1240
int BPF_PROG(hid_fix_rdesc_huion_kamvas13_gen3, struct hid_bpf_ctx *hid_ctx)
drivers/hid/bpf/progs/Huion__Kamvas13Gen3.bpf.c
1284
int BPF_PROG(hid_fix_event_huion_kamvas13_gen3, struct hid_bpf_ctx *hid_ctx)
drivers/hid/bpf/progs/Huion__Kamvas16Gen3.bpf.c
555
int BPF_PROG(hid_fix_rdesc_huion_kamvas16_gen3, struct hid_bpf_ctx *hid_ctx)
drivers/hid/bpf/progs/Huion__Kamvas16Gen3.bpf.c
599
int BPF_PROG(hid_fix_event_huion_kamvas16_gen3, struct hid_bpf_ctx *hid_ctx)
drivers/hid/bpf/progs/Huion__KeydialK20.bpf.c
345
int BPF_PROG(k20_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Huion__KeydialK20.bpf.c
389
int BPF_PROG(k20_fix_events, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/IOGEAR__Kaliber-MMOmentum.bpf.c
25
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Logitech__SpaceNavigator.bpf.c
29
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Microsoft__Xbox-Elite-2.bpf.c
96
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Mistel__MD770.bpf.c
127
int BPF_PROG(hid_rdesc_fixup_mistel_md770, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Rapoo__M50-Plus-Silent.bpf.c
121
int BPF_PROG(hid_rdesc_fixup_rapoo_m50, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/TUXEDO__Sirius-16-Gen1-and-Gen2.bpf.c
15
int BPF_PROG(ignore_key_fix_event, struct hid_bpf_ctx *hid_ctx)
drivers/hid/bpf/progs/Thrustmaster__TCA-Yoke-Boeing.bpf.c
100
int BPF_PROG(hid_fix_rdesc_tca_yoke, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/WALTOP__Batteryless-Tablet.bpf.c
231
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/WALTOP__Batteryless-Tablet.bpf.c
244
int BPF_PROG(waltop_fix_events, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Wacom__ArtPen.bpf.c
105
int BPF_PROG(artpen_pressure_interpolate, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/Wacom__ArtPen.bpf.c
149
struct hid_bpf_ctx *hid_ctx;
drivers/hid/bpf/progs/XPPen__ACK05.bpf.c
218
int BPF_PROG(ack05_fix_rdesc, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__ACK05.bpf.c
241
static int HID_BPF_ASYNC_FUN(switch_to_raw_mode)(struct hid_bpf_ctx *hid)
drivers/hid/bpf/progs/XPPen__ACK05.bpf.c
265
int BPF_PROG(ack05_fix_events, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__ACK05.bpf.c
315
struct hid_bpf_ctx *hctx = hid_bpf_allocate_context(ctx->hid);
drivers/hid/bpf/progs/XPPen__Artist24.bpf.c
154
int BPF_PROG(xppen_24_fix_eraser, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__Artist24.bpf.c
93
int BPF_PROG(hid_fix_rdesc_xppen_artist24, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__ArtistPro16Gen2.bpf.c
116
static int xppen_16_fix_eraser(struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__ArtistPro16Gen2.bpf.c
238
static int xppen_16_fix_angle_offset(struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__ArtistPro16Gen2.bpf.c
292
int BPF_PROG(xppen_artist_pro_16_device_event, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__ArtistPro16Gen2.bpf.c
88
int BPF_PROG(hid_fix_rdesc_xppen_artistpro16gen2, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__Deco01V3.bpf.c
224
int BPF_PROG(xppen_deco01v3_rdesc_fixup, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__Deco01V3.bpf.c
254
int BPF_PROG(xppen_deco01v3_device_event, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__Deco02.bpf.c
281
int BPF_PROG(xppen_deco02_rdesc_fixup, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__Deco02.bpf.c
297
int BPF_PROG(xppen_deco02_device_event, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__DecoMini4.bpf.c
153
int BPF_PROG(hid_rdesc_fixup_xppen_deco_mini_4, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/XPPen__DecoMini4.bpf.c
172
int BPF_PROG(hid_device_event_xppen_deco_mini_4, struct hid_bpf_ctx *hctx)
drivers/hid/bpf/progs/hid_bpf_async.h
168
static int hid_bpf_async_delayed_call(struct hid_bpf_ctx *hctx, u64 milliseconds, int key,
drivers/hid/bpf/progs/hid_bpf_async.h
213
static inline int hid_bpf_async_call(struct hid_bpf_ctx *ctx, int key,
drivers/hid/bpf/progs/hid_bpf_async.h
48
____##cb(struct hid_bpf_ctx *ctx); \
drivers/hid/bpf/progs/hid_bpf_async.h
52
struct hid_bpf_ctx *ctx; \
drivers/hid/bpf/progs/hid_bpf_async.h
76
fun(struct hid_bpf_ctx *ctx); \
drivers/hid/bpf/progs/hid_bpf_async.h
85
static int HID_BPF_ASYNC_CB(____##fun##_cb)(struct hid_bpf_ctx *hctx) \
drivers/hid/bpf/progs/hid_bpf_helpers.h
12
extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
drivers/hid/bpf/progs/hid_bpf_helpers.h
15
extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __ksym;
drivers/hid/bpf/progs/hid_bpf_helpers.h
16
extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __ksym;
drivers/hid/bpf/progs/hid_bpf_helpers.h
17
extern int hid_bpf_hw_request(struct hid_bpf_ctx *ctx,
drivers/hid/bpf/progs/hid_bpf_helpers.h
22
extern int hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx,
drivers/hid/bpf/progs/hid_bpf_helpers.h
24
extern int hid_bpf_input_report(struct hid_bpf_ctx *ctx,
drivers/hid/bpf/progs/hid_bpf_helpers.h
28
extern int hid_bpf_try_input_report(struct hid_bpf_ctx *ctx,
include/linux/hid_bpf.h
117
int (*hid_device_event)(struct hid_bpf_ctx *ctx, enum hid_report_type report_type,
include/linux/hid_bpf.h
132
int (*hid_rdesc_fixup)(struct hid_bpf_ctx *ctx);
include/linux/hid_bpf.h
158
int (*hid_hw_request)(struct hid_bpf_ctx *ctx, unsigned char reportnum,
include/linux/hid_bpf.h
179
int (*hid_hw_output_report)(struct hid_bpf_ctx *ctx, u64 source);
samples/hid/hid_bpf_helpers.h
13
extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __ksym;
samples/hid/hid_bpf_helpers.h
14
extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __ksym;
samples/hid/hid_bpf_helpers.h
15
extern int hid_bpf_hw_request(struct hid_bpf_ctx *ctx,
samples/hid/hid_bpf_helpers.h
9
extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
samples/hid/hid_mouse.bpf.c
53
static int hid_x_event(struct hid_bpf_ctx *hctx)
samples/hid/hid_mouse.bpf.c
71
int BPF_PROG(hid_event, struct hid_bpf_ctx *hctx, enum hid_report_type type)
samples/hid/hid_mouse.bpf.c
8
static int hid_y_event(struct hid_bpf_ctx *hctx)
samples/hid/hid_mouse.bpf.c
83
int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx)
samples/hid/hid_surface_dial.bpf.c
105
int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx)
samples/hid/hid_surface_dial.bpf.c
14
int BPF_PROG(hid_event, struct hid_bpf_ctx *hctx)
samples/hid/hid_surface_dial.bpf.c
49
struct hid_bpf_ctx *ctx;
tools/testing/selftests/hid/progs/hid.c
111
struct hid_bpf_ctx *ctx;
tools/testing/selftests/hid/progs/hid.c
137
struct hid_bpf_ctx *ctx;
tools/testing/selftests/hid/progs/hid.c
161
struct hid_bpf_ctx *ctx;
tools/testing/selftests/hid/progs/hid.c
18
int BPF_PROG(hid_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid.c
220
int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hid_ctx)
tools/testing/selftests/hid/progs/hid.c
244
int BPF_PROG(hid_test_insert1, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid.c
267
int BPF_PROG(hid_test_insert2, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid.c
289
int BPF_PROG(hid_test_insert3, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid.c
311
int BPF_PROG(hid_test_filter_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum,
tools/testing/selftests/hid/progs/hid.c
332
int BPF_PROG(hid_test_hidraw_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum,
tools/testing/selftests/hid/progs/hid.c
363
int BPF_PROG(hid_test_infinite_loop_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum,
tools/testing/selftests/hid/progs/hid.c
38
int __hid_subprog_first_event(struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid.c
390
int BPF_PROG(hid_test_filter_output_report, struct hid_bpf_ctx *hctx, unsigned char reportnum,
tools/testing/selftests/hid/progs/hid.c
402
int BPF_PROG(hid_test_hidraw_output_report, struct hid_bpf_ctx *hctx, __u64 source)
tools/testing/selftests/hid/progs/hid.c
423
int BPF_PROG(hid_test_infinite_loop_output_report, struct hid_bpf_ctx *hctx, __u64 source)
tools/testing/selftests/hid/progs/hid.c
461
struct hid_bpf_ctx *hid_ctx;
tools/testing/selftests/hid/progs/hid.c
500
int BPF_PROG(hid_test_multiply_events_wq, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid.c
51
int BPF_PROG(hid_subprog_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid.c
527
int BPF_PROG(hid_test_multiply_events, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid.c
566
int BPF_PROG(hid_test_infinite_loop_input_report, struct hid_bpf_ctx *hctx,
tools/testing/selftests/hid/progs/hid.c
63
int BPF_PROG(hid_second_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid.c
81
int BPF_PROG(hid_change_report_id, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
107
extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
110
extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __weak __ksym;
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
111
extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __weak __ksym;
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
112
extern int hid_bpf_hw_request(struct hid_bpf_ctx *ctx,
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
117
extern int hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx,
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
119
extern int hid_bpf_input_report(struct hid_bpf_ctx *ctx,
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
123
extern int hid_bpf_try_input_report(struct hid_bpf_ctx *ctx,
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
92
int (*hid_device_event)(struct hid_bpf_ctx *ctx, enum hid_report_type report_type,
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
94
int (*hid_rdesc_fixup)(struct hid_bpf_ctx *ctx);
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
95
int (*hid_hw_request)(struct hid_bpf_ctx *ctx, unsigned char reportnum,
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
98
int (*hid_hw_output_report)(struct hid_bpf_ctx *ctx, u64 source);