Lines Matching refs:r
75 struct rv_reactor_def *r; in get_reactor_rdef_by_name() local
77 list_for_each_entry(r, &rv_reactors_list, list) { in get_reactor_rdef_by_name()
78 if (strcmp(name, r->reactor->name) == 0) in get_reactor_rdef_by_name()
79 return r; in get_reactor_rdef_by_name()
280 struct rv_reactor_def *r; in __rv_register_reactor() local
282 list_for_each_entry(r, &rv_reactors_list, list) { in __rv_register_reactor()
283 if (strcmp(reactor->name, r->reactor->name) == 0) { in __rv_register_reactor()
289 r = kzalloc(sizeof(struct rv_reactor_def), GFP_KERNEL); in __rv_register_reactor()
290 if (!r) in __rv_register_reactor()
293 r->reactor = reactor; in __rv_register_reactor()
294 r->counter = 0; in __rv_register_reactor()
296 list_add_tail(&r->list, &rv_reactors_list); in __rv_register_reactor()