Home
last modified time | relevance | path

Searched refs:block_index (Results 1 – 16 of 16) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_keys.c170 int block_index) in mlxsw_afk_picker_subtract_hits() argument
205 int block_index, in mlxsw_afk_picker_key_info_add() argument
292 int block_index; in mlxsw_afk_picker() local
295 if (block_index < 0) { in mlxsw_afk_picker()
296 err = block_index; in mlxsw_afk_picker()
405 int block_index; in mlxsw_afk_key_info_elinst_get() local
416 *p_block_index = block_index; in mlxsw_afk_key_info_elinst_get()
422 int block_index) in mlxsw_afk_key_info_block_encoding_get() argument
527 int block_index, i; in mlxsw_afk_encode() local
536 &block_index); in mlxsw_afk_encode()
[all …]
H A Dspectrum_acl_flex_keys.c103 static void mlxsw_sp1_afk_encode_block(char *output, int block_index, in mlxsw_sp1_afk_encode_block() argument
106 unsigned int offset = block_index * MLXSW_SP1_AFK_KEY_BLOCK_SIZE; in mlxsw_sp1_afk_encode_block()
112 static void mlxsw_sp1_afk_clear_block(char *output, int block_index) in mlxsw_sp1_afk_clear_block() argument
114 unsigned int offset = block_index * MLXSW_SP1_AFK_KEY_BLOCK_SIZE; in mlxsw_sp1_afk_clear_block()
293 if (WARN_ON(block_index < 0 || in __mlxsw_sp2_afk_block_value_set()
294 block_index >= ARRAY_SIZE(mlxsw_sp2_afk_blocks_layout))) in __mlxsw_sp2_afk_block_value_set()
297 block_layout = &mlxsw_sp2_afk_blocks_layout[block_index]; in __mlxsw_sp2_afk_block_value_set()
302 static void mlxsw_sp2_afk_encode_block(char *output, int block_index, in mlxsw_sp2_afk_encode_block() argument
307 __mlxsw_sp2_afk_block_value_set(output, block_index, block_value); in mlxsw_sp2_afk_encode_block()
310 static void mlxsw_sp2_afk_clear_block(char *output, int block_index) in mlxsw_sp2_afk_clear_block() argument
[all …]
H A Dcore_acl_flex_keys.h190 void (*encode_block)(char *output, int block_index, char *block);
191 void (*clear_block)(char *output, int block_index);
209 int block_index);
/linux-6.15/net/sched/
H A Dsch_ingress.c63 static void ingress_ingress_block_set(struct Qdisc *sch, u32 block_index) in ingress_ingress_block_set() argument
67 q->block_info.block_index = block_index; in ingress_ingress_block_set()
74 return q->block_info.block_index; in ingress_ingress_block_get()
214 static void clsact_ingress_block_set(struct Qdisc *sch, u32 block_index) in clsact_ingress_block_set() argument
218 q->ingress_block_info.block_index = block_index; in clsact_ingress_block_set()
221 static void clsact_egress_block_set(struct Qdisc *sch, u32 block_index) in clsact_egress_block_set() argument
225 q->egress_block_info.block_index = block_index; in clsact_egress_block_set()
232 return q->ingress_block_info.block_index; in clsact_ingress_block_get()
239 return q->egress_block_info.block_index; in clsact_egress_block_get()
H A Dcls_api.c1014 u32 block_index, in tcf_block_create() argument
1034 block->index = block_index; in tcf_block_create()
1277 u32 block_index, in __tcf_block_find() argument
1473 if (ei->block_index) in tcf_block_get_ext()
3969 u32 block_index; in tcf_qevent_init() local
3982 qe->info.block_index = block_index; in tcf_qevent_init()
3990 if (qe->info.block_index) in tcf_qevent_destroy()
3998 u32 block_index; in tcf_qevent_validate_change() local
4009 if (block_index != qe->info.block_index) { in tcf_qevent_validate_change()
4024 if (!qe->info.block_index) in tcf_qevent_handle()
[all …]
H A Dsch_api.c922 u32 block_index; in tc_fill_qdisc() local
940 block_index = q->ops->ingress_block_get(q); in tc_fill_qdisc()
941 if (block_index && in tc_fill_qdisc()
946 block_index = q->ops->egress_block_get(q); in tc_fill_qdisc()
947 if (block_index && in tc_fill_qdisc()
1220 u32 block_index; in qdisc_block_indexes_set() local
1225 if (!block_index) { in qdisc_block_indexes_set()
1233 sch->ops->ingress_block_set(sch, block_index); in qdisc_block_indexes_set()
1236 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1238 if (!block_index) { in qdisc_block_indexes_set()
[all …]
/linux-6.15/drivers/crypto/hisilicon/
H A Dsgl.c162 u32 block_index, offset; in acc_get_sgl() local
165 block_index = index / pool->sgl_num_per_block; in acc_get_sgl()
168 *hw_sgl_dma = block[block_index].sgl_dma + pool->sgl_size * offset; in acc_get_sgl()
169 return (void *)block[block_index].sgl + pool->sgl_size * offset; in acc_get_sgl()
/linux-6.15/drivers/md/persistent-data/
H A Ddm-array.c351 unsigned int block_index, uint32_t nr, in insert_new_ablock() argument
363 r = insert_ablock(info, block_index, block, root); in insert_new_ablock()
737 unsigned int block_index, end_block, size_of_block, max_entries; in dm_array_new() local
747 for (block_index = 0; block_index != end_block; block_index++) { in dm_array_new()
753 block_index * max_entries, in dm_array_new()
760 r = insert_ablock(info, block_index, block, root); in dm_array_new()
/linux-6.15/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c192 u32 block_index, filter_sel; in bcmasp_netfilt_get_reg_offset() local
195 block_index = ASP_RX_FILTER_NET_L2; in bcmasp_netfilt_get_reg_offset()
198 block_index = ASP_RX_FILTER_NET_L2; in bcmasp_netfilt_get_reg_offset()
201 block_index = ASP_RX_FILTER_NET_L3_0; in bcmasp_netfilt_get_reg_offset()
204 block_index = ASP_RX_FILTER_NET_L3_0; in bcmasp_netfilt_get_reg_offset()
207 block_index = ASP_RX_FILTER_NET_L3_1; in bcmasp_netfilt_get_reg_offset()
210 block_index = ASP_RX_FILTER_NET_L3_1; in bcmasp_netfilt_get_reg_offset()
213 block_index = ASP_RX_FILTER_NET_L4; in bcmasp_netfilt_get_reg_offset()
216 block_index = ASP_RX_FILTER_NET_L4; in bcmasp_netfilt_get_reg_offset()
224 return ASP_RX_FILTER_NET_PAT(filter_sel, block_index, in bcmasp_netfilt_get_reg_offset()
[all …]
/linux-6.15/include/net/
H A Dsch_generic.h316 u32 block_index);
318 u32 block_index);
491 struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index);
H A Dpkt_cls.h34 u32 block_index; member
/linux-6.15/drivers/net/ethernet/neterion/
H A Ds2io.h634 u32 block_index; member
640 u32 block_index; member
H A Ds2io.c722 ring->rx_curr_get_info.block_index = 0; in init_shared_mem()
725 ring->rx_curr_put_info.block_index = 0; in init_shared_mem()
2472 block_no1 = ring->rx_curr_get_info.block_index; in fill_rx_buffers()
2474 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers()
2488 ring->rx_curr_put_info.block_index++; in fill_rx_buffers()
2489 if (ring->rx_curr_put_info.block_index == in fill_rx_buffers()
2491 ring->rx_curr_put_info.block_index = 0; in fill_rx_buffers()
2729 ring->rx_curr_put_info.block_index = 0; in free_rx_buffers()
2730 ring->rx_curr_get_info.block_index = 0; in free_rx_buffers()
2905 get_block = get_info.block_index; in rx_intr_handler()
[all …]
/linux-6.15/drivers/net/ethernet/qlogic/qed/
H A Dqed_int.c79 enum block_id block_index; member
941 if (p_aeu->block_index != MAX_BLOCK_ID) in qed_int_deassertion_aeu_bit()
942 qed_int_attn_print(p_hwfn, p_aeu->block_index, in qed_int_deassertion_aeu_bit()
982 u32 block_id = p_aeu->block_index, mask, val; in qed_int_deassertion_parity()
/linux-6.15/drivers/usb/atm/
H A Dueagle-atm.c331 struct block_index { struct
352 struct block_index page_header[E4_NO_SWAPPAGE_HEADERS]; argument
787 struct block_index *blockidx; in check_dsp_e4()
978 struct block_index *blockidx; in __uea_load_page_e4()
/linux-6.15/drivers/md/dm-vdo/
H A Dslab-depot.c1126 size_t block_index = block - block->slab->reference_blocks; in get_reference_counters_for_block() local
1128 return &block->slab->counters[block_index * COUNTS_PER_BLOCK]; in get_reference_counters_for_block()
2284 size_t block_index = block - block->slab->reference_blocks; in unpack_reference_block() local
2287 i, block_index, block->slab->slab_number); in unpack_reference_block()