Home
last modified time | relevance | path

Searched refs:txkring (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.61.12/bsd/skywalk/nexus/kpipe/
H A Dnx_kpipe_loopback.c321 kern_channel_ring_t txkring = kplo_txring; in kplo_sync_tx() local
336 "%p: %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-12377.61.12/bsd/skywalk/nexus/upipe/
H A Dnx_user_pipe.c795 nx_upipe_na_txsync(struct __kern_channel_ring *txkring, struct proc *p, in nx_upipe_na_txsync() argument
798 struct __kern_channel_ring *rxkring = txkring->ckr_pipe; in nx_upipe_na_txsync()
805 sk_proc_name(p), sk_proc_pid(p), txkring->ckr_name, in nx_upipe_na_txsync()
806 SK_KVA(txkring), txkring->ckr_flags, txkring->ckr_ring_id, flags, in nx_upipe_na_txsync()
814 ASSERT(txkring->ckr_owner == current_thread()); in nx_upipe_na_txsync()
823 tx_tsync = __DECONST(uint64_t *, &txkring->ckr_ring->ring_sync_time); in nx_upipe_na_txsync()
824 os_atomic_store(tx_tsync, txkring->ckr_sync_time, release); in nx_upipe_na_txsync()
831 tx_tnote = __DECONST(uint64_t *, &txkring->ckr_ring->ring_notify_time); in nx_upipe_na_txsync()
834 if (__probable(txkring->ckr_rhead != txkring->ckr_khead)) { in nx_upipe_na_txsync()
835 sent = nx_upipe_na_txsync_locked(txkring, p, flags, in nx_upipe_na_txsync()
[all …]