Home
last modified time | relevance | path

Searched refs:attach_prog (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/samples/hid/
H A Dhid_surface_dial.c89 static int attach_prog(struct hid_surface_dial *skel, struct bpf_program *prog, int hid_id) in attach_prog() function
101 attach_fd = bpf_program__fd(skel->progs.attach_prog); in attach_prog()
212 attach_prog(skel, prog, hid_id); in main()
H A Dhid_bpf_attach.bpf.c12 int attach_prog(struct attach_prog_args *ctx) in attach_prog() function
H A Dhid_mouse.c125 attach_fd = bpf_program__fd(skel->progs.attach_prog); in main()
/openbmc/linux/tools/testing/selftests/hid/progs/
H A Dhid.c62 int attach_prog(struct attach_prog_args *ctx) in attach_prog() function
/openbmc/linux/Documentation/hid/
H A Dhid-bpf.rst376 int attach_prog(struct attach_prog_args *ctx)
410 To attach ``filter_switch``, userspace needs to call the ``attach_prog`` syscall
427 prog_fd = bpf_program__fd(hid_skel->progs.attach_prog);
/openbmc/linux/tools/testing/selftests/hid/
H A Dhid_bpf.c543 attach_fd = bpf_program__fd(self->skel->progs.attach_prog); in load_programs()