Lines Matching refs:state
389 struct devlink_nl_dump_state *state = devlink_dump_state(cb);
408 if (idx < state->idx) {
418 state->idx = idx;
427 if (idx < state->idx) {
437 state->idx = idx;
644 enum devlink_health_reporter_state state)
646 if (WARN_ON(state != DEVLINK_HEALTH_REPORTER_STATE_HEALTHY &&
647 state != DEVLINK_HEALTH_REPORTER_STATE_ERROR))
650 if (reporter->health_state == state)
653 reporter->health_state = state;
655 reporter->ops->name, state);
1196 struct devlink_nl_dump_state *state = devlink_dump_state(cb);
1197 int index = state->idx;
1213 state->idx = index;
1284 struct devlink_nl_dump_state *state = devlink_dump_state(cb);
1300 if (!state->idx) {
1304 state->dump_ts = reporter->dump_ts;
1306 if (!reporter->dump_fmsg || state->dump_ts != reporter->dump_ts) {