Lines Matching refs:new_slots
730 netmap_monitor_parent_sync(struct netmap_kring *kring, u_int first_new, int new_slots) in netmap_monitor_parent_sync() argument
760 m = new_slots; in netmap_monitor_parent_sync()
808 int new_slots; in netmap_monitor_parent_txsync() local
813 new_slots = kring->rhead - first_new; in netmap_monitor_parent_txsync()
814 if (new_slots < 0) in netmap_monitor_parent_txsync()
815 new_slots += kring->nkr_num_slots; in netmap_monitor_parent_txsync()
816 if (new_slots) in netmap_monitor_parent_txsync()
817 netmap_monitor_parent_sync(kring, first_new, new_slots); in netmap_monitor_parent_txsync()
830 int new_slots, error; in netmap_monitor_parent_rxsync() local
842 new_slots = kring->nr_hwtail - first_new; in netmap_monitor_parent_rxsync()
843 if (new_slots < 0) in netmap_monitor_parent_rxsync()
844 new_slots += kring->nkr_num_slots; in netmap_monitor_parent_rxsync()
845 if (new_slots) in netmap_monitor_parent_rxsync()
846 netmap_monitor_parent_sync(kring, first_new, new_slots); in netmap_monitor_parent_rxsync()