/Linux-v5.4/drivers/bus/fsl-mc/ |
D | fsl-mc-allocator.c | 59 if (res_pool->free_count < 0 || in fsl_mc_resource_pool_add_device() 60 res_pool->free_count > res_pool->max_count) in fsl_mc_resource_pool_add_device() 79 res_pool->free_count++; in fsl_mc_resource_pool_add_device() 123 if (res_pool->free_count <= 0 || in fsl_mc_resource_pool_remove_device() 124 res_pool->free_count > res_pool->max_count) in fsl_mc_resource_pool_remove_device() 140 res_pool->free_count--; in fsl_mc_resource_pool_remove_device() 211 if (res_pool->free_count <= 0 || in fsl_mc_resource_allocate() 212 res_pool->free_count > res_pool->max_count) in fsl_mc_resource_allocate() 217 res_pool->free_count--; in fsl_mc_resource_allocate() 236 if (res_pool->free_count < 0 || in fsl_mc_resource_free() [all …]
|
D | fsl-mc-private.h | 501 int free_count; member
|
/Linux-v5.4/drivers/mtd/ubi/ |
D | fastmap-wl.c | 56 ubi->free_count++; in return_unused_pool_pebs() 85 if (!ubi->free.rb_node || (ubi->free_count - ubi->beb_rsvd_pebs < 1)) in ubi_wl_get_fm_peb() 101 ubi->free_count--; in ubi_wl_get_fm_peb() 142 (ubi->free_count - ubi->beb_rsvd_pebs < 5)) in ubi_refill_pools() 148 ubi->free_count--; in ubi_refill_pools()
|
D | wl.c | 407 ubi->free_count--; in wl_get_wle() 742 ubi->free_count++; 941 ubi->free_count++; 1097 ubi->free_count++; 1553 ubi->free_count--; 1712 ubi->free_count++; 1761 ubi->free_count = 0; 1786 ubi->free_count++; 2027 ubi->free_count--; 2028 ubi_assert(ubi->free_count >= 0);
|
D | ubi.h | 607 int free_count; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 63 unsigned free_count; member 103 nfp->free_count = MLX5_NUM_4K_IN_PAGE; in insert_page() 174 fp->free_count--; in alloc_4k() 175 if (!fp->free_count) in alloc_4k() 197 fwp->free_count++; in free_4k() 199 if (fwp->free_count == MLX5_NUM_4K_IN_PAGE) { in free_4k() 201 if (fwp->free_count != 1) in free_4k() 207 } else if (fwp->free_count == 1) { in free_4k()
|
/Linux-v5.4/fs/reiserfs/ |
D | resize.c | 165 bitmap[i].free_count = sb_blocksize(sb) * 8 - 1; in reiserfs_resize() 195 info->free_count += s->s_blocksize * 8 - block_r; in reiserfs_resize() 216 info->free_count -= s->s_blocksize * 8 - block_r_new; in reiserfs_resize()
|
D | bitmap.c | 170 if (bi->free_count < min) { in scan_bitmap_block() 257 bi->free_count -= (end - *beg); in scan_bitmap_block() 311 if (info->free_count == UINT_MAX) { in block_group_used() 316 if (info->free_count > ((s->s_blocksize << 3) * 60 / 100)) { in block_group_used() 388 || SB_AP_BITMAP(s)[bm].free_count > in scan_bitmap() 451 apbi[nr].free_count++; in _reiserfs_free_block() 1404 info->free_count = 0; in reiserfs_cache_bitmap_metadata() 1409 info->free_count += BITS_PER_LONG; in reiserfs_cache_bitmap_metadata() 1411 info->free_count += BITS_PER_LONG - hweight_long(*cur); in reiserfs_cache_bitmap_metadata() 1447 if (info->free_count == UINT_MAX) in reiserfs_read_bitmap_block()
|
/Linux-v5.4/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.c | 146 GEM_BUG_ON(!atomic_read(&i915->mm.free_count)); in __i915_gem_free_object_rcu() 147 atomic_dec(&i915->mm.free_count); in __i915_gem_free_object_rcu() 226 atomic_inc(&i915->mm.free_count); in i915_gem_free_object()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | rx.c | 319 while (rxq->free_count) { in iwl_pcie_rxmq_restock() 330 rxq->free_count--; in iwl_pcie_rxmq_restock() 365 while ((iwl_rxq_space(rxq) > 0) && (rxq->free_count)) { in iwl_pcie_rxsq_restock() 381 rxq->free_count--; in iwl_pcie_rxsq_restock() 506 rxq->free_count++; in iwl_pcie_rxq_alloc_rbs() 665 rxq->free_count += RX_CLAIM_REQ_ALLOC; in iwl_pcie_rx_allocator_get() 1026 rxq->free_count = 0; in iwl_pcie_rx_init_rxb_lists() 1380 rxq->free_count++; in iwl_pcie_rx_handle_rb()
|
D | internal.h | 208 u32 free_count; member
|
/Linux-v5.4/drivers/net/ethernet/smsc/ |
D | epic100.c | 941 int entry, free_count; in epic_start_xmit() local 953 free_count = ep->cur_tx - ep->dirty_tx; in epic_start_xmit() 959 if (free_count < TX_QUEUE_LEN/2) {/* Typical path */ in epic_start_xmit() 961 } else if (free_count == TX_QUEUE_LEN/2) { in epic_start_xmit() 963 } else if (free_count < TX_QUEUE_LEN - 1) { in epic_start_xmit()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-mac.c | 941 while (il_rx_queue_space(rxq) > 0 && rxq->free_count) { in il3945_rx_queue_restock() 952 rxq->free_count--; in il3945_rx_queue_restock() 957 if (rxq->free_count <= RX_LOW_WATERMARK) in il3945_rx_queue_restock() 998 if (rxq->free_count > RX_LOW_WATERMARK) in il3945_rx_allocate() 1009 if (rxq->free_count <= RX_LOW_WATERMARK && in il3945_rx_allocate() 1013 priority, rxq->free_count); in il3945_rx_allocate() 1049 rxq->free_count++; in il3945_rx_allocate() 1082 rxq->free_count = 0; in il3945_rx_queue_reset() 1277 rxq->free_count++; in il3945_rx_handle()
|
D | 4965-mac.c | 112 rxq->free_count = 0; in il4965_rx_queue_reset() 257 while (il_rx_queue_space(rxq) > 0 && rxq->free_count) { in il4965_rx_queue_restock() 272 rxq->free_count--; in il4965_rx_queue_restock() 277 if (rxq->free_count <= RX_LOW_WATERMARK) in il4965_rx_queue_restock() 317 if (rxq->free_count > RX_LOW_WATERMARK) in il4965_rx_allocate() 330 if (rxq->free_count <= RX_LOW_WATERMARK && in il4965_rx_allocate() 336 rxq->free_count); in il4965_rx_allocate() 373 rxq->free_count++; in il4965_rx_allocate() 4309 rxq->free_count++; in il4965_rx_handle()
|
D | debug.c | 873 rxq->free_count); in il_dbgfs_rx_queue_read()
|
/Linux-v5.4/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1012 atomic_sub(n_desc, &ring->free_count); in mtk_tx_map() 1123 if (unlikely(atomic_read(&ring->free_count) <= tx_num)) { in mtk_start_xmit() 1149 if (unlikely(atomic_read(&ring->free_count) <= ring->thresh)) in mtk_start_xmit() 1357 atomic_inc(&ring->free_count); in mtk_poll_tx_qdma() 1395 atomic_inc(&ring->free_count); in mtk_poll_tx_pdma() 1428 (atomic_read(&ring->free_count) > ring->thresh)) in mtk_poll_tx() 1552 atomic_set(&ring->free_count, MTK_DMA_SIZE - 2); in mtk_tx_alloc()
|
D | mtk_eth_soc.h | 621 atomic_t free_count; member
|
/Linux-v5.4/drivers/dma/ |
D | bcm-sba-raid.c | 461 u32 free_count = 0, alloced_count = 0; in sba_write_stats_in_seqfile() local 468 free_count++; in sba_write_stats_in_seqfile() 485 seq_printf(file, "free requests = %d\n", free_count); in sba_write_stats_in_seqfile()
|
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.h | 680 u16 free_count; /* Number of entries available */ member
|
D | rvu_npc.c | 1628 rsp->free_count = mcam->bmap_fcnt; in npc_mcam_alloc_entries() 1647 rsp->free_count = 0; in rvu_mbox_handler_npc_mcam_alloc_entry()
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | i915_drv.h | 670 atomic_t free_count; member 2259 while (atomic_read(&i915->mm.free_count)) { in i915_gem_drain_freed_objects()
|
D | i915_gem.c | 1683 GEM_BUG_ON(atomic_read(&dev_priv->mm.free_count)); in i915_gem_cleanup_early()
|
/Linux-v5.4/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2200.h | 712 u32 free_count; /* Number of pre-allocated buffers in rx_free */ member
|
D | ipw2200.c | 3455 rxq->free_count = 0; in ipw_rx_queue_reset() 5147 while ((ipw_rx_queue_space(rxq) > 0) && (rxq->free_count)) { in ipw_rx_queue_restock() 5156 rxq->free_count--; in ipw_rx_queue_restock() 5162 if (rxq->free_count <= RX_LOW_WATERMARK) in ipw_rx_queue_restock() 5204 rxq->free_count++; in ipw_rx_queue_replenish() 5264 rxq->free_count = 0; in ipw_rx_queue_alloc()
|
/Linux-v5.4/fs/ext4/ |
D | mballoc.c | 5159 ext4_grpblk_t next, count = 0, free_count = 0; in ext4_trim_all_free() local 5195 free_count += next - start; in ext4_trim_all_free() 5209 if ((e4b.bd_info->bb_free - free_count) < minblocks) in ext4_trim_all_free()
|