Lines Matching refs:devlink_port
59 struct devlink_port *devlink_port; member
100 devlink_port_health_reporter_find_by_name(struct devlink_port *devlink_port, in devlink_port_health_reporter_find_by_name() argument
103 return __devlink_health_reporter_find_by_name(&devlink_port->reporter_list, in devlink_port_health_reporter_find_by_name()
140 devl_port_health_reporter_create(struct devlink_port *port, in devl_port_health_reporter_create()
157 reporter->devlink_port = port; in devl_port_health_reporter_create()
164 devlink_port_health_reporter_create(struct devlink_port *port, in devlink_port_health_reporter_create()
275 if (reporter->devlink_port) { in devlink_nl_health_reporter_fill()
276 if (nla_put_u32(msg, DEVLINK_ATTR_PORT_INDEX, reporter->devlink_port->index)) in devlink_nl_health_reporter_fill()
333 struct devlink_port *devlink_port; in devlink_health_reporter_get_from_attrs() local
340 devlink_port = devlink_port_get_from_attrs(devlink, attrs); in devlink_health_reporter_get_from_attrs()
341 if (IS_ERR(devlink_port)) in devlink_health_reporter_get_from_attrs()
345 return devlink_port_health_reporter_find_by_name(devlink_port, in devlink_health_reporter_get_from_attrs()
395 struct devlink_port *port; in devlink_nl_health_reporter_get_dump_one()