Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 25 of 31) sorted by relevance

12

/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_tx_flow_control.c48 dp_tx_initialize_threshold(struct dp_tx_desc_pool_s *pool, in dp_tx_initialize_threshold() argument
54 pool->start_th[DP_TH_BE_BK] = (start_threshold in dp_tx_initialize_threshold()
56 pool->stop_th[DP_TH_BE_BK] = (stop_threshold in dp_tx_initialize_threshold()
60 pool->start_th[DP_TH_VI] = (pool->start_th[DP_TH_BE_BK] in dp_tx_initialize_threshold()
62 pool->stop_th[DP_TH_VI] = (pool->stop_th[DP_TH_BE_BK] in dp_tx_initialize_threshold()
66 pool->start_th[DP_TH_VO] = (pool->start_th[DP_TH_BE_BK] in dp_tx_initialize_threshold()
68 pool->stop_th[DP_TH_VO] = (pool->stop_th[DP_TH_BE_BK] in dp_tx_initialize_threshold()
72 pool->start_th[DP_TH_HI] = (pool->start_th[DP_TH_BE_BK] in dp_tx_initialize_threshold()
74 pool->stop_th[DP_TH_HI] = (pool->stop_th[DP_TH_BE_BK] in dp_tx_initialize_threshold()
88 dp_tx_flow_pool_reattach(struct dp_tx_desc_pool_s *pool) in dp_tx_flow_pool_reattach() argument
[all …]
Ddp_tx_desc.h79 #define IS_TX_DESC_POOL_STATUS_INACTIVE(pool) \ argument
80 ((pool)->status == FLOW_POOL_INACTIVE)
102 #define IS_TX_DESC_POOL_STATUS_INACTIVE(pool) (false) argument
507 struct dp_tx_desc_s *dp_tx_get_desc_flow_pool(struct dp_tx_desc_pool_s *pool) in dp_tx_get_desc_flow_pool() argument
509 struct dp_tx_desc_s *tx_desc = pool->freelist; in dp_tx_get_desc_flow_pool()
511 pool->freelist = pool->freelist->next; in dp_tx_get_desc_flow_pool()
512 pool->avail_desc--; in dp_tx_get_desc_flow_pool()
526 void dp_tx_put_desc_flow_pool(struct dp_tx_desc_pool_s *pool, in dp_tx_put_desc_flow_pool() argument
529 tx_desc->next = pool->freelist; in dp_tx_put_desc_flow_pool()
530 pool->freelist = tx_desc; in dp_tx_put_desc_flow_pool()
[all …]
Ddp_tx.c5478 struct dp_tx_desc_pool_s *pool; local
5482 pool = &soc->tx_desc[desc_pool_id];
5484 qdf_spin_lock_bh(&pool->flow_pool_lock);
5498 struct dp_tx_desc_pool_s *pool; local
5502 pool = &soc->tx_desc[desc_pool_id];
5504 qdf_spin_unlock_bh(&pool->flow_pool_lock);
6419 struct dp_tx_desc_pool_s *pool = NULL; local
6421 pool = dp_get_tx_desc_pool(soc, head_desc->pool_id);
6423 dp_tx_desc_free_list(pool, head_desc, tail_desc, fast_desc_count);
7229 struct dp_tx_desc_pool_s *pool = NULL; local
[all …]
Ddp_rx.h570 struct rx_desc_pool *pool, in dp_get_rx_desc_from_cookie() argument
582 rx_desc_pool = &pool[pool_id]; in dp_get_rx_desc_from_cookie()
592 struct rx_desc_pool *pool, in dp_get_rx_mon_status_desc_from_cookie() argument
604 rx_desc_pool = &pool[pool_id]; in dp_get_rx_mon_status_desc_from_cookie()
/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_txrx_flow_control.c89 struct ol_tx_flow_pool_t *pool; in ol_txrx_fwd_desc_thresh_check() local
95 pool = txrx_vdev->pool; in ol_txrx_fwd_desc_thresh_check()
97 if (!pool) in ol_txrx_fwd_desc_thresh_check()
100 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_txrx_fwd_desc_thresh_check()
101 enough_desc_flag = (pool->avail_desc < (pool->stop_th + in ol_txrx_fwd_desc_thresh_check()
104 qdf_spin_unlock_bh(&pool->flow_pool_lock); in ol_txrx_fwd_desc_thresh_check()
141 struct ol_tx_flow_pool_t *pool = NULL; in ol_tx_get_total_free_desc() local
146 TAILQ_FOREACH(pool, &pdev->tx_desc.flow_pool_list, in ol_tx_get_total_free_desc()
148 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_tx_get_total_free_desc()
149 free_desc += pool->avail_desc; in ol_tx_get_total_free_desc()
[all …]
Dol_tx_desc.c287 struct ol_tx_flow_pool_t *pool) in ol_tx_desc_alloc() argument
291 if (!pool) { in ol_tx_desc_alloc()
296 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_tx_desc_alloc()
297 if (pool->avail_desc) { in ol_tx_desc_alloc()
298 tx_desc = ol_tx_get_desc_flow_pool(pool); in ol_tx_desc_alloc()
300 if (qdf_unlikely(pool->avail_desc < pool->stop_th && in ol_tx_desc_alloc()
301 (pool->avail_desc >= pool->stop_priority_th) && in ol_tx_desc_alloc()
302 (pool->status == FLOW_POOL_ACTIVE_UNPAUSED))) { in ol_tx_desc_alloc()
303 pool->status = FLOW_POOL_NON_PRIO_PAUSED; in ol_tx_desc_alloc()
308 } else if (qdf_unlikely((pool->avail_desc < in ol_tx_desc_alloc()
[all …]
Dol_tx_desc.h303 int ol_tx_free_invalid_flow_pool(struct ol_tx_flow_pool_t *pool);
313 struct ol_tx_desc_t *ol_tx_get_desc_flow_pool(struct ol_tx_flow_pool_t *pool) in ol_tx_get_desc_flow_pool() argument
315 struct ol_tx_desc_t *tx_desc = &pool->freelist->tx_desc; in ol_tx_get_desc_flow_pool()
317 pool->freelist = pool->freelist->next; in ol_tx_get_desc_flow_pool()
318 pool->avail_desc--; in ol_tx_get_desc_flow_pool()
332 void ol_tx_put_desc_flow_pool(struct ol_tx_flow_pool_t *pool, in ol_tx_put_desc_flow_pool() argument
335 tx_desc->pool = pool; in ol_tx_put_desc_flow_pool()
336 ((union ol_tx_desc_list_elem_t *)tx_desc)->next = pool->freelist; in ol_tx_put_desc_flow_pool()
337 pool->freelist = (union ol_tx_desc_list_elem_t *)tx_desc; in ol_tx_put_desc_flow_pool()
338 pool->avail_desc++; in ol_tx_put_desc_flow_pool()
[all …]
Dol_txrx.c578 pdev->local_peer_ids.pool[i] = i + 1; in ol_txrx_local_peer_id_pool_init()
584 pdev->local_peer_ids.pool[i] = i; in ol_txrx_local_peer_id_pool_init()
597 if (pdev->local_peer_ids.pool[i] == i) { in ol_txrx_local_peer_id_alloc()
603 pdev->local_peer_ids.freelist = pdev->local_peer_ids.pool[i]; in ol_txrx_local_peer_id_alloc()
621 pdev->local_peer_ids.pool[i] = pdev->local_peer_ids.freelist; in ol_txrx_local_peer_id_free()
2137 struct ol_tx_flow_pool_t *pool; in ol_txrx_tx_desc_reset_vdev() local
2148 pool = tx_desc->pool; in ol_txrx_tx_desc_reset_vdev()
2149 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_txrx_tx_desc_reset_vdev()
2152 qdf_spin_unlock_bh(&pool->flow_pool_lock); in ol_txrx_tx_desc_reset_vdev()
3944 pdev->ol_txrx_fw_stats_desc_pool.pool = qdf_mem_malloc(pool_size * in ol_txrx_fw_stats_desc_pool_init()
[all …]
Dol_tx_send.c582 struct ol_tx_flow_pool_t *pool; in ol_tx_flow_pool_lock() local
584 pool = tx_desc->pool; in ol_tx_flow_pool_lock()
585 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_tx_flow_pool_lock()
597 struct ol_tx_flow_pool_t *pool; in ol_tx_flow_pool_unlock() local
599 pool = tx_desc->pool; in ol_tx_flow_pool_unlock()
600 qdf_spin_unlock_bh(&pool->flow_pool_lock); in ol_tx_flow_pool_unlock()
Dol_txrx_types.h211 struct ol_tx_flow_pool_t *pool; member
718 struct ol_txrx_fw_stats_desc_elem_t *pool; member
979 ol_txrx_local_peer_id_t pool[OL_TXRX_NUM_LOCAL_PEER_IDS + 1]; member
1353 struct ol_tx_flow_pool_t *pool; member
/wlan-driver/qca-wifi-host-cmn/qdf/src/
Dqdf_flex_mem.c29 qdf_flex_mem_seg_alloc(struct qdf_flex_mem_pool *pool) in qdf_flex_mem_seg_alloc() argument
33 pool->item_size * QDF_FM_BITMAP_BITS; in qdf_flex_mem_seg_alloc()
35 seg = qdf_talloc(pool, total_size); in qdf_flex_mem_seg_alloc()
42 qdf_list_insert_back(&pool->seg_list, &seg->node); in qdf_flex_mem_seg_alloc()
47 void qdf_flex_mem_init(struct qdf_flex_mem_pool *pool) in qdf_flex_mem_init() argument
51 qdf_spinlock_create(&pool->lock); in qdf_flex_mem_init()
53 for (i = 0; i < pool->reduction_limit; i++) in qdf_flex_mem_init()
54 qdf_flex_mem_seg_alloc(pool); in qdf_flex_mem_init()
58 void qdf_flex_mem_deinit(struct qdf_flex_mem_pool *pool) in qdf_flex_mem_deinit() argument
62 qdf_spinlock_destroy(&pool->lock); in qdf_flex_mem_deinit()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/mgmt_txrx/core/src/
Dwlan_mgmt_txrx_main.c62 mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool = qdf_mem_malloc( in wlan_mgmt_txrx_desc_pool_init()
66 if (!mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool) in wlan_mgmt_txrx_desc_pool_init()
73 mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].desc_id = i; in wlan_mgmt_txrx_desc_pool_init()
74 mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].in_use = false; in wlan_mgmt_txrx_desc_pool_init()
77 &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].entry); in wlan_mgmt_txrx_desc_pool_init()
95 if (!mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool) { in wlan_mgmt_txrx_desc_pool_deinit()
105 &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].entry); in wlan_mgmt_txrx_desc_pool_deinit()
113 qdf_mem_free(mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool); in wlan_mgmt_txrx_desc_pool_deinit()
114 mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool = NULL; in wlan_mgmt_txrx_desc_pool_deinit()
173 desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in wlan_mgmt_txrx_desc_put()
Dwlan_mgmt_txrx_main_i.h123 struct mgmt_txrx_desc_elem_t *pool; member
/wlan-driver/qca-wifi-host-cmn/wbuff/src/
Dwbuff.c46 struct wbuff_pool *pool; in wbuff_get_pool_slot_from_len() local
51 pool = &mod->wbuff_pool[i]; in wbuff_get_pool_slot_from_len()
53 if (!pool->initialized) in wbuff_get_pool_slot_from_len()
56 if ((len > prev_buf_size) && (len <= pool->buffer_size)) in wbuff_get_pool_slot_from_len()
258 mod->wbuff_pool[pool_id].pool = NULL; in wbuff_module_init()
341 if (!wbuff_pool->pool) in wbuff_module_register()
344 qdf_nbuf_set_next(buf, wbuff_pool->pool); in wbuff_module_register()
346 wbuff_pool->pool = buf; in wbuff_module_register()
389 first = wbuff_pool->pool; in wbuff_module_deregister()
441 if (wbuff_pool->pool) { in wbuff_buff_get()
[all …]
Di_wbuff.h57 qdf_nbuf_t pool; member
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_flex_mem.h98 void qdf_flex_mem_init(struct qdf_flex_mem_pool *pool);
106 void qdf_flex_mem_deinit(struct qdf_flex_mem_pool *pool);
119 void *qdf_flex_mem_alloc(struct qdf_flex_mem_pool *pool);
132 void qdf_flex_mem_free(struct qdf_flex_mem_pool *pool, void *ptr);
Dqdf_mem.h711 static inline void qdf_mempool_destroy(qdf_device_t osdev, qdf_mempool_t pool) in qdf_mempool_destroy() argument
713 __qdf_mempool_destroy(osdev, pool); in qdf_mempool_destroy()
723 static inline void *qdf_mempool_alloc(qdf_device_t osdev, qdf_mempool_t pool) in qdf_mempool_alloc() argument
725 return (void *)__qdf_mempool_alloc(osdev, pool); in qdf_mempool_alloc()
736 static inline void qdf_mempool_free(qdf_device_t osdev, qdf_mempool_t pool, in qdf_mempool_free() argument
739 __qdf_mempool_free(osdev, pool, buf); in qdf_mempool_free()
/wlan-driver/qcacld-3.0/core/dp/ol/inc/
Dol_txrx_ctrl_api.h521 QDF_STATUS ol_tx_inc_pool_ref(struct ol_tx_flow_pool_t *pool);
535 QDF_STATUS ol_tx_dec_pool_ref(struct ol_tx_flow_pool_t *pool, bool force);
577 ol_tx_inc_pool_ref(struct ol_tx_flow_pool_t *pool) in ol_tx_inc_pool_ref() argument
582 ol_tx_dec_pool_ref(struct ol_tx_flow_pool_t *pool, bool force) in ol_tx_dec_pool_ref() argument
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_mem.c1273 void __qdf_mempool_destroy(qdf_device_t osdev, __qdf_mempool_t pool) in __qdf_mempool_destroy() argument
1277 if (!pool) in __qdf_mempool_destroy()
1281 kfree(pool); in __qdf_mempool_destroy()
1285 pool_id = pool->pool_id; in __qdf_mempool_destroy()
1288 kfree(pool->pool_mem); in __qdf_mempool_destroy()
1289 kfree(pool); in __qdf_mempool_destroy()
1294 void *__qdf_mempool_alloc(qdf_device_t osdev, __qdf_mempool_t pool) in __qdf_mempool_alloc() argument
1298 if (!pool) in __qdf_mempool_alloc()
1302 return qdf_mem_malloc(pool->elem_size); in __qdf_mempool_alloc()
1304 spin_lock_bh(&pool->lock); in __qdf_mempool_alloc()
[all …]
Di_qdf_mem.h235 void __qdf_mempool_destroy(qdf_device_t osdev, __qdf_mempool_t pool);
244 void *__qdf_mempool_alloc(qdf_device_t osdev, __qdf_mempool_t pool);
254 void __qdf_mempool_free(qdf_device_t osdev, __qdf_mempool_t pool, void *buf);
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/mgmt_txrx/dispatcher/src/
Dwlan_mgmt_txrx_utils_api.c932 if (mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[index].in_use) { in wlan_mgmt_txrx_pdev_close()
936 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[index]; in wlan_mgmt_txrx_pdev_close()
988 if (mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].in_use) { in wlan_mgmt_txrx_vdev_drain()
989 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i]; in wlan_mgmt_txrx_vdev_drain()
Dwlan_mgmt_txrx_tgt_api.c1642 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in tgt_mgmt_txrx_tx_completion_handler()
1714 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in tgt_mgmt_txrx_get_nbuf_from_desc_id()
1744 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in tgt_mgmt_txrx_get_peer_from_desc_id()
1778 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in tgt_mgmt_txrx_get_vdev_id_from_desc_id()
/wlan-driver/platform/cnss_prealloc/
DKconfig8 for it's internal usage and release it to back to pre allocated pool.
/wlan-driver/platform/icnss2/
DKconfig52 for it's internal usage and release it to back to pre allocated pool.
/wlan-driver/platform/cnss2/
DKconfig172 for it's internal usage and release it to back to pre allocated pool.

12