Searched refs:ctx_kern (Results 1 – 1 of 1) sorted by relevance
31 struct hid_bpf_ctx_kern ctx_kern = { in dispatch_hid_bpf_device_event() local53 memset(ctx_kern.data, 0, hdev->bpf.allocated_data); in dispatch_hid_bpf_device_event()54 memcpy(ctx_kern.data, data, *size); in dispatch_hid_bpf_device_event()59 ret = e->hid_device_event(&ctx_kern.ctx, type, source); in dispatch_hid_bpf_device_event()66 ctx_kern.ctx.size = ret; in dispatch_hid_bpf_device_event()71 ret = ctx_kern.ctx.size; in dispatch_hid_bpf_device_event()73 if (ret > ctx_kern.ctx.allocated_size) in dispatch_hid_bpf_device_event()79 *buf_size = ctx_kern.ctx.allocated_size; in dispatch_hid_bpf_device_event()80 return ctx_kern.data; in dispatch_hid_bpf_device_event()90 struct hid_bpf_ctx_kern ctx_kern = { in dispatch_hid_bpf_raw_requests() local[all …]