Searched refs:trap_ctx (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_trap.c | 83 void *trap_ctx) in mlxsw_sp_rx_drop_listener() argument 91 mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_drop_listener() 102 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, NULL); in mlxsw_sp_rx_drop_listener() 107 void *trap_ctx) in mlxsw_sp_rx_acl_drop_listener() argument 117 mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_acl_drop_listener() 130 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, fa_cookie); in mlxsw_sp_rx_acl_drop_listener() 136 void *trap_ctx) in __mlxsw_sp_rx_no_mark_listener() argument 144 mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in __mlxsw_sp_rx_no_mark_listener() 155 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, NULL); in __mlxsw_sp_rx_no_mark_listener() 162 void *trap_ctx) in mlxsw_sp_rx_no_mark_listener() argument [all …]
|
D | core.h | 334 const struct devlink_trap *trap, void *trap_ctx); 336 const struct devlink_trap *trap, void *trap_ctx);
|
D | spectrum.h | 1244 const struct devlink_trap *trap, void *trap_ctx); 1246 const struct devlink_trap *trap, void *trap_ctx);
|
D | core.c | 1460 void *trap_ctx) in mlxsw_devlink_trap_init() argument 1467 return mlxsw_driver->trap_init(mlxsw_core, trap, trap_ctx); in mlxsw_devlink_trap_init() 1472 void *trap_ctx) in mlxsw_devlink_trap_fini() argument 1479 mlxsw_driver->trap_fini(mlxsw_core, trap, trap_ctx); in mlxsw_devlink_trap_fini()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth-devlink.c | 118 void *trap_ctx) in dpaa2_eth_dl_trap_init() argument 128 dpaa2_eth_trap_item->trap_ctx = trap_ctx; in dpaa2_eth_dl_trap_init()
|
D | dpaa2-eth.h | 482 void *trap_ctx; member
|
D | dpaa2-eth.c | 564 devlink_trap_report(priv->devlink, skb, trap_item->trap_ctx, in dpaa2_eth_rx_err()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | dev.c | 405 void *trap_ctx; member 577 devlink_trap_report(devlink, skb, nsim_trap_item->trap_ctx, in nsim_dev_trap_report() 809 void *trap_ctx) in nsim_dev_devlink_trap_init() argument 818 nsim_trap_item->trap_ctx = trap_ctx; in nsim_dev_devlink_trap_init()
|
/kernel/linux/linux-5.10/include/net/ |
D | devlink.h | 1250 const struct devlink_trap *trap, void *trap_ctx); 1258 const struct devlink_trap *trap, void *trap_ctx); 1598 void *trap_ctx, struct devlink_port *in_devlink_port, 1600 void *devlink_trap_ctx_priv(void *trap_ctx);
|
/kernel/linux/linux-5.10/net/core/ |
D | devlink.c | 9871 void *trap_ctx, struct devlink_port *in_devlink_port, in devlink_trap_report() argument 9875 struct devlink_trap_item *trap_item = trap_ctx; in devlink_trap_report() 9896 void *devlink_trap_ctx_priv(void *trap_ctx) in devlink_trap_ctx_priv() argument 9898 struct devlink_trap_item *trap_item = trap_ctx; in devlink_trap_ctx_priv()
|