Searched refs:ctx_kern (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hid/bpf/ |
H A D | hid_bpf_dispatch.c | 29 struct hid_bpf_ctx_kern ctx_kern = { in dispatch_hid_bpf_device_event() local 48 memset(ctx_kern.data, 0, hdev->bpf.allocated_data); in dispatch_hid_bpf_device_event() 49 memcpy(ctx_kern.data, data, *size); in dispatch_hid_bpf_device_event() 54 ret = e->hid_device_event(&ctx_kern.ctx, type, source); in dispatch_hid_bpf_device_event() 61 ctx_kern.ctx.size = ret; in dispatch_hid_bpf_device_event() 66 ret = ctx_kern.ctx.size; in dispatch_hid_bpf_device_event() 68 if (ret > ctx_kern.ctx.allocated_size) in dispatch_hid_bpf_device_event() 74 return ctx_kern.data; in dispatch_hid_bpf_device_event() 84 struct hid_bpf_ctx_kern ctx_kern = { in dispatch_hid_bpf_raw_requests() local 105 ret = e->hid_hw_request(&ctx_kern.ctx, reportnum, rtype, reqtype, source); in dispatch_hid_bpf_raw_requests() [all …]
|