[PATCH openEuler-26.09 010/408] bpf: refactory struct_ops type initialization to a function.