Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/
Dtrampoline.c625 struct bpf_shim_tramp_link *shim_link = in bpf_shim_tramp_link_release() local
629 if (!shim_link->trampoline) in bpf_shim_tramp_link_release()
632 WARN_ON_ONCE(bpf_trampoline_unlink_prog(&shim_link->link, shim_link->trampoline)); in bpf_shim_tramp_link_release()
633 bpf_trampoline_put(shim_link->trampoline); in bpf_shim_tramp_link_release()
638 struct bpf_shim_tramp_link *shim_link = in bpf_shim_tramp_link_dealloc() local
641 kfree(shim_link); in bpf_shim_tramp_link_dealloc()
653 struct bpf_shim_tramp_link *shim_link = NULL; in cgroup_shim_alloc() local
656 shim_link = kzalloc(sizeof(*shim_link), GFP_USER); in cgroup_shim_alloc()
657 if (!shim_link) in cgroup_shim_alloc()
662 kfree(shim_link); in cgroup_shim_alloc()
[all …]