pm_from_pe
struct pm_devs * pm_from_pe(struct part_entry *);
enable = pm_from_pe(pe)->parts != NULL;
struct pm_devs *my_pm = pm_from_pe(pe);