static void notify_port_select_events(int slot, uint16 events) { if (sPorts[slot].select_infos) notify_select_events_list(sPorts[slot].select_infos, events); }
static inline void notify_sem_select_events(struct sem_entry* sem, uint16 events) { if (sem->u.used.select_infos) notify_select_events_list(sem->u.used.select_infos, events); }