/linux-6.1.9/net/core/ |
D | flow_offload.c | 248 void *cb_ident, void *cb_priv, in flow_block_cb_alloc() argument 249 void (*release)(void *cb_priv)) in flow_block_cb_alloc() argument 259 block_cb->cb_priv = cb_priv; in flow_block_cb_alloc() 269 block_cb->release(block_cb->cb_priv); in flow_block_cb_free() 292 return block_cb->cb_priv; in flow_block_cb_priv() 326 void *cb_ident, void *cb_priv, in flow_block_cb_setup_simple() argument 342 block_cb = flow_block_cb_alloc(cb, cb_ident, cb_priv, NULL); in flow_block_cb_setup_simple() 371 void *cb_priv; member 376 void *cb_priv) in flow_indr_dev_alloc() argument 385 indr_dev->cb_priv = cb_priv; in flow_indr_dev_alloc() [all …]
|
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_tc.c | 65 void *cb_priv, bool ingress) in lan966x_tc_block_cb() argument 67 struct lan966x_port *port = cb_priv; in lan966x_tc_block_cb() 78 void *type_data, void *cb_priv) in lan966x_tc_block_cb_ingress() argument 80 return lan966x_tc_block_cb(type, type_data, cb_priv, true); in lan966x_tc_block_cb_ingress() 84 void *type_data, void *cb_priv) in lan966x_tc_block_cb_egress() argument 86 return lan966x_tc_block_cb(type, type_data, cb_priv, false); in lan966x_tc_block_cb_egress()
|
/linux-6.1.9/include/net/ |
D | flow_offload.h | 498 void *cb_priv); 508 void *cb_priv; member 517 void *cb_priv; member 518 void (*release)(void *cb_priv); 524 void *cb_ident, void *cb_priv, 525 void (*release)(void *cb_priv)); 527 void *cb_ident, void *cb_priv, 528 void (*release)(void *cb_priv), 568 void *cb_ident, void *cb_priv, bool ingress_only); 622 typedef int flow_indr_block_bind_cb_t(struct net_device *dev, struct Qdisc *sch, void *cb_priv, [all …]
|
D | act_api.h | 261 void *cb_priv, bool add); 277 void *cb_priv, bool add) { in tcf_action_reoffload_cb() argument
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | tc_bindings.c | 35 void *cb_priv) in efx_tc_block_cb() argument 37 struct efx_tc_block_binding *binding = cb_priv; in efx_tc_block_cb() 49 void efx_tc_block_unbind(void *cb_priv) in efx_tc_block_unbind() argument 51 struct efx_tc_block_binding *binding = cb_priv; in efx_tc_block_unbind() 139 void *cb_priv, enum tc_setup_type type, in efx_tc_indr_setup_cb() argument 146 struct efx_nic *efx = cb_priv; in efx_tc_indr_setup_cb()
|
D | tc_bindings.h | 19 void efx_tc_block_unbind(void *cb_priv); 26 void *cb_priv, enum tc_setup_type type,
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/ |
D | offload.c | 1746 void *type_data, void *cb_priv) in nfp_flower_setup_tc_block_cb() argument 1749 struct nfp_repr *repr = cb_priv; in nfp_flower_setup_tc_block_cb() 1832 struct nfp_flower_indr_block_cb_priv *cb_priv; in nfp_flower_indr_block_cb_priv_lookup() local 1835 list_for_each_entry(cb_priv, &priv->indr_block_cb_priv, list) in nfp_flower_indr_block_cb_priv_lookup() 1836 if (cb_priv->netdev == netdev) in nfp_flower_indr_block_cb_priv_lookup() 1837 return cb_priv; in nfp_flower_indr_block_cb_priv_lookup() 1843 void *type_data, void *cb_priv) in nfp_flower_setup_indr_block_cb() argument 1845 struct nfp_flower_indr_block_cb_priv *priv = cb_priv; in nfp_flower_setup_indr_block_cb() 1856 void nfp_flower_setup_indr_tc_release(void *cb_priv) in nfp_flower_setup_indr_tc_release() argument 1858 struct nfp_flower_indr_block_cb_priv *priv = cb_priv; in nfp_flower_setup_indr_tc_release() [all …]
|
D | conntrack.h | 254 void *cb_priv);
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_flow.c | 52 void *type_data, void *cb_priv) in prestera_flow_block_cb() argument 54 struct prestera_flow_block *block = cb_priv; in prestera_flow_block_cb() 66 static void prestera_flow_block_destroy(void *cb_priv) in prestera_flow_block_destroy() argument 68 struct prestera_flow_block *block = cb_priv; in prestera_flow_block_destroy() 101 static void prestera_flow_block_release(void *cb_priv) in prestera_flow_block_release() argument 103 struct prestera_flow_block *block = cb_priv; in prestera_flow_block_release()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 169 void *cb_priv) in mlx5e_rep_setup_tc_cb() argument 172 struct mlx5e_priv *priv = cb_priv; in mlx5e_rep_setup_tc_cb() 188 void *cb_priv) in mlx5e_rep_setup_ft_cb() argument 191 struct mlx5e_priv *priv = cb_priv; in mlx5e_rep_setup_ft_cb() 307 struct mlx5e_rep_indr_block_priv *cb_priv; in mlx5e_rep_indr_block_priv_lookup() local 309 list_for_each_entry(cb_priv, in mlx5e_rep_indr_block_priv_lookup() 312 if (cb_priv->netdev == netdev && in mlx5e_rep_indr_block_priv_lookup() 313 cb_priv->binder_type == binder_type) in mlx5e_rep_indr_block_priv_lookup() 314 return cb_priv; in mlx5e_rep_indr_block_priv_lookup() 413 static void mlx5e_rep_indr_block_unbind(void *cb_priv) in mlx5e_rep_indr_block_unbind() argument [all …]
|
/linux-6.1.9/include/net/netfilter/ |
D | nf_flow_table.h | 220 flow_setup_cb_t *cb, void *cb_priv) in nf_flow_table_offload_add_cb() argument 227 block_cb = flow_block_cb_lookup(block, cb, cb_priv); in nf_flow_table_offload_add_cb() 233 block_cb = flow_block_cb_alloc(cb, cb_priv, cb_priv, NULL); in nf_flow_table_offload_add_cb() 248 flow_setup_cb_t *cb, void *cb_priv) in nf_flow_table_offload_del_cb() argument 254 block_cb = flow_block_cb_lookup(block, cb, cb_priv); in nf_flow_table_offload_del_cb()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flow.c | 175 void *type_data, void *cb_priv) in mlxsw_sp_flow_block_cb() argument 177 struct mlxsw_sp_flow_block *flow_block = cb_priv; in mlxsw_sp_flow_block_cb() 192 static void mlxsw_sp_tc_block_release(void *cb_priv) in mlxsw_sp_tc_block_release() argument 194 struct mlxsw_sp_flow_block *flow_block = cb_priv; in mlxsw_sp_tc_block_release()
|
D | core.c | 630 unsigned long cb_priv; member 759 trans->reg->len, trans->cb_priv); in mlxsw_emad_process_response() 878 unsigned long cb_priv, u64 tid) in mlxsw_emad_reg_access() argument 906 trans->cb_priv = cb_priv; in mlxsw_emad_reg_access() 2696 unsigned long cb_priv) in mlxsw_core_reg_access_emad() argument 2707 bulk_list, cb, cb_priv, tid); in mlxsw_core_reg_access_emad() 2718 mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv) in mlxsw_reg_trans_query() argument 2722 bulk_list, cb, cb_priv); in mlxsw_reg_trans_query() 2729 mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv) in mlxsw_reg_trans_write() argument 2733 bulk_list, cb, cb_priv); in mlxsw_reg_trans_write() [all …]
|
D | core.h | 208 size_t payload_len, unsigned long cb_priv); 213 mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv); 217 mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv);
|
D | spectrum_buffers.c | 290 unsigned long cb_priv) in mlxsw_sp_sb_pm_occ_query_cb() argument 292 struct mlxsw_sp_sb_pm *pm = (struct mlxsw_sp_sb_pm *) cb_priv; in mlxsw_sp_sb_pm_occ_query_cb() 1560 unsigned long cb_priv) in mlxsw_sp_sb_sr_occ_query_cb() argument 1570 memcpy(&cb_ctx, &cb_priv, sizeof(cb_ctx)); in mlxsw_sp_sb_sr_occ_query_cb() 1614 unsigned long cb_priv = 0; in mlxsw_sp_sb_occ_snapshot() local 1664 memcpy(&cb_priv, &cb_ctx, sizeof(cb_ctx)); in mlxsw_sp_sb_occ_snapshot() 1667 cb_priv); in mlxsw_sp_sb_occ_snapshot()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 1865 void *type_data, void *cb_priv) in bnxt_tc_setup_indr_block_cb() argument 1867 struct bnxt_flower_indr_block_cb_priv *priv = cb_priv; in bnxt_tc_setup_indr_block_cb() 1885 struct bnxt_flower_indr_block_cb_priv *cb_priv; in bnxt_tc_indr_block_cb_lookup() local 1887 list_for_each_entry(cb_priv, &bp->tc_indr_block_list, list) in bnxt_tc_indr_block_cb_lookup() 1888 if (cb_priv->tunnel_netdev == netdev) in bnxt_tc_indr_block_cb_lookup() 1889 return cb_priv; in bnxt_tc_indr_block_cb_lookup() 1894 static void bnxt_tc_setup_indr_rel(void *cb_priv) in bnxt_tc_setup_indr_rel() argument 1896 struct bnxt_flower_indr_block_cb_priv *priv = cb_priv; in bnxt_tc_setup_indr_rel() 1906 struct bnxt_flower_indr_block_cb_priv *cb_priv; in bnxt_tc_setup_indr_block() local 1914 cb_priv = kmalloc(sizeof(*cb_priv), GFP_KERNEL); in bnxt_tc_setup_indr_block() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.h | 295 void *cb_priv); 330 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument 355 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/abm/ |
D | cls.c | 228 void *type_data, void *cb_priv) in nfp_abm_setup_tc_block_cb() argument 231 struct nfp_repr *repr = cb_priv; in nfp_abm_setup_tc_block_cb()
|
/linux-6.1.9/net/sched/ |
D | act_api.c | 225 void *cb_priv) in tcf_action_offload_cmd_cb_ex() argument 229 err = cb(NULL, NULL, cb_priv, TC_SETUP_ACT, NULL, fl_act, NULL); in tcf_action_offload_cmd_cb_ex() 242 void *cb_priv) in tcf_action_offload_cmd() argument 245 cb, cb_priv) : in tcf_action_offload_cmd() 252 void *cb_priv) in tcf_action_offload_add_ex() argument 281 err = tcf_action_offload_cmd(fl_action, &in_hw_count, cb, cb_priv); in tcf_action_offload_add_ex() 337 void *cb_priv) in tcf_action_offload_del_ex() argument 350 err = tcf_action_offload_cmd(&fl_act, &in_hw_count, cb, cb_priv); in tcf_action_offload_del_ex() 1818 void *cb_priv, bool add) in tcf_action_reoffload_cb() argument 1854 cb_priv); in tcf_action_reoffload_cb() [all …]
|
D | cls_u32.c | 1148 bool add, flow_setup_cb_t *cb, void *cb_priv, in u32_reoffload_hnode() argument 1160 err = cb(TC_SETUP_CLSU32, &cls_u32, cb_priv); in u32_reoffload_hnode() 1168 bool add, flow_setup_cb_t *cb, void *cb_priv, in u32_reoffload_knode() argument 1197 &cls_u32, cb_priv, &n->flags, in u32_reoffload_knode() 1202 void *cb_priv, struct netlink_ext_ack *extack) in u32_reoffload() argument 1221 err = u32_reoffload_hnode(tp, ht, add, cb, cb_priv, in u32_reoffload() 1235 cb_priv, extack); in u32_reoffload() 1242 u32_reoffload_hnode(tp, ht, add, cb, cb_priv, extack); in u32_reoffload()
|
D | cls_matchall.c | 283 void *cb_priv, struct netlink_ext_ack *extack) in mall_reoffload() argument 311 &cls_mall, cb_priv, &head->flags, in mall_reoffload()
|
/linux-6.1.9/drivers/net/netdevsim/ |
D | netdevsim.h | 126 void *type_data, void *cb_priv); 158 void *cb_priv) in nsim_bpf_setup_tc_block_cb() argument
|
D | netdev.c | 77 nsim_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in nsim_setup_tc_block_cb() argument 79 return nsim_bpf_setup_tc_block_cb(type, type_data, cb_priv); in nsim_setup_tc_block_cb()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_repr.c | 214 void *cb_priv) in ice_repr_setup_tc_block_cb() argument 217 struct ice_netdev_priv *np = (struct ice_netdev_priv *)cb_priv; in ice_repr_setup_tc_block_cb()
|
/linux-6.1.9/drivers/iio/adc/ |
D | stm32-dfsdm-adc.c | 86 int (*cb)(const void *data, size_t size, void *cb_priv); 87 void *cb_priv; member 880 adc->buf_sz - old_pos, adc->cb_priv); in stm32_dfsdm_dma_buffer_done() 898 adc->cb_priv); in stm32_dfsdm_dma_buffer_done() 1088 adc->cb_priv = private; in stm32_dfsdm_get_buff_cb() 1108 adc->cb_priv = NULL; in stm32_dfsdm_release_buff_cb()
|