Lines Matching refs:pktpool_shared
1196 pktpool_t *pktpool_shared = NULL; variable
1227 pktpool_shared = MALLOCZ(osh, sizeof(pktpool_t)); in hnd_pktpool_init()
1228 if (pktpool_shared == NULL) { in hnd_pktpool_init()
1279 if ((err = pktpool_init(osh, pktpool_shared, in hnd_pktpool_init()
1284 pktpool_setmaxlen(pktpool_shared, SHARED_POOL_LEN); in hnd_pktpool_init()
1327 pktpool_shared)) == NULL) { in hnd_pktpool_init()
1356 pktpool_deinit(osh, pktpool_shared); in hnd_pktpool_init()
1372 hnd_free(pktpool_shared); in hnd_pktpool_init()
1373 pktpool_shared = (pktpool_t *)NULL; in hnd_pktpool_init()
1393 if (POOL_ENAB(pktpool_shared)) { in hnd_pktpool_refill()
1396 int maxlen = pktpool_max_pkts(pktpool_shared); in hnd_pktpool_refill()
1397 int n_pkts = pktpool_tot_pkts(pktpool_shared); in hnd_pktpool_refill()
1401 if ((p = PKTSRGET(pktpool_max_pkt_bytes(pktpool_shared))) == NULL) in hnd_pktpool_refill()
1403 pktpool_add(pktpool_shared, p); in hnd_pktpool_refill()
1407 pktpool_fill(pktpool_osh, pktpool_shared, minimal); in hnd_pktpool_refill()