| /linux/drivers/bus/fsl-mc/ |
| H A 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 …]
|
| /linux/drivers/mtd/ubi/ |
| H A D | fastmap-wl.c | 46 ubi->free_count++; in return_unused_peb() 95 ubi->free_count--; in ubi_wl_get_fm_peb() 125 free = ubi->free_count; in wait_free_pebs_for_pool() 157 return ubi->free_count - fm_used; in left_free_count() 209 ubi->free_count++; in ubi_refill_pools_and_lock() 245 ubi->free_count--; in ubi_refill_pools_and_lock()
|
| H A D | wl.c | 412 ubi->free_count--; in wl_get_wle() 718 ubi->free_count++; 752 ubi->free_count++; 961 ubi->free_count++; 1130 ubi->free_count++; 1604 ubi->free_count--; 1776 ubi->free_count++; 1825 ubi->free_count = 0; 1850 ubi->free_count++; 2095 ubi->free_count--; [all …]
|
| H A D | ubi.h | 609 int free_count; member
|
| /linux/tools/perf/util/ |
| H A D | capstone.c | 382 int i, count, free_count; in symbol__disassemble_capstone() 447 free_count = count = perf_cs_disasm(handle, buf, buf_len, start, buf_len, &insn); in symbol__disassemble_capstone_powerpc() 487 if (free_count > 0) in symbol__disassemble_capstone_powerpc() 488 perf_cs_free(insn, free_count); in symbol__disassemble_capstone_powerpc() 334 int i, count, free_count; symbol__disassemble_capstone() local
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | rx.c | 263 while (rxq->free_count) { in iwl_pcie_rxmq_restock() 274 rxq->free_count--; in iwl_pcie_rxmq_restock() 309 while ((iwl_rxq_space(rxq) > 0) && (rxq->free_count)) { in iwl_pcie_rxsq_restock() 325 rxq->free_count--; in iwl_pcie_rxsq_restock() 483 rxq->free_count++; in iwl_pcie_rxq_alloc_rbs() 646 rxq->free_count += RX_CLAIM_REQ_ALLOC; in iwl_pcie_rx_allocator_get() 994 rxq->free_count = 0; in iwl_pcie_rx_init_rxb_lists() 1442 rxq->free_count++; in iwl_pcie_rx_handle_rb() 1568 rxq->free_count++; in iwl_pcie_rx_handle()
|
| /linux/io_uring/ |
| H A D | zcrx.h | 40 u32 free_count; member
|
| H A D | zcrx.c | 575 area->free_count = nr_iovs; in __zcrx_create_area() 692 if (WARN_ON_ONCE(area->free_count >= area->nia.num_niovs)) in io_zcrx_return_niov_freelist() 694 area->freelist[area->free_count++] = net_iov_idx(niov); in io_zcrx_return_niov_freelist() 703 if (unlikely(!area->free_count)) in zcrx_get_free_niov() 706 niov_idx = area->freelist[--area->free_count]; in zcrx_get_free_niov()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 1697 atomic_sub(n_desc, &ring->free_count); in mtk_tx_map() 1804 if (unlikely(atomic_read(&ring->free_count) <= tx_num)) { in mtk_start_xmit() 1830 if (unlikely(atomic_read(&ring->free_count) <= ring->thresh)) in mtk_start_xmit() 2015 if (unlikely(atomic_read(&ring->free_count) <= 1 + nr_frags)) in mtk_xdp_submit_frame() 2072 atomic_sub(n_desc, &ring->free_count); in mtk_xdp_submit_frame() 2508 atomic_inc(&ring->free_count); in mtk_poll_tx_qdma() 2547 atomic_inc(&ring->free_count); in mtk_poll_tx_pdma() 2577 (atomic_read(&ring->free_count) > ring->thresh)) in mtk_poll_tx() 2714 atomic_set(&ring->free_count, ring_size - 2); in mtk_tx_alloc()
|
| H A D | mtk_eth_soc.h | 940 atomic_t free_count; member
|
| /linux/drivers/scsi/elx/efct/ |
| H A D | efct_hw.c | 2278 wq->free_count--; in _efct_hw_wq_write() 2294 wq->free_count += update_free_count; in hw_wq_submit_pending() 2296 while ((wq->free_count > 0) && (!list_empty(&wq->pending_list))) { in hw_wq_submit_pending() 2520 if (wq->free_count > 0) { in efct_hw_wq_write() 2535 while (wq->free_count > 0) { in efct_hw_wq_write()
|
| H A D | efct_hw_queues.c | 291 wq->free_count = wq->entry_count - 1; in efct_hw_new_wq()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mac80211.c | 2603 int free_count = 0; in iwl_mld_count_free_link_ids() local 2607 free_count++; in iwl_mld_count_free_link_ids() 2610 return free_count; in iwl_mld_count_free_link_ids()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc.c | 3198 rsp->free_count = -1; in npc_mcam_alloc_entries() 3384 rsp->free_count = mcam->bmap_fcnt; in npc_mcam_alloc_entries() 3458 rsp->free_count = 0; in rvu_mbox_handler_npc_mcam_alloc_entry()
|
| H A D | mbox.h | 1585 u16 free_count; /* Number of entries available */ member
|
| /linux/fs/ext4/ |
| H A D | mballoc.c | 6925 ext4_grpblk_t next, count, free_count, last, origin_start; in ext4_try_to_trim_range() local 6939 free_count = 0; in ext4_try_to_trim_range() 6957 free_count += next - start; in ext4_try_to_trim_range() 6969 if ((e4b->bd_info->bb_free - free_count) < minblocks) in ext4_try_to_trim_range()
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | debug.c | 873 rxq->free_count); in il_dbgfs_rx_queue_read()
|
| H A D | common.c | 2625 rxq->free_count = 0; in il_rx_queue_alloc()
|