Home
last modified time | relevance | path

Searched refs:txring (Results 1 – 5 of 5) sorted by relevance

/xnu-11417.121.6/tests/skywalk/
H A Dskt_kqueue.c217 channel_ring_t txring; in skt_kqueue_basic_tx() local
238 txring = os_channel_tx_ring(channel, ring_id); in skt_kqueue_basic_tx()
239 assert(txring); in skt_kqueue_basic_tx()
248 while (os_channel_available_slot_count(txring) < i) { in skt_kqueue_basic_tx()
255 assert(os_channel_available_slot_count(txring)); in skt_kqueue_basic_tx()
259 send_bytes(txring, i); in skt_kqueue_basic_tx()
274 send_bytes(txring, j); in skt_kqueue_basic_tx()
281 send_bytes(txring, 8); in skt_kqueue_basic_tx()
284 assert(os_channel_available_slot_count(txring) == lim - i - 1); in skt_kqueue_basic_tx()
464 channel_ring_t txring; in skt_kqueue_lowat_basic_tx() local
[all …]
H A Dskt_debug_verify.c51 channel_ring_t rxring, txring; in skt_debug_verify_main() local
83 txring = os_channel_tx_ring(channel, ringid); in skt_debug_verify_main()
84 assert(txring); in skt_debug_verify_main()
86 avail = os_channel_available_slot_count(txring); in skt_debug_verify_main()
89 slot = os_channel_get_next_slot(txring, NULL, &prop); in skt_debug_verify_main()
97 os_channel_set_slot_properties(txring, slot, &prop); in skt_debug_verify_main()
99 error = os_channel_advance_slot(txring, slot); in skt_debug_verify_main()
H A Dskt_mangle.c252 channel_ring_t txring; in skt_mangle_tx() local
270 txring = os_channel_tx_ring(channel, ring_id); in skt_mangle_tx()
271 assert(txring); in skt_mangle_tx()
279 send_bytes(txring, 10); in skt_mangle_tx()
285 send_bytes(txring, 10); in skt_mangle_tx()
300 channel_slot_t slot = os_channel_get_next_slot(txring, NULL, &prop); in skt_mangle_tx()
305 os_channel_set_slot_properties(txring, slot, &prop); in skt_mangle_tx()
307 slot = os_channel_get_next_slot(txring, slot, &prop); in skt_mangle_tx()
310 os_channel_set_slot_properties(txring, slot, &prop); in skt_mangle_tx()
312 slot = os_channel_get_next_slot(txring, slot, &prop); in skt_mangle_tx()
[all …]
H A Dskywalk_test_common.c303 channel_ring_t rxring, txring; in sktc_channel_worker_echo() local
360 txring = os_channel_tx_ring(sktc_channel, ringid); in sktc_channel_worker_echo()
361 assert(txring); in sktc_channel_worker_echo()
395 txavail = os_channel_available_slot_count(txring); in sktc_channel_worker_echo()
413 txavail = os_channel_available_slot_count(txring); in sktc_channel_worker_echo()
426 txslot = os_channel_get_next_slot(txring, NULL, &txprop); in sktc_channel_worker_echo()
436 os_channel_set_slot_properties(txring, txslot, &txprop); in sktc_channel_worker_echo()
441 txslot = os_channel_get_next_slot(txring, txslot, &txprop); in sktc_channel_worker_echo()
445 error = os_channel_advance_slot(txring, txprev); in sktc_channel_worker_echo()
550 channel_ring_t txring; in sktc_channel_worker_source() local
[all …]
H A Dskt_utunloop.c101 channel_ring_t rxring, txring; in skt_utunloop_xfer_slots() local
115 txring = os_channel_tx_ring(txchannel, txindex + in skt_utunloop_xfer_slots()
117 assert(txring); in skt_utunloop_xfer_slots()
144 txavail = os_channel_available_slot_count(txring); in skt_utunloop_xfer_slots()
283 txslot = os_channel_get_next_slot(txring, txprev, &txprop); in skt_utunloop_xfer_slots()
290 os_channel_set_slot_properties(txring, txslot, &txprop); in skt_utunloop_xfer_slots()
299 error = os_channel_advance_slot(txring, txprev); in skt_utunloop_xfer_slots()
309 error = os_channel_advance_slot(txring, txprev); in skt_utunloop_xfer_slots()