Searched refs:block_idx (Results 1 – 6 of 6) sorted by relevance
105 u64 block_idx; in mlx5_dm_sw_icm_alloc() local147 block_idx = bitmap_find_next_zero_area(block_map, max_blocks, 0, in mlx5_dm_sw_icm_alloc()150 if (block_idx < max_blocks) in mlx5_dm_sw_icm_alloc()152 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()156 if (block_idx >= max_blocks) in mlx5_dm_sw_icm_alloc()160 icm_start_addr += block_idx << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_alloc()169 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
46 + (wq)->block_idx * WQ_BLOCK_SIZE)50 + (wq)->block_idx * WQ_BLOCK_SIZE)54 + (wq)->block_idx * WQ_BLOCK_SIZE)58 + (wq)->block_idx * CMDQ_BLOCK_SIZE)62 + (wq)->block_idx * CMDQ_BLOCK_SIZE)66 + (wq)->block_idx * CMDQ_BLOCK_SIZE)234 int *block_idx) in wqs_next_block() argument252 *block_idx = wqs->free_blocks[pos].block_idx; in wqs_next_block()255 wqs->free_blocks[pos].block_idx = -1; in wqs_next_block()262 int block_idx) in wqs_return_block() argument[all …]
19 int block_idx; member26 int block_idx; member
106 int i, block_idx = 0; in alloc_dbr() local122 return block_idx * DBR_BLOCK_SIZE; in alloc_dbr()124 block_idx += mask_size; in alloc_dbr()135 int block_idx = offs / DBR_BLOCK_SIZE; in free_dbr() local139 mask <<= block_idx % 32; in free_dbr()140 g.dbr_map[block_idx / 32] &= ~mask; in free_dbr()
256 bna_bfi_rx_vlan_filter_set(struct bna_rxf *rxf, u8 block_idx) in bna_bfi_rx_vlan_filter_set() argument266 req->block_idx = block_idx; in bna_bfi_rx_vlan_filter_set()268 j = (block_idx * (BFI_ENET_VLAN_BLOCK_SIZE / 32)) + i; in bna_bfi_rx_vlan_filter_set()450 int block_idx = 0; in bna_rxf_vlan_cfg_apply() local455 block_idx++; in bna_rxf_vlan_cfg_apply()458 rxf->vlan_pending_bitmask &= ~BIT(block_idx); in bna_rxf_vlan_cfg_apply()459 bna_bfi_rx_vlan_filter_set(rxf, block_idx); in bna_rxf_vlan_cfg_apply()
616 u8 block_idx; member