Home
last modified time | relevance | path

Searched refs:block_idx (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/lib/
Dts_fsm.c138 unsigned int match_start, block_idx = 0, tok_idx; in fsm_find() local
143 ({ consumed += block_idx; \ in fsm_find()
144 block_idx = 0; \ in fsm_find()
151 block_idx++; \ in fsm_find()
155 #define end_of_data() unlikely(block_idx >= block_len && !GET_NEXT_BLOCK()) in fsm_find()
163 match_start = consumed + block_idx; in fsm_find()
178 if (!match_token(cur, data[block_idx])) in fsm_find()
184 !match_token(cur, data[block_idx])) in fsm_find()
192 if (!match_token(cur, data[block_idx])) in fsm_find()
195 block_idx++; in fsm_find()
[all …]
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c46 + (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)
232 int *block_idx) in wqs_next_block() argument
250 *block_idx = wqs->free_blocks[pos].block_idx; in wqs_next_block()
253 wqs->free_blocks[pos].block_idx = -1; in wqs_next_block()
260 int block_idx) in wqs_return_block() argument
[all …]
Dhinic_hw_wq.h19 int block_idx; member
26 int block_idx; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c132 u64 block_idx; in mlx5_dm_sw_icm_alloc() local
181 block_idx = bitmap_find_next_zero_area(block_map, max_blocks, 0, in mlx5_dm_sw_icm_alloc()
184 if (block_idx < max_blocks) in mlx5_dm_sw_icm_alloc()
186 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
190 if (block_idx >= max_blocks) in mlx5_dm_sw_icm_alloc()
194 icm_start_addr += block_idx << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_alloc()
203 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
/linux-6.6.21/drivers/staging/most/dim2/
Dhal.c106 int i, block_idx = 0; in alloc_dbr() local
122 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() local
139 mask <<= block_idx % 32; in free_dbr()
140 g.dbr_map[block_idx / 32] &= ~mask; in free_dbr()
/linux-6.6.21/tools/perf/util/
Dsort.h299 int block_idx; member
/linux-6.6.21/tools/perf/
Dbuiltin-diff.c1362 block_he = hists__get_entry(&bh_pair->block_hists, bh->block_idx); in cycles_printf()
1412 if (bh->block_idx) in __hpp__color_compare()
1530 if (bh->block_idx) in hpp__color_cycles_hist()
1538 block_he = hists__get_entry(&bh_pair->block_hists, bh->block_idx); in hpp__color_cycles_hist()
/linux-6.6.21/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c256 bna_bfi_rx_vlan_filter_set(struct bna_rxf *rxf, u8 block_idx) in bna_bfi_rx_vlan_filter_set() argument
266 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() local
455 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()
Dbfi_enet.h616 u8 block_idx; member
/linux-6.6.21/tools/perf/ui/stdio/
Dhist.c552 bh->block_idx = i; in hist_entry__block_fprintf()
/linux-6.6.21/fs/xfs/
Dxfs_trace.h4181 uint64_t block_idx, uint64_t nr_blocks,
4183 TP_ARGS(cur, level, block_idx, nr_blocks, ptr, nr_records),
4188 __field(unsigned long long, block_idx)
4198 __entry->block_idx = block_idx;
4215 __entry->block_idx,
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c10262 static void gaudi2_init_block_instances(struct hl_device *hdev, u32 block_idx, in gaudi2_init_block_instances() argument
10265 u64 block_base = cfg_ctx->base + block_idx * cfg_ctx->block_off; in gaudi2_init_block_instances()
10270 seq = block_idx * cfg_ctx->instances + i; in gaudi2_init_block_instances()