/linux/net/core/ |
H A D | flow_offload.c | 262 void *cb_ident, void *cb_priv, in flow_block_cb_alloc() argument 263 void (*release)(void *cb_priv)) in flow_block_cb_alloc() argument 273 block_cb->cb_priv = cb_priv; in flow_block_cb_alloc() 283 block_cb->release(block_cb->cb_priv); in flow_block_cb_free() 306 return block_cb->cb_priv; in flow_block_cb_priv() 340 void *cb_ident, void *cb_priv, in flow_block_cb_setup_simple() argument 356 block_cb = flow_block_cb_alloc(cb, cb_ident, cb_priv, NULL); in flow_block_cb_setup_simple() 385 void *cb_priv; member 390 void *cb_priv) in flow_indr_dev_alloc() argument 399 indr_dev->cb_priv = cb_priv; in flow_indr_dev_alloc() [all …]
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_tc.c | 72 void *cb_priv, bool ingress) in lan966x_tc_block_cb() argument 74 struct lan966x_port *port = cb_priv; in lan966x_tc_block_cb() 87 void *type_data, void *cb_priv) in lan966x_tc_block_cb_ingress() argument 89 return lan966x_tc_block_cb(type, type_data, cb_priv, true); in lan966x_tc_block_cb_ingress() 93 void *type_data, void *cb_priv) in lan966x_tc_block_cb_egress() argument 95 return lan966x_tc_block_cb(type, type_data, cb_priv, false); in lan966x_tc_block_cb_egress()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc.c | 19 void *cb_priv, bool ingress) in sparx5_tc_block_cb() argument 21 struct net_device *ndev = cb_priv; in sparx5_tc_block_cb() 35 void *cb_priv) in sparx5_tc_block_cb_ingress() argument 37 return sparx5_tc_block_cb(type, type_data, cb_priv, true); in sparx5_tc_block_cb_ingress() 42 void *cb_priv) in sparx5_tc_block_cb_egress() argument 44 return sparx5_tc_block_cb(type, type_data, cb_priv, false); in sparx5_tc_block_cb_egress()
|
/linux/include/net/ |
H A D | flow_offload.h | 604 void *cb_priv); 614 void *cb_priv; member 623 void *cb_priv; member 624 void (*release)(void *cb_priv); 630 void *cb_ident, void *cb_priv, 631 void (*release)(void *cb_priv)); 633 void *cb_ident, void *cb_priv, 634 void (*release)(void *cb_priv), 674 void *cb_ident, void *cb_priv, bool ingress_only); 730 typedef int flow_indr_block_bind_cb_t(struct net_device *dev, struct Qdisc *sch, void *cb_priv, [all …]
|
H A D | act_api.h | 264 void *cb_priv, bool add); 280 void *cb_priv, bool add) { in tcf_action_reoffload_cb() argument
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | tc.c | 182 void *cb_priv) in mlx5e_rep_setup_tc_cb() argument 185 struct mlx5e_priv *priv = cb_priv; in mlx5e_rep_setup_tc_cb() 201 void *cb_priv) in mlx5e_rep_setup_ft_cb() argument 204 struct mlx5e_priv *priv = cb_priv; in mlx5e_rep_setup_ft_cb() 320 struct mlx5e_rep_indr_block_priv *cb_priv; in mlx5e_rep_indr_block_priv_lookup() local 322 list_for_each_entry(cb_priv, in mlx5e_rep_indr_block_priv_lookup() 325 if (cb_priv->netdev == netdev && in mlx5e_rep_indr_block_priv_lookup() 326 cb_priv->binder_type == binder_type) in mlx5e_rep_indr_block_priv_lookup() 327 return cb_priv; in mlx5e_rep_indr_block_priv_lookup() 426 static void mlx5e_rep_indr_block_unbind(void *cb_priv) in mlx5e_rep_indr_block_unbind() argument [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tc_bindings.c | 36 void *cb_priv) in efx_tc_block_cb() argument 38 struct efx_tc_block_binding *binding = cb_priv; in efx_tc_block_cb() 50 void efx_tc_block_unbind(void *cb_priv) in efx_tc_block_unbind() argument 52 struct efx_tc_block_binding *binding = cb_priv; in efx_tc_block_unbind() 140 void *cb_priv, enum tc_setup_type type, in efx_tc_indr_setup_cb() argument 147 struct efx_nic *efx = cb_priv; in efx_tc_indr_setup_cb()
|
H A D | tc_bindings.h | 20 void efx_tc_block_unbind(void *cb_priv); 27 void *cb_priv, enum tc_setup_type type,
|
H A D | tc_conntrack.c | 16 void *cb_priv); 537 void *cb_priv) in efx_tc_flow_block() argument 540 struct efx_tc_ct_zone *ct_zone = cb_priv; in efx_tc_flow_block()
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | offload.c | 1759 void *type_data, void *cb_priv) in nfp_flower_setup_tc_block_cb() argument 1762 struct nfp_repr *repr = cb_priv; in nfp_flower_setup_tc_block_cb() 1846 struct nfp_flower_indr_block_cb_priv *cb_priv; in nfp_flower_indr_block_cb_priv_lookup() local 1849 list_for_each_entry(cb_priv, &priv->indr_block_cb_priv, list) in nfp_flower_indr_block_cb_priv_lookup() 1850 if (cb_priv->netdev == netdev) in nfp_flower_indr_block_cb_priv_lookup() 1851 return cb_priv; in nfp_flower_indr_block_cb_priv_lookup() 1857 void *type_data, void *cb_priv) in nfp_flower_setup_indr_block_cb() argument 1859 struct nfp_flower_indr_block_cb_priv *priv = cb_priv; in nfp_flower_setup_indr_block_cb() 1870 void nfp_flower_setup_indr_tc_release(void *cb_priv) in nfp_flower_setup_indr_tc_release() argument 1872 struct nfp_flower_indr_block_cb_priv *priv = cb_priv; in nfp_flower_setup_indr_tc_release() [all …]
|
H A D | conntrack.h | 280 void *cb_priv);
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A 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/include/net/netfilter/ |
H A D | nf_flow_table.h | 226 flow_setup_cb_t *cb, void *cb_priv) in nf_flow_table_offload_add_cb() argument 233 block_cb = flow_block_cb_lookup(block, cb, cb_priv); in nf_flow_table_offload_add_cb() 239 block_cb = flow_block_cb_alloc(cb, cb_priv, cb_priv, NULL); in nf_flow_table_offload_add_cb() 259 flow_setup_cb_t *cb, void *cb_priv) in nf_flow_table_offload_del_cb() argument 265 block_cb = flow_block_cb_lookup(block, cb, cb_priv); in nf_flow_table_offload_del_cb()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 1869 void *type_data, void *cb_priv) in bnxt_tc_setup_indr_block_cb() argument 1871 struct bnxt_flower_indr_block_cb_priv *priv = cb_priv; in bnxt_tc_setup_indr_block_cb() 1889 struct bnxt_flower_indr_block_cb_priv *cb_priv; in bnxt_tc_indr_block_cb_lookup() local 1891 list_for_each_entry(cb_priv, &bp->tc_indr_block_list, list) in bnxt_tc_indr_block_cb_lookup() 1892 if (cb_priv->tunnel_netdev == netdev) in bnxt_tc_indr_block_cb_lookup() 1893 return cb_priv; in bnxt_tc_indr_block_cb_lookup() 1898 static void bnxt_tc_setup_indr_rel(void *cb_priv) in bnxt_tc_setup_indr_rel() argument 1900 struct bnxt_flower_indr_block_cb_priv *priv = cb_priv; in bnxt_tc_setup_indr_rel() 1910 struct bnxt_flower_indr_block_cb_priv *cb_priv; in bnxt_tc_setup_indr_block() local 1918 cb_priv = kmalloc(sizeof(*cb_priv), GFP_KERNEL); in bnxt_tc_setup_indr_block() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A 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()
|
H A D | core.c | 687 unsigned long cb_priv; member 816 trans->reg->len, trans->cb_priv); in mlxsw_emad_process_response() 971 unsigned long cb_priv, u64 tid) in mlxsw_emad_reg_access() argument 993 trans->cb_priv = cb_priv; in mlxsw_emad_reg_access() 2682 unsigned long cb_priv) in mlxsw_core_reg_access_emad() argument 2693 bulk_list, cb, cb_priv, tid); in mlxsw_core_reg_access_emad() 2704 mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv) in mlxsw_reg_trans_query() argument 2708 bulk_list, cb, cb_priv); in mlxsw_reg_trans_query() 2715 mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv) in mlxsw_reg_trans_write() argument 2719 bulk_list, cb, cb_priv); in mlxsw_reg_trans_write() [all …]
|
H A D | core.h | 212 size_t payload_len, unsigned long cb_priv); 217 mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv); 221 mlxsw_reg_trans_cb_t *cb, unsigned long cb_priv);
|
H A 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() 1564 unsigned long cb_priv) in mlxsw_sp_sb_sr_occ_query_cb() argument 1574 memcpy(&cb_ctx, &cb_priv, sizeof(cb_ctx)); in mlxsw_sp_sb_sr_occ_query_cb() 1618 unsigned long cb_priv = 0; in mlxsw_sp_sb_occ_snapshot() local 1672 memcpy(&cb_priv, &cb_ctx, sizeof(cb_ctx)); in mlxsw_sp_sb_occ_snapshot() 1675 cb_priv); in mlxsw_sp_sb_occ_snapshot()
|
/linux/net/devlink/ |
H A D | region.c | 791 typedef int devlink_chunk_fill_t(void *cb_priv, u8 *chunk, u32 chunk_size, 797 void *cb_priv, u64 start_offset, u64 end_offset, in devlink_nl_region_read_fill() argument 817 err = cb(cb_priv, data, data_size, curr_offset, extack); in devlink_nl_region_read_fill() 835 devlink_region_snapshot_fill(void *cb_priv, u8 *chunk, u32 chunk_size, in devlink_region_snapshot_fill() argument 839 struct devlink_snapshot *snapshot = cb_priv; in devlink_region_snapshot_fill() 847 devlink_region_port_direct_fill(void *cb_priv, u8 *chunk, u32 chunk_size, in devlink_region_port_direct_fill() argument 850 struct devlink_region *region = cb_priv; in devlink_region_port_direct_fill() 857 devlink_region_direct_fill(void *cb_priv, u8 *chunk, u32 chunk_size, in devlink_region_direct_fill() argument 860 struct devlink_region *region = cb_priv; in devlink_region_direct_fill()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.h | 304 void *cb_priv); 339 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument 364 mlx5e_setup_tc_block_cb(enum tc_setup_type type, void *type_data, void *cb_priv) in mlx5e_setup_tc_block_cb() argument
|
/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A 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/net/sched/ |
H A D | act_api.c | 222 void *cb_priv) in tcf_action_offload_cmd_cb_ex() argument 226 err = cb(NULL, NULL, cb_priv, TC_SETUP_ACT, NULL, fl_act, NULL); in tcf_action_offload_cmd_cb_ex() 239 void *cb_priv) in tcf_action_offload_cmd() argument 242 cb, cb_priv) : in tcf_action_offload_cmd() 249 void *cb_priv) in tcf_action_offload_add_ex() argument 278 err = tcf_action_offload_cmd(fl_action, &in_hw_count, cb, cb_priv); in tcf_action_offload_add_ex() 331 void *cb_priv) in tcf_action_offload_del_ex() argument 344 err = tcf_action_offload_cmd(&fl_act, &in_hw_count, cb, cb_priv); in tcf_action_offload_del_ex() 1878 void *cb_priv, bool add) in tcf_action_reoffload_cb() argument 1914 cb_priv); in tcf_action_reoffload_cb() [all …]
|
H A D | cls_u32.c | 1221 bool add, flow_setup_cb_t *cb, void *cb_priv, in u32_reoffload_hnode() argument 1233 err = cb(TC_SETUP_CLSU32, &cls_u32, cb_priv); in u32_reoffload_hnode() 1241 bool add, flow_setup_cb_t *cb, void *cb_priv, in u32_reoffload_knode() argument 1270 &cls_u32, cb_priv, &n->flags, in u32_reoffload_knode() 1275 void *cb_priv, struct netlink_ext_ack *extack) in u32_reoffload() argument 1294 err = u32_reoffload_hnode(tp, ht, add, cb, cb_priv, in u32_reoffload() 1308 cb_priv, extack); in u32_reoffload() 1315 u32_reoffload_hnode(tp, ht, add, cb, cb_priv, extack); in u32_reoffload()
|
/linux/drivers/net/netdevsim/ |
H A D | netdevsim.h | 162 void *type_data, void *cb_priv); 194 void *cb_priv) in nsim_bpf_setup_tc_block_cb() argument
|
/linux/drivers/iio/adc/ |
H A D | stm32-dfsdm-adc.c | 89 int (*cb)(const void *data, size_t size, void *cb_priv); 90 void *cb_priv; member 949 adc->buf_sz - old_pos, adc->cb_priv); in stm32_dfsdm_dma_buffer_done() 967 adc->cb_priv); in stm32_dfsdm_dma_buffer_done() 1173 adc->cb_priv = private; in stm32_dfsdm_get_buff_cb() 1193 adc->cb_priv = NULL; in stm32_dfsdm_release_buff_cb()
|