Searched refs:free_count (Results 1 – 15 of 15) sorted by relevance
66 unsigned free_count; member132 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()
226 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()
102 u32 free_count; member
1633 rxq->free_count); in iwl_dbgfs_rx_queue_read()
476 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 …]
544 int free_count; member
948 int entry, free_count; in epic_start_xmit() local960 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()
964 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()
128 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()
908 rxq->free_count); in il_dbgfs_rx_queue_read()
613 u32 free_count; member
2641 rxq->free_count = 0; in il_rx_queue_alloc()
726 u32 free_count; /* Number of pre-allocated buffers in rx_free */ member
3477 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()
4078 int used_count, int free_count) in mvpp2_rxq_status_update() argument4083 u32 val = used_count | (free_count << MVPP2_RXQ_NUM_NEW_OFFSET); in mvpp2_rxq_status_update()