Home
last modified time | relevance | path

Searched refs:ctx_kern (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/drivers/hid/bpf/
A Dhid_bpf_dispatch.c71 memcpy(ctx_kern.data, data, *size); in dispatch_hid_bpf_device_event()
84 return ctx_kern.data; in dispatch_hid_bpf_device_event()
119 ctx_kern.data = kzalloc(ctx_kern.ctx.allocated_size, GFP_KERNEL); in call_hid_bpf_rdesc_fixup()
120 if (!ctx_kern.data) in call_hid_bpf_rdesc_fixup()
141 kfree(ctx_kern.data); in call_hid_bpf_rdesc_fixup()
168 return ctx_kern->data + offset; in hid_bpf_get_data()
325 ctx_kern = kzalloc(sizeof(*ctx_kern), GFP_KERNEL); in hid_bpf_allocate_context()
326 if (!ctx_kern) in hid_bpf_allocate_context()
329 ctx_kern->ctx.hid = hdev; in hid_bpf_allocate_context()
331 return &ctx_kern->ctx; in hid_bpf_allocate_context()
[all …]
A Dhid_bpf_jmp_table.c108 struct hid_bpf_ctx_kern *ctx_kern) in hid_bpf_prog_run() argument
125 ctx_kern->ctx.index = idx; in hid_bpf_prog_run()
126 err = __hid_bpf_tail_call(&ctx_kern->ctx); in hid_bpf_prog_run()
130 ctx_kern->ctx.retval = err; in hid_bpf_prog_run()
A Dhid_bpf_dispatch.h20 struct hid_bpf_ctx_kern *ctx_kern);

Completed in 5 milliseconds