Searched refs:txkring (Results 1 – 2 of 2) sorted by relevance
| /xnu-8796.121.2/bsd/skywalk/nexus/kpipe/ |
| H A D | nx_kpipe_loopback.c | 321 kern_channel_ring_t txkring = kplo_txring; in kplo_sync_tx() local 336 "0x%llx: %s %x -> %s", SK_KVA(txkring), txkring->ckr_name, in kplo_sync_tx() 340 txkring->ckr_khead, txkring->ckr_ktail, in kplo_sync_tx() 341 txkring->ckr_rhead, txkring->ckr_rtail); in kplo_sync_tx() 355 avail_ts = kern_channel_available_slot_count(txkring); in kplo_sync_tx() 357 ts = kern_channel_get_next_slot(txkring, NULL, NULL); in kplo_sync_tx() 366 VERIFY(kern_channel_ring_get_container(txkring, NULL, NULL) == EINVAL); in kplo_sync_tx() 367 VERIFY(kern_channel_ring_get_container(txkring, &ary, &ary_cnt) == 0); in kplo_sync_tx() 380 ph = kern_channel_slot_get_packet(txkring, ts); in kplo_sync_tx() 421 VERIFY(kern_channel_slot_detach_packet(txkring, ts, ph) == 0); in kplo_sync_tx() [all …]
|
| /xnu-8796.121.2/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 794 nx_upipe_na_txsync(struct __kern_channel_ring *txkring, struct proc *p, in nx_upipe_na_txsync() argument 797 struct __kern_channel_ring *rxkring = txkring->ckr_pipe; in nx_upipe_na_txsync() 804 sk_proc_name_address(p), sk_proc_pid(p), txkring->ckr_name, in nx_upipe_na_txsync() 805 SK_KVA(txkring), txkring->ckr_flags, CKRF_BITS, in nx_upipe_na_txsync() 806 txkring->ckr_ring_id, flags, rxkring->ckr_name, SK_KVA(rxkring), in nx_upipe_na_txsync() 813 ASSERT(txkring->ckr_owner == current_thread()); in nx_upipe_na_txsync() 822 tx_tsync = __DECONST(uint64_t *, &txkring->ckr_ring->ring_sync_time); in nx_upipe_na_txsync() 823 atomic_set_64(tx_tsync, txkring->ckr_sync_time); in nx_upipe_na_txsync() 830 tx_tnote = __DECONST(uint64_t *, &txkring->ckr_ring->ring_notify_time); in nx_upipe_na_txsync() 833 if (__probable(txkring->ckr_rhead != txkring->ckr_khead)) { in nx_upipe_na_txsync() [all …]
|