Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
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()
288 static void __mlxsw_sp2_afk_block_value_set(char *output, int block_index, in __mlxsw_sp2_afk_block_value_set() argument
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()
[all …]
/linux/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()
1043 struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index) in tcf_block_lookup() argument
1047 return idr_find(&tn->idr, block_index); in tcf_block_lookup()
1051 static struct tcf_block *tcf_block_refcnt_get(struct net *net, u32 block_index) in tcf_block_refcnt_get() argument
1056 block = tcf_block_lookup(net, block_index); in tcf_block_refcnt_get()
1277 u32 block_index, in __tcf_block_find() argument
1283 block = tcf_block_refcnt_get(net, block_index); in __tcf_block_find()
1351 int ifindex, u32 block_index, in tcf_block_find() argument
1367 block = __tcf_block_find(net, *q, *cl, ifindex, block_index, extac in tcf_block_find()
3969 u32 block_index; tcf_qevent_init() local
3998 u32 block_index; tcf_qevent_validate_change() local
[all...]
H A Dsch_api.c909 u32 block_index; in tc_fill_qdisc() local
927 block_index = q->ops->ingress_block_get(q); in tc_fill_qdisc()
928 if (block_index && in tc_fill_qdisc()
929 nla_put_u32(skb, TCA_INGRESS_BLOCK, block_index)) in tc_fill_qdisc()
933 block_index = q->ops->egress_block_get(q); in tc_fill_qdisc()
934 if (block_index && in tc_fill_qdisc()
935 nla_put_u32(skb, TCA_EGRESS_BLOCK, block_index)) in tc_fill_qdisc()
1207 u32 block_index; in qdisc_block_indexes_set() local
1210 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1212 if (!block_index) { in qdisc_block_indexes_set()
[all …]
/linux/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/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/include/net/
H A Dsch_generic.h333 u32 block_index);
335 u32 block_index);
511 struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index); in qdisc_cb_private_validate()
H A Dpkt_cls.h34 u32 block_index; member
/linux/drivers/net/ethernet/neterion/
H A Ds2io.h634 u32 block_index; member
640 u32 block_index; member
/linux/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/drivers/md/dm-vdo/
H A Dslab-depot.c1127 size_t block_index = block - block->slab->reference_blocks; in get_reference_counters_for_block() local
1129 return &block->slab->counters[block_index * COUNTS_PER_BLOCK]; in get_reference_counters_for_block()
2293 size_t block_index = block - block->slab->reference_blocks; in unpack_reference_block() local
2296 i, block_index, block->slab->slab_number); in unpack_reference_block()