Lines Matching refs:reg
113 struct registered_plugin_options *reg; in traceevent_plugin_list_options() local
119 for (reg = registered_options; reg; reg = reg->next) { in traceevent_plugin_list_options()
120 for (op = reg->options; op->name; op++) { in traceevent_plugin_list_options()
227 struct registered_plugin_options *reg; in traceevent_plugin_add_options() local
229 reg = malloc(sizeof(*reg)); in traceevent_plugin_add_options()
230 if (!reg) in traceevent_plugin_add_options()
232 reg->next = registered_options; in traceevent_plugin_add_options()
233 reg->options = options; in traceevent_plugin_add_options()
234 registered_options = reg; in traceevent_plugin_add_options()
250 struct registered_plugin_options *reg; in traceevent_plugin_remove_options() local
254 reg = *last; in traceevent_plugin_remove_options()
255 *last = reg->next; in traceevent_plugin_remove_options()
256 free(reg); in traceevent_plugin_remove_options()