Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dtrampoline.c899 struct bpf_shim_tramp_link *shim_link = in bpf_shim_tramp_link_release() local
903 if (!shim_link->trampoline) in bpf_shim_tramp_link_release()
906 WARN_ON_ONCE(bpf_trampoline_unlink_prog(&shim_link->link, shim_link->trampoline, NULL)); in bpf_shim_tramp_link_release()
907 bpf_trampoline_put(shim_link->trampoline); in bpf_shim_tramp_link_release()
912 struct bpf_shim_tramp_link *shim_link = in bpf_shim_tramp_link_dealloc() local
915 kfree(shim_link); in bpf_shim_tramp_link_dealloc()
928 struct bpf_shim_tramp_link *shim_link = NULL; in cgroup_shim_alloc() local
931 shim_link = kzalloc_obj(*shim_link, GFP_USER); in cgroup_shim_alloc()
932 if (!shim_link) in cgroup_shim_alloc()
937 kfree(shim_link); in cgroup_shim_alloc()
[all …]