Searched refs:ctx_kern (Results 1 – 1 of 1) sorted by relevance
30 struct hid_bpf_ctx_kern ctx_kern = { in dispatch_hid_bpf_device_event() local52 memset(ctx_kern.data, 0, hdev->bpf.allocated_data); in dispatch_hid_bpf_device_event()53 memcpy(ctx_kern.data, data, *size); in dispatch_hid_bpf_device_event()58 ret = e->hid_device_event(&ctx_kern.ctx, type, source); in dispatch_hid_bpf_device_event()65 ctx_kern.ctx.size = ret; in dispatch_hid_bpf_device_event()70 ret = ctx_kern.ctx.size; in dispatch_hid_bpf_device_event()72 if (ret > ctx_kern.ctx.allocated_size) in dispatch_hid_bpf_device_event()78 *buf_size = ctx_kern.ctx.allocated_size; in dispatch_hid_bpf_device_event()79 return ctx_kern.data; in dispatch_hid_bpf_device_event()89 struct hid_bpf_ctx_kern ctx_kern = { in dispatch_hid_bpf_raw_requests() local[all …]