Searched refs:xnb_unit_pvt (Results 1 – 1 of 1) sorted by relevance
190 } xnb_unit_pvt; variable345 bzero(xnb_unit_pvt.gnttab, sizeof(xnb_unit_pvt.gnttab)); in setup_pvt_data()347 xnb_unit_pvt.txs = malloc(PAGE_SIZE, M_XENNETBACK, M_WAITOK|M_ZERO); in setup_pvt_data()348 if (xnb_unit_pvt.txs != NULL) { in setup_pvt_data()349 SHARED_RING_INIT(xnb_unit_pvt.txs); in setup_pvt_data()350 BACK_RING_INIT(&xnb_unit_pvt.txb, xnb_unit_pvt.txs, PAGE_SIZE); in setup_pvt_data()351 FRONT_RING_INIT(&xnb_unit_pvt.txf, xnb_unit_pvt.txs, PAGE_SIZE); in setup_pvt_data()356 xnb_unit_pvt.ifp = if_alloc(IFT_ETHER); in setup_pvt_data()357 if (xnb_unit_pvt.ifp == NULL) { in setup_pvt_data()361 xnb_unit_pvt.rxs = malloc(PAGE_SIZE, M_XENNETBACK, M_WAITOK|M_ZERO); in setup_pvt_data()[all …]