Searched refs:modstr (Results 1 – 1 of 1) sorted by relevance
3237 struct module_string *modstr; in add_str_to_module() local3239 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() local3689 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()[all …]