Lines Matching refs:free_slots
592 int rel_slots, free_slots, busy, sent = 0; in netmap_zmon_parent_sync() local
638 free_slots = mlim - busy; in netmap_zmon_parent_sync()
640 if (!free_slots) in netmap_zmon_parent_sync()
644 if (free_slots < rel_slots) { in netmap_zmon_parent_sync()
645 beg += (rel_slots - free_slots); in netmap_zmon_parent_sync()
646 rel_slots = free_slots; in netmap_zmon_parent_sync()
738 int free_slots, busy, sent = 0, m; in netmap_monitor_parent_sync() local
754 free_slots = mlim - busy; in netmap_monitor_parent_sync()
756 if (!free_slots) in netmap_monitor_parent_sync()
762 if (free_slots < m) { in netmap_monitor_parent_sync()
763 beg += (m - free_slots); in netmap_monitor_parent_sync()
766 m = free_slots; in netmap_monitor_parent_sync()