Lines Matching refs:modstr
2667 struct module_string *modstr; in add_str_to_module() local
2669 modstr = kmalloc(sizeof(*modstr), GFP_KERNEL); in add_str_to_module()
2677 if (WARN_ON_ONCE(!modstr)) in add_str_to_module()
2680 modstr->module = module; in add_str_to_module()
2681 modstr->str = str; in add_str_to_module()
2683 list_add(&modstr->next, &module_strings); in add_str_to_module()
3029 struct module_string *modstr, *m; in trace_module_remove_events() local
3039 list_for_each_entry_safe(modstr, m, &module_strings, next) { in trace_module_remove_events()
3040 if (modstr->module != mod) in trace_module_remove_events()
3042 list_del(&modstr->next); in trace_module_remove_events()
3043 kfree(modstr->str); in trace_module_remove_events()
3044 kfree(modstr); in trace_module_remove_events()