[PATCH openEuler-22.09 v4 08/21] sched: programmable: Add convenient helper functions to convert sched entity