Searched refs:free_slots (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/netmap/ |
H A D | netmap_monitor.c | 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() [all …]
|
/freebsd/sys/dev/xen/netback/ |
H A D | netback_unit_tests.c | 1411 int free_slots = 64; in xnb_mbufc2pkt_empty() local 1421 xnb_mbufc2pkt(mbuf, &pkt, 0, free_slots); in xnb_mbufc2pkt_empty() 1432 int free_slots = 64; in xnb_mbufc2pkt_short() local 1441 xnb_mbufc2pkt(mbuf, &pkt, start, free_slots); in xnb_mbufc2pkt_short() 1458 int free_slots = 32; in xnb_mbufc2pkt_1cluster() local 1467 xnb_mbufc2pkt(mbuf, &pkt, start, free_slots); in xnb_mbufc2pkt_1cluster() 1485 int free_slots = 32; in xnb_mbufc2pkt_2short() local 1504 xnb_mbufc2pkt(mbufc2, &pkt, start, free_slots); in xnb_mbufc2pkt_2short() 1527 int free_slots = 15; in xnb_mbufc2pkt_long() local 1544 xnb_mbufc2pkt(mbufc, &pkt, start, free_slots); in xnb_mbufc2pkt_long() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
H A D | raidz_test.c | 654 static int free_slots; variable 682 free_slots++; in sweep_thread() 706 max_free_slots = free_slots = MAX(2, boot_ncpus); in run_sweep() 745 if (free_slots > 0) { in run_sweep() 750 free_slots--; in run_sweep() 769 VERIFY(free_slots <= max_free_slots); in run_sweep() 770 while (free_slots < max_free_slots) { in run_sweep()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_rcfw.c | 289 u32 bsize, free_slots, required_slots; in __send_message() local 310 free_slots = HWQ_FREE_SLOTS(cmdq_hwq); in __send_message() 314 if (required_slots >= free_slots) { in __send_message() 317 required_slots, free_slots); in __send_message() 337 crsqe->free_slots = free_slots; in __send_message() 762 crsqe->free_slots); in bnxt_qplib_process_qp_event()
|
H A D | qplib_rcfw.h | 213 u32 free_slots; member
|