[PATCH openEuler-22.09 v2 239/391] bpf: Factor out bpf_spin_lock into helpers.