Home
last modified time | relevance | path

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

/xnu-8796.101.5/bsd/skywalk/mem/
H A Dskmem_arena.c266 struct kern_pbufpool *rx_pp, struct kern_pbufpool *tx_pp, in skmem_arena_pp_setup() argument
271 if (rx_pp == NULL && tx_pp == NULL) { in skmem_arena_pp_setup()
286 rx_pp = pp_create(name, srp, NULL, NULL, NULL, NULL, NULL, in skmem_arena_pp_setup()
288 if (rx_pp == NULL) { in skmem_arena_pp_setup()
293 pp_retain(rx_pp); in skmem_arena_pp_setup()
294 tx_pp = rx_pp; in skmem_arena_pp_setup()
296 if (rx_pp == NULL) { in skmem_arena_pp_setup()
297 rx_pp = tx_pp; in skmem_arena_pp_setup()
299 tx_pp = rx_pp; in skmem_arena_pp_setup()
302 ASSERT(rx_pp->pp_md_type == tx_pp->pp_md_type); in skmem_arena_pp_setup()
[all …]
/xnu-8796.101.5/bsd/net/
H A Dif_ipsec.c861 struct kern_pbufpool *rx_pp = rx_ring->ckr_pp; in ipsec_kpipe_sync_rx() local
862 VERIFY(rx_pp != NULL); in ipsec_kpipe_sync_rx()
877 error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in ipsec_kpipe_sync_rx()
890 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx()
947 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx()
952 if (length > PP_BUF_SIZE_DEF(rx_pp)) { in ipsec_kpipe_sync_rx()
955 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx()
957 pcb->ipsec_ifp->if_xname, length, PP_BUF_SIZE_DEF(rx_pp)); in ipsec_kpipe_sync_rx()
1438 struct kern_pbufpool *rx_pp = rx_ring->ckr_pp; in ipsec_netif_sync_rx() local
1439 VERIFY(rx_pp != NULL); in ipsec_netif_sync_rx()
[all …]
H A Dif_utun.c636 struct kern_pbufpool *rx_pp = rx_ring->ckr_pp; in utun_netif_sync_rx() local
637 VERIFY(rx_pp != NULL); in utun_netif_sync_rx()
653 errno_t error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in utun_netif_sync_rx()
678 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx()
687 if (length > PP_BUF_SIZE_DEF(rx_pp)) { in utun_netif_sync_rx()
690 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx()
694 pcb->utun_ifp->if_xname, length, PP_BUF_SIZE_DEF(rx_pp)); in utun_netif_sync_rx()
779 errno_t error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in utun_netif_sync_rx()
797 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx()
3353 struct kern_pbufpool *rx_pp = rx_ring->ckr_pp; in utun_kpipe_sync_rx() local
[all …]
/xnu-8796.101.5/bsd/skywalk/nexus/
H A Dnexus.c1814 struct kern_pbufpool *rx_pp, int *err) in nx_create() argument
1856 (!tx_pp || !rx_pp)) { in nx_create()
1869 (rx_pp != NULL && (*err = nx_check_pp(nxprov, rx_pp)) != 0)) { in nx_create()
1891 if (rx_pp != NULL) { in nx_create()
1892 nx->nx_rx_pp = rx_pp; in nx_create()
1893 pp_retain(rx_pp); /* released by nx_free */ in nx_create()
H A Dnexus_adapter.c438 struct kern_pbufpool *rx_pp = skmem_arena_nexus(na->na_arena)->arn_rx_pp; in na_bind_channel() local
555 ASSERT(rx_pp == tx_pp); in na_bind_channel()
556 err = pp_init_upp(rx_pp, TRUE); in na_bind_channel()
560 ch->ch_pp = rx_pp; in na_bind_channel()
598 pp_release(rx_pp); in na_bind_channel()