Lines Matching refs:link_map_cache

100 		--queue->link_map_cache[item->txpriv.link_id];  in __cw1200_queue_gc()
103 if (!--stats->link_map_cache[item->txpriv.link_id]) in __cw1200_queue_gc()
153 stats->link_map_cache = kcalloc(map_capacity, sizeof(int), in cw1200_queue_stats_init()
155 if (!stats->link_map_cache) in cw1200_queue_stats_init()
185 queue->link_map_cache = kcalloc(stats->map_capacity, sizeof(int), in cw1200_queue_init()
187 if (!queue->link_map_cache) { in cw1200_queue_init()
220 stats->num_queued -= queue->link_map_cache[i]; in cw1200_queue_clear()
221 stats->link_map_cache[i] -= queue->link_map_cache[i]; in cw1200_queue_clear()
222 queue->link_map_cache[i] = 0; in cw1200_queue_clear()
237 kfree(stats->link_map_cache); in cw1200_queue_stats_deinit()
238 stats->link_map_cache = NULL; in cw1200_queue_stats_deinit()
247 kfree(queue->link_map_cache); in cw1200_queue_deinit()
249 queue->link_map_cache = NULL; in cw1200_queue_deinit()
270 ret += queue->link_map_cache[i]; in cw1200_queue_get_num_queued()
304 ++queue->link_map_cache[txpriv->link_id]; in cw1200_queue_put()
308 ++stats->link_map_cache[txpriv->link_id]; in cw1200_queue_put()
354 --queue->link_map_cache[item->txpriv.link_id]; in cw1200_queue_get()
359 if (!--stats->link_map_cache[item->txpriv.link_id]) in cw1200_queue_get()
393 ++queue->link_map_cache[item->txpriv.link_id]; in cw1200_queue_requeue()
397 ++stats->link_map_cache[item->txpriv.link_id]; in cw1200_queue_requeue()
419 ++queue->link_map_cache[item->txpriv.link_id]; in cw1200_queue_requeue_all()
423 ++stats->link_map_cache[item->txpriv.link_id]; in cw1200_queue_requeue_all()
566 if (stats->link_map_cache[i]) { in cw1200_queue_stats_is_empty()