static struct module_entry *get_modentry(const char *module) { return helper_get_module(module, 0); }
static ALWAYS_INLINE struct module_entry *get_modentry(const char *module) { return helper_get_module(module, 0); }
/* So far this function always gets a module pathname, never an alias name. * The crucial difference is that pathname needs dirname stripping, * while alias name must NOT do it! * Testcase where dirname stripping is likely to go wrong: "modprobe devname:snd/timer" */ static ALWAYS_INLINE struct module_entry *get_modentry(const char *pathname) { return helper_get_module(bb_get_last_path_component_nostrip(pathname), 0); }