/linux-6.6.21/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() 127 if (res_pool->free_count <= 0 || in fsl_mc_resource_pool_remove_device() 128 res_pool->free_count > res_pool->max_count) { in fsl_mc_resource_pool_remove_device() 146 res_pool->free_count--; in fsl_mc_resource_pool_remove_device() 217 if (res_pool->free_count <= 0 || in fsl_mc_resource_allocate() 218 res_pool->free_count > res_pool->max_count) in fsl_mc_resource_allocate() 223 res_pool->free_count--; in fsl_mc_resource_allocate() 242 if (res_pool->free_count < 0 || in fsl_mc_resource_free() [all …]
|
D | fsl-mc-private.h | 572 int free_count; member
|
/linux-6.6.21/drivers/mtd/ubi/ |
D | fastmap-wl.c | 46 ubi->free_count++; in return_unused_peb() 79 if (!ubi->free.rb_node || (ubi->free_count - ubi->beb_rsvd_pebs < 1)) in ubi_wl_get_fm_peb() 95 ubi->free_count--; in ubi_wl_get_fm_peb() 124 return ubi->free_count - beb_rsvd_pebs > fm_used; in has_enough_free_count() 148 ubi->free_count++; in ubi_refill_pools() 181 ubi->free_count--; in ubi_refill_pools()
|
D | wl.c | 399 ubi->free_count--; in wl_get_wle() 706 ubi->free_count++; 740 ubi->free_count++; 942 ubi->free_count++; 1111 ubi->free_count++; 1585 ubi->free_count--; 1757 ubi->free_count++; 1806 ubi->free_count = 0; 1831 ubi->free_count++; 2076 ubi->free_count--; [all …]
|
D | ubi.h | 609 int free_count; member
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 64 unsigned int free_count; member 158 nfp->free_count = MLX5_NUM_4K_IN_PAGE; in insert_page() 243 fp->free_count--; in alloc_4k() 244 if (!fp->free_count) in alloc_4k() 283 fwp->free_count++; in free_4k() 285 if (fwp->free_count == MLX5_NUM_4K_IN_PAGE) in free_4k() 286 free_fwp(dev, fwp, fwp->free_count != 1); in free_4k() 287 else if (fwp->free_count == 1) in free_4k() 452 npages += (MLX5_NUM_4K_IN_PAGE - fwp->free_count); in release_all_pages() 453 free_fwp(dev, fwp, fwp->free_count); in release_all_pages()
|
/linux-6.6.21/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-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | rx.c | 262 while (rxq->free_count) { in iwl_pcie_rxmq_restock() 273 rxq->free_count--; in iwl_pcie_rxmq_restock() 308 while ((iwl_rxq_space(rxq) > 0) && (rxq->free_count)) { in iwl_pcie_rxsq_restock() 324 rxq->free_count--; in iwl_pcie_rxsq_restock() 482 rxq->free_count++; in iwl_pcie_rxq_alloc_rbs() 645 rxq->free_count += RX_CLAIM_REQ_ALLOC; in iwl_pcie_rx_allocator_get() 997 rxq->free_count = 0; in iwl_pcie_rx_init_rxb_lists() 1436 rxq->free_count++; in iwl_pcie_rx_handle_rb() 1562 rxq->free_count++; in iwl_pcie_rx_handle()
|
D | internal.h | 153 u32 free_count; member
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.c | 297 GEM_BUG_ON(!atomic_read(&i915->mm.free_count)); in __i915_gem_free_object_rcu() 298 atomic_dec(&i915->mm.free_count); in __i915_gem_free_object_rcu() 450 atomic_inc(&i915->mm.free_count); in i915_gem_free_object()
|
/linux-6.6.21/drivers/net/ethernet/smsc/ |
D | epic100.c | 950 int entry, free_count; in epic_start_xmit() local 962 free_count = ep->cur_tx - ep->dirty_tx; in epic_start_xmit() 969 if (free_count < TX_QUEUE_LEN/2) {/* Typical path */ in epic_start_xmit() 971 } else if (free_count == TX_QUEUE_LEN/2) { in epic_start_xmit() 973 } else if (free_count < TX_QUEUE_LEN - 1) { in epic_start_xmit()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-mac.c | 935 while (il_rx_queue_space(rxq) > 0 && rxq->free_count) { in il3945_rx_queue_restock() 946 rxq->free_count--; in il3945_rx_queue_restock() 951 if (rxq->free_count <= RX_LOW_WATERMARK) in il3945_rx_queue_restock() 992 if (rxq->free_count > RX_LOW_WATERMARK) in il3945_rx_allocate() 1003 if (rxq->free_count <= RX_LOW_WATERMARK && in il3945_rx_allocate() 1007 priority, rxq->free_count); in il3945_rx_allocate() 1043 rxq->free_count++; in il3945_rx_allocate() 1077 rxq->free_count = 0; in il3945_rx_queue_reset() 1267 rxq->free_count++; in il3945_rx_handle()
|
D | 4965-mac.c | 114 rxq->free_count = 0; in il4965_rx_queue_reset() 259 while (il_rx_queue_space(rxq) > 0 && rxq->free_count) { in il4965_rx_queue_restock() 274 rxq->free_count--; in il4965_rx_queue_restock() 279 if (rxq->free_count <= RX_LOW_WATERMARK) in il4965_rx_queue_restock() 319 if (rxq->free_count > RX_LOW_WATERMARK) in il4965_rx_allocate() 332 if (rxq->free_count <= RX_LOW_WATERMARK && in il4965_rx_allocate() 338 rxq->free_count); in il4965_rx_allocate() 374 rxq->free_count++; in il4965_rx_allocate() 4303 rxq->free_count++; in il4965_rx_handle()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_gem.c | 1116 while (atomic_read(&i915->mm.free_count)) { in i915_gem_drain_freed_objects() 1317 GEM_BUG_ON(atomic_read(&dev_priv->mm.free_count)); in i915_gem_cleanup_early()
|
D | i915_debugfs.c | 292 atomic_read(&i915->mm.free_count), in i915_gem_object_info()
|
D | i915_drv.h | 155 atomic_t free_count; member
|
/linux-6.6.21/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1500 atomic_sub(n_desc, &ring->free_count); in mtk_tx_map() 1600 if (unlikely(atomic_read(&ring->free_count) <= tx_num)) { in mtk_start_xmit() 1626 if (unlikely(atomic_read(&ring->free_count) <= ring->thresh)) in mtk_start_xmit() 1810 if (unlikely(atomic_read(&ring->free_count) <= 1 + nr_frags)) in mtk_xdp_submit_frame() 1867 atomic_sub(n_desc, &ring->free_count); in mtk_xdp_submit_frame() 2294 atomic_inc(&ring->free_count); in mtk_poll_tx_qdma() 2333 atomic_inc(&ring->free_count); in mtk_poll_tx_pdma() 2363 (atomic_read(&ring->free_count) > ring->thresh)) in mtk_poll_tx() 2508 atomic_set(&ring->free_count, ring_size - 2); in mtk_tx_alloc()
|
D | mtk_eth_soc.h | 906 atomic_t free_count; member
|
/linux-6.6.21/drivers/dma/ |
D | bcm-sba-raid.c | 453 u32 free_count = 0, alloced_count = 0; in sba_write_stats_in_seqfile() local 460 free_count++; in sba_write_stats_in_seqfile() 477 seq_printf(file, "free requests = %d\n", free_count); in sba_write_stats_in_seqfile()
|
/linux-6.6.21/drivers/scsi/elx/efct/ |
D | efct_hw.c | 2276 wq->free_count--; in _efct_hw_wq_write() 2292 wq->free_count += update_free_count; in hw_wq_submit_pending() 2294 while ((wq->free_count > 0) && (!list_empty(&wq->pending_list))) { in hw_wq_submit_pending() 2518 if (wq->free_count > 0) { in efct_hw_wq_write() 2533 while (wq->free_count > 0) { in efct_hw_wq_write()
|
D | efct_hw.h | 526 u32 free_count; member
|
D | efct_hw_queues.c | 291 wq->free_count = wq->entry_count - 1; in efct_hw_new_wq()
|
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2200.h | 712 u32 free_count; /* Number of pre-allocated buffers in rx_free */ member
|
/linux-6.6.21/fs/ext4/ |
D | mballoc.c | 6939 ext4_grpblk_t next, count, free_count, last, origin_start; in ext4_try_to_trim_range() local 6950 free_count = 0; in ext4_try_to_trim_range() 6968 free_count += next - start; in ext4_try_to_trim_range() 6980 if ((e4b->bd_info->bb_free - free_count) < minblocks) in ext4_try_to_trim_range()
|