[PATCH openEuler-22.09 07/20] sched: programmable: Add convenient helper functions to convert sched entity