Lines Matching refs:mutex
45 lockdep_assert_held_once(&tr->mutex); in bpf_tramp_ftrace_ops_func()
76 if (!mutex_trylock(&tr->mutex)) { in bpf_tramp_ftrace_ops_func()
103 mutex_unlock(&tr->mutex); in bpf_tramp_ftrace_ops_func()
167 mutex_init(&tr->mutex); in bpf_trampoline_lookup()
596 mutex_lock(&tr->mutex); in bpf_trampoline_link_prog()
598 mutex_unlock(&tr->mutex); in bpf_trampoline_link_prog()
625 mutex_lock(&tr->mutex); in bpf_trampoline_unlink_prog()
627 mutex_unlock(&tr->mutex); in bpf_trampoline_unlink_prog()
735 mutex_lock(&tr->mutex); in bpf_trampoline_link_cgroup_shim()
742 mutex_unlock(&tr->mutex); in bpf_trampoline_link_cgroup_shim()
762 mutex_unlock(&tr->mutex); in bpf_trampoline_link_cgroup_shim()
766 mutex_unlock(&tr->mutex); in bpf_trampoline_link_cgroup_shim()
792 mutex_lock(&tr->mutex); in bpf_trampoline_unlink_cgroup_shim()
794 mutex_unlock(&tr->mutex); in bpf_trampoline_unlink_cgroup_shim()
812 mutex_lock(&tr->mutex); in bpf_trampoline_get()
819 mutex_unlock(&tr->mutex); in bpf_trampoline_get()
832 WARN_ON_ONCE(mutex_is_locked(&tr->mutex)); in bpf_trampoline_put()