Searched refs:modstr (Results 1 – 1 of 1) sorted by relevance
2843 struct module_string *modstr; in add_str_to_module() local2845 modstr = kmalloc(sizeof(*modstr), GFP_KERNEL); in add_str_to_module()2853 if (WARN_ON_ONCE(!modstr)) in add_str_to_module()2856 modstr->module = module; in add_str_to_module()2857 modstr->str = str; in add_str_to_module()2859 list_add(&modstr->next, &module_strings); in add_str_to_module()3248 struct module_string *modstr, *m; in trace_module_remove_events() local3258 list_for_each_entry_safe(modstr, m, &module_strings, next) { in trace_module_remove_events()3259 if (modstr->module != mod) in trace_module_remove_events()3261 list_del(&modstr->next); in trace_module_remove_events()[all …]