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