Home
last modified time | relevance | path

Searched refs:free_count (Results 1 – 15 of 15) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c66 unsigned free_count; member
132 nfp->free_count = MLX5_NUM_4K_IN_PAGE; in insert_page()
205 fp->free_count--; in alloc_4k()
206 if (!fp->free_count) in alloc_4k()
228 fwp->free_count++; in free_4k()
230 if (fwp->free_count == MLX5_NUM_4K_IN_PAGE) { in free_4k()
232 if (fwp->free_count != 1) in free_4k()
238 } else if (fwp->free_count == 1) { in free_4k()
/drivers/net/wireless/iwlwifi/pcie/
Drx.c226 while ((iwl_rxq_space(rxq) > 0) && (rxq->free_count)) { in iwl_pcie_rxq_restock()
240 rxq->free_count--; in iwl_pcie_rxq_restock()
245 if (rxq->free_count <= RX_LOW_WATERMARK) in iwl_pcie_rxq_restock()
282 if (rxq->free_count > RX_LOW_WATERMARK) in iwl_pcie_rxq_alloc_rbs()
296 if ((rxq->free_count <= RX_LOW_WATERMARK) && in iwl_pcie_rxq_alloc_rbs()
302 rxq->free_count); in iwl_pcie_rxq_alloc_rbs()
344 rxq->free_count++; in iwl_pcie_rxq_alloc_rbs()
489 rxq->free_count = 0; in iwl_pcie_rx_init_rxb_lists()
692 rxq->free_count++; in iwl_pcie_rx_handle_rb()
Dinternal.h102 u32 free_count; member
Dtrans.c1633 rxq->free_count); in iwl_dbgfs_rx_queue_read()
/drivers/mtd/ubi/
Dwl.c476 if (!ubi->free.rb_node || (ubi->free_count - ubi->beb_rsvd_pebs < 1)) in ubi_wl_get_fm_peb()
492 ubi->free_count--; in ubi_wl_get_fm_peb()
537 ubi->free_count--; in __wl_get_peb()
563 ubi->free_count++; in return_unused_pool_pebs()
581 (ubi->free_count - ubi->beb_rsvd_pebs < 5)) in refill_wl_pool()
587 ubi->free_count--; in refill_wl_pool()
680 ubi->free_count--; in get_peb_for_wl()
681 ubi_assert(ubi->free_count >= 0); in get_peb_for_wl()
1083 ubi->free_count++;
1449 ubi->free_count++;
[all …]
Dubi.h544 int free_count; member
/drivers/net/ethernet/smsc/
Depic100.c948 int entry, free_count; in epic_start_xmit() local
960 free_count = ep->cur_tx - ep->dirty_tx; in epic_start_xmit()
966 if (free_count < TX_QUEUE_LEN/2) {/* Typical path */ in epic_start_xmit()
968 } else if (free_count == TX_QUEUE_LEN/2) { in epic_start_xmit()
970 } else if (free_count < TX_QUEUE_LEN - 1) { in epic_start_xmit()
/drivers/net/wireless/iwlegacy/
D3945-mac.c964 while (il_rx_queue_space(rxq) > 0 && rxq->free_count) { in il3945_rx_queue_restock()
975 rxq->free_count--; in il3945_rx_queue_restock()
980 if (rxq->free_count <= RX_LOW_WATERMARK) in il3945_rx_queue_restock()
1021 if (rxq->free_count > RX_LOW_WATERMARK) in il3945_rx_allocate()
1032 if (rxq->free_count <= RX_LOW_WATERMARK && in il3945_rx_allocate()
1036 priority, rxq->free_count); in il3945_rx_allocate()
1072 rxq->free_count++; in il3945_rx_allocate()
1105 rxq->free_count = 0; in il3945_rx_queue_reset()
1300 rxq->free_count++; in il3945_rx_handle()
D4965-mac.c128 rxq->free_count = 0; in il4965_rx_queue_reset()
273 while (il_rx_queue_space(rxq) > 0 && rxq->free_count) { in il4965_rx_queue_restock()
288 rxq->free_count--; in il4965_rx_queue_restock()
293 if (rxq->free_count <= RX_LOW_WATERMARK) in il4965_rx_queue_restock()
333 if (rxq->free_count > RX_LOW_WATERMARK) in il4965_rx_allocate()
346 if (rxq->free_count <= RX_LOW_WATERMARK && in il4965_rx_allocate()
352 rxq->free_count); in il4965_rx_allocate()
389 rxq->free_count++; in il4965_rx_allocate()
4326 rxq->free_count++; in il4965_rx_handle()
Ddebug.c908 rxq->free_count); in il_dbgfs_rx_queue_read()
Dcommon.h613 u32 free_count; member
Dcommon.c2641 rxq->free_count = 0; in il_rx_queue_alloc()
/drivers/net/wireless/ipw2x00/
Dipw2200.h726 u32 free_count; /* Number of pre-allocated buffers in rx_free */ member
Dipw2200.c3477 rxq->free_count = 0; in ipw_rx_queue_reset()
5172 while ((ipw_rx_queue_space(rxq) > 0) && (rxq->free_count)) { in ipw_rx_queue_restock()
5181 rxq->free_count--; in ipw_rx_queue_restock()
5187 if (rxq->free_count <= RX_LOW_WATERMARK) in ipw_rx_queue_restock()
5229 rxq->free_count++; in ipw_rx_queue_replenish()
5289 rxq->free_count = 0; in ipw_rx_queue_alloc()
/drivers/net/ethernet/marvell/
Dmvpp2.c4078 int used_count, int free_count) in mvpp2_rxq_status_update() argument
4083 u32 val = used_count | (free_count << MVPP2_RXQ_NUM_NEW_OFFSET); in mvpp2_rxq_status_update()