Home
last modified time | relevance | path

Searched refs:rdef (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/kernel/trace/rv/
Drv_reactors.c142 struct rv_reactor_def *rdef = p; in monitor_reactor_show() local
144 if (mdef->rdef == rdef) in monitor_reactor_show()
145 seq_printf(m, "[%s]\n", rdef->reactor->name); in monitor_reactor_show()
147 seq_printf(m, "%s\n", rdef->reactor->name); in monitor_reactor_show()
161 static void monitor_swap_reactors(struct rv_monitor_def *mdef, struct rv_reactor_def *rdef, in monitor_swap_reactors() argument
167 if (mdef->rdef == rdef) in monitor_swap_reactors()
175 mdef->rdef->counter--; in monitor_swap_reactors()
176 rdef->counter++; in monitor_swap_reactors()
178 mdef->rdef = rdef; in monitor_swap_reactors()
180 mdef->monitor->react = rdef->reactor->react; in monitor_swap_reactors()
[all …]
Drv.h39 struct rv_reactor_def *rdef; member