Lines Matching refs:modstr
3237 struct module_string *modstr; in add_str_to_module() local
3239 modstr = kmalloc(sizeof(*modstr), GFP_KERNEL); in add_str_to_module()
3247 if (WARN_ON_ONCE(!modstr)) in add_str_to_module()
3250 modstr->module = module; in add_str_to_module()
3251 modstr->str = str; in add_str_to_module()
3253 list_add(&modstr->next, &module_strings); in add_str_to_module()
3678 struct module_string *modstr, *m; in trace_module_remove_events() local
3688 list_for_each_entry_safe(modstr, m, &module_strings, next) { in trace_module_remove_events()
3689 if (modstr->module != mod) in trace_module_remove_events()
3691 list_del(&modstr->next); in trace_module_remove_events()
3692 kfree(modstr->str); in trace_module_remove_events()
3693 kfree(modstr); in trace_module_remove_events()