Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_flex_keys.c101 static void mlxsw_sp1_afk_encode_block(char *output, int block_index, in mlxsw_sp1_afk_encode_block() argument
104 unsigned int offset = block_index * MLXSW_SP1_AFK_KEY_BLOCK_SIZE; in mlxsw_sp1_afk_encode_block()
110 static void mlxsw_sp1_afk_clear_block(char *output, int block_index) in mlxsw_sp1_afk_clear_block() argument
112 unsigned int offset = block_index * MLXSW_SP1_AFK_KEY_BLOCK_SIZE; in mlxsw_sp1_afk_clear_block()
281 static void __mlxsw_sp2_afk_block_value_set(char *output, int block_index, in __mlxsw_sp2_afk_block_value_set() argument
286 if (WARN_ON(block_index < 0 || in __mlxsw_sp2_afk_block_value_set()
287 block_index >= ARRAY_SIZE(mlxsw_sp2_afk_blocks_layout))) in __mlxsw_sp2_afk_block_value_set()
290 block_layout = &mlxsw_sp2_afk_blocks_layout[block_index]; in __mlxsw_sp2_afk_block_value_set()
295 static void mlxsw_sp2_afk_encode_block(char *output, int block_index, in mlxsw_sp2_afk_encode_block() argument
300 __mlxsw_sp2_afk_block_value_set(output, block_index, block_value); in mlxsw_sp2_afk_encode_block()
[all …]
Dcore_acl_flex_keys.c166 int block_index) in mlxsw_afk_picker_subtract_hits() argument
172 memcpy(&hits_element, &picker->hits[block_index].element, in mlxsw_afk_picker_subtract_hits()
201 int block_index, in mlxsw_afk_picker_key_info_add() argument
209 for_each_set_bit(element, picker->hits[block_index].element, in mlxsw_afk_picker_key_info_add()
216 &mlxsw_afk->blocks[block_index]; in mlxsw_afk_picker_key_info_add()
252 int block_index; in mlxsw_afk_picker() local
254 block_index = mlxsw_afk_picker_most_hits_get(mlxsw_afk, picker); in mlxsw_afk_picker()
255 if (block_index < 0) { in mlxsw_afk_picker()
256 err = block_index; in mlxsw_afk_picker()
260 block_index, key_info); in mlxsw_afk_picker()
[all …]
Dcore_acl_flex_keys.h177 void (*encode_block)(char *output, int block_index, char *block);
178 void (*clear_block)(char *output, int block_index);
196 int block_index);
/kernel/linux/linux-5.10/net/sched/
Dsch_ingress.c62 static void ingress_ingress_block_set(struct Qdisc *sch, u32 block_index) in ingress_ingress_block_set() argument
66 q->block_info.block_index = block_index; in ingress_ingress_block_set()
73 return q->block_info.block_index; in ingress_ingress_block_get()
187 static void clsact_ingress_block_set(struct Qdisc *sch, u32 block_index) in clsact_ingress_block_set() argument
191 q->ingress_block_info.block_index = block_index; in clsact_ingress_block_set()
194 static void clsact_egress_block_set(struct Qdisc *sch, u32 block_index) in clsact_egress_block_set() argument
198 q->egress_block_info.block_index = block_index; in clsact_egress_block_set()
205 return q->ingress_block_info.block_index; in clsact_ingress_block_get()
212 return q->egress_block_info.block_index; in clsact_egress_block_get()
Dcls_api.c861 u32 block_index, in tcf_block_create() argument
881 block->index = block_index; in tcf_block_create()
889 static struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index) in tcf_block_lookup() argument
893 return idr_find(&tn->idr, block_index); in tcf_block_lookup()
896 static struct tcf_block *tcf_block_refcnt_get(struct net *net, u32 block_index) in tcf_block_refcnt_get() argument
901 block = tcf_block_lookup(net, block_index); in tcf_block_refcnt_get()
1123 u32 block_index, in __tcf_block_find() argument
1129 block = tcf_block_refcnt_get(net, block_index); in __tcf_block_find()
1197 int ifindex, u32 block_index, in tcf_block_find() argument
1213 block = __tcf_block_find(net, *q, *cl, ifindex, block_index, extack); in tcf_block_find()
[all …]
Dsch_api.c894 u32 block_index; in tc_fill_qdisc() local
912 block_index = q->ops->ingress_block_get(q); in tc_fill_qdisc()
913 if (block_index && in tc_fill_qdisc()
914 nla_put_u32(skb, TCA_INGRESS_BLOCK, block_index)) in tc_fill_qdisc()
918 block_index = q->ops->egress_block_get(q); in tc_fill_qdisc()
919 if (block_index && in tc_fill_qdisc()
920 nla_put_u32(skb, TCA_EGRESS_BLOCK, block_index)) in tc_fill_qdisc()
1133 u32 block_index; in qdisc_block_indexes_set() local
1136 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1138 if (!block_index) { in qdisc_block_indexes_set()
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dincrementalfs.h68 __u32 block_index; member
74 __u32 block_index; member
80 __u32 block_index; member
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dsgl.c152 u32 block_index, offset; in acc_get_sgl() local
158 block_index = index / pool->sgl_num_per_block; in acc_get_sgl()
161 *hw_sgl_dma = block[block_index].sgl_dma + pool->sgl_size * offset; in acc_get_sgl()
162 return (void *)block[block_index].sgl + pool->sgl_size * offset; in acc_get_sgl()
/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-array.c353 unsigned block_index, uint32_t nr, in insert_new_ablock() argument
365 r = insert_ablock(info, block_index, block, root); in insert_new_ablock()
727 unsigned block_index, end_block, size_of_block, max_entries; in dm_array_new() local
737 for (block_index = 0; block_index != end_block; block_index++) { in dm_array_new()
743 block_index * max_entries, in dm_array_new()
750 r = insert_ablock(info, block_index, block, root); in dm_array_new()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/
Ds2io.h634 u32 block_index; member
640 u32 block_index; member
Ds2io.c721 ring->rx_curr_get_info.block_index = 0; in init_shared_mem()
724 ring->rx_curr_put_info.block_index = 0; in init_shared_mem()
2469 block_no1 = ring->rx_curr_get_info.block_index; in fill_rx_buffers()
2471 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers()
2485 ring->rx_curr_put_info.block_index++; in fill_rx_buffers()
2486 if (ring->rx_curr_put_info.block_index == in fill_rx_buffers()
2488 ring->rx_curr_put_info.block_index = 0; in fill_rx_buffers()
2489 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers()
2726 ring->rx_curr_put_info.block_index = 0; in free_rx_buffers()
2727 ring->rx_curr_get_info.block_index = 0; in free_rx_buffers()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_int.c79 enum block_id block_index; member
928 if (p_aeu->block_index != MAX_BLOCK_ID) in qed_int_deassertion_aeu_bit()
929 qed_int_attn_print(p_hwfn, p_aeu->block_index, in qed_int_deassertion_aeu_bit()
962 u32 block_id = p_aeu->block_index, mask, val; in qed_int_deassertion_parity()
/kernel/linux/linux-5.10/include/net/
Dsch_generic.h298 u32 block_index);
300 u32 block_index);
Dpkt_cls.h32 u32 block_index; member
/kernel/linux/linux-5.10/drivers/usb/atm/
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()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch24896 + unsigned int block_index[PG_ROUND] = {0};
24951 + block_index[bit_index]++;
24959 + maximum = block_index[0];
24961 + maximum = max(maximum, block_index[i]);