Searched refs:modstr (Results 1 – 1 of 1) sorted by relevance
2657 struct module_string *modstr; in add_str_to_module() local2659 modstr = kmalloc(sizeof(*modstr), GFP_KERNEL); in add_str_to_module()2667 if (WARN_ON_ONCE(!modstr)) in add_str_to_module()2670 modstr->module = module; in add_str_to_module()2671 modstr->str = str; in add_str_to_module()2673 list_add(&modstr->next, &module_strings); in add_str_to_module()2957 struct module_string *modstr, *m; in trace_module_remove_events() local2967 list_for_each_entry_safe(modstr, m, &module_strings, next) { in trace_module_remove_events()2968 if (modstr->module != mod) in trace_module_remove_events()2970 list_del(&modstr->next); in trace_module_remove_events()[all …]