Searched refs:rx_pp (Results 1 – 5 of 5) sorted by relevance
| /xnu-8019.80.24/bsd/skywalk/mem/ |
| H A D | skmem_arena.c | 291 struct kern_pbufpool *rx_pp, struct kern_pbufpool *tx_pp, in skmem_arena_pp_setup() argument 296 if (rx_pp == NULL && tx_pp == NULL) { in skmem_arena_pp_setup() 308 rx_pp = pp_create(name, &srp[SKMEM_REGION_BUF], in skmem_arena_pp_setup() 312 if (rx_pp == NULL) { in skmem_arena_pp_setup() 317 pp_retain(rx_pp); in skmem_arena_pp_setup() 318 tx_pp = rx_pp; in skmem_arena_pp_setup() 320 if (rx_pp == NULL) { in skmem_arena_pp_setup() 321 rx_pp = tx_pp; in skmem_arena_pp_setup() 323 tx_pp = rx_pp; in skmem_arena_pp_setup() 326 ASSERT(rx_pp->pp_md_type == tx_pp->pp_md_type); in skmem_arena_pp_setup() [all …]
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | if_ipsec.c | 862 struct kern_pbufpool *rx_pp = rx_ring->ckr_pp; in ipsec_kpipe_sync_rx() local 863 VERIFY(rx_pp != NULL); in ipsec_kpipe_sync_rx() 878 error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in ipsec_kpipe_sync_rx() 891 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx() 948 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx() 953 if (length > rx_pp->pp_buflet_size) { in ipsec_kpipe_sync_rx() 956 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx() 958 pcb->ipsec_ifp->if_xname, length, rx_pp->pp_buflet_size); in ipsec_kpipe_sync_rx() 1439 struct kern_pbufpool *rx_pp = rx_ring->ckr_pp; in ipsec_netif_sync_rx() local 1440 VERIFY(rx_pp != NULL); in ipsec_netif_sync_rx() [all …]
|
| H A D | if_utun.c | 637 struct kern_pbufpool *rx_pp = rx_ring->ckr_pp; in utun_netif_sync_rx() local 638 VERIFY(rx_pp != NULL); in utun_netif_sync_rx() 654 errno_t error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in utun_netif_sync_rx() 679 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx() 688 if (length > rx_pp->pp_buflet_size) { in utun_netif_sync_rx() 691 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx() 695 pcb->utun_ifp->if_xname, length, rx_pp->pp_buflet_size); in utun_netif_sync_rx() 780 errno_t error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in utun_netif_sync_rx() 798 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx() 3351 struct kern_pbufpool *rx_pp = rx_ring->ckr_pp; in utun_kpipe_sync_rx() local [all …]
|
| /xnu-8019.80.24/bsd/skywalk/nexus/ |
| H A D | nexus.c | 1856 struct kern_pbufpool *rx_pp, int *err) in nx_create() argument 1898 (!tx_pp || !rx_pp)) { in nx_create() 1911 (rx_pp != NULL && (*err = nx_check_pp(nxprov, rx_pp)) != 0)) { in nx_create() 1933 if (rx_pp != NULL) { in nx_create() 1934 nx->nx_rx_pp = rx_pp; in nx_create() 1935 pp_retain(rx_pp); /* released by nx_free */ in nx_create()
|
| H A D | nexus_adapter.c | 499 struct kern_pbufpool *rx_pp = skmem_arena_nexus(na->na_arena)->arn_rx_pp; in na_bind_channel() local 616 ASSERT(rx_pp == tx_pp); in na_bind_channel() 617 err = pp_init_upp(rx_pp, TRUE); in na_bind_channel() 621 ch->ch_pp = rx_pp; in na_bind_channel() 659 pp_release(rx_pp); in na_bind_channel()
|