Lines Matching refs:sta_pool
1388 ASSERT((dhdp->staid_allocator != NULL) && (dhdp->sta_pool != NULL)); in dhd_sta_free()
1446 dhd_sta_pool_t * sta_pool; in dhd_sta_alloc() local
1448 ASSERT((dhdp->staid_allocator != NULL) && (dhdp->sta_pool != NULL)); in dhd_sta_alloc()
1456 sta_pool = (dhd_sta_pool_t *)(dhdp->sta_pool); in dhd_sta_alloc()
1457 sta = &sta_pool[idx]; in dhd_sta_alloc()
1495 dhd_sta_pool_t * sta_pool; in dhd_sta_pool_init() local
1499 ASSERT((dhdp->staid_allocator == NULL) && (dhdp->sta_pool == NULL)); in dhd_sta_pool_init()
1510 sta_pool = (dhd_sta_pool_t *)MALLOC(dhdp->osh, sta_pool_memsz); in dhd_sta_pool_init()
1511 if (sta_pool == NULL) { in dhd_sta_pool_init()
1517 dhdp->sta_pool = sta_pool; in dhd_sta_pool_init()
1521 bzero((uchar *)sta_pool, sta_pool_memsz); in dhd_sta_pool_init()
1523 sta = &sta_pool[idx]; in dhd_sta_pool_init()
1530 sta = &sta_pool[idx]; in dhd_sta_pool_init()
1546 dhd_sta_pool_t * sta_pool = (dhd_sta_pool_t *)dhdp->sta_pool; in dhd_sta_pool_fini() local
1548 if (sta_pool) { in dhd_sta_pool_fini()
1552 ASSERT(sta_pool[idx].ifp == DHD_IF_NULL); in dhd_sta_pool_fini()
1553 ASSERT(sta_pool[idx].idx == ID16_INVALID); in dhd_sta_pool_fini()
1555 MFREE(dhdp->osh, dhdp->sta_pool, sta_pool_memsz); in dhd_sta_pool_fini()
1568 dhd_sta_pool_t * sta_pool; in dhd_sta_pool_clear() local
1576 sta_pool = (dhd_sta_pool_t *)dhdp->sta_pool; in dhd_sta_pool_clear()
1579 if (!sta_pool) { in dhd_sta_pool_clear()
1591 bzero((uchar *)sta_pool, sta_pool_memsz); in dhd_sta_pool_clear()
1598 sta = &sta_pool[idx]; in dhd_sta_pool_clear()
1604 sta = &sta_pool[idx]; in dhd_sta_pool_clear()