Home
last modified time | relevance | path

Searched refs:modname (Results 1 – 8 of 8) sorted by relevance

/busybox-1.35.0/modutils/
Drmmod.c63 char modname[MODULE_NAME_LEN]; in rmmod_main() local
68 safe_strncpy(modname, bname, MODULE_NAME_LEN); in rmmod_main()
70 filename2modname(bname, modname); in rmmod_main()
71 err = bb_delete_module(modname, flags); in rmmod_main()
74 modname); in rmmod_main()
Dmodutils.c20 char modname[MODULE_NAME_LEN]; in helper_get_module() local
24 filename2modname(module, modname); in helper_get_module()
27 for (i = 0; modname[i]; i++) in helper_get_module()
28 hash = ((hash << 5) + hash) + modname[i]; in helper_get_module()
32 if (strcmp(e->modname, modname) == 0) in helper_get_module()
38 e->modname = xstrdup(modname); in helper_get_module()
63 free(e->modname); in moddb_free()
92 char* FAST_FUNC filename2modname(const char *filename, char *modname) in filename2modname() argument
100 if (modname == NULL) in filename2modname()
101 modname = local_modname; in filename2modname()
[all …]
Dmodutils.h23 char *name, *modname; member
52 char *filename2modname(const char *filename, char *modname) FAST_FUNC;
Dmodprobe-small.c195 static char *filename2modname(const char *filename, char *modname) in filename2modname() argument
206 modname[i] = (from[i] == '-') ? '_' : from[i]; in filename2modname()
207 modname[i] = '\0'; in filename2modname()
209 return modname; in filename2modname()
212 static int pathname_matches_modname(const char *pathname, const char *modname) in pathname_matches_modname() argument
217 r = (strcmp(name, modname) == 0); in pathname_matches_modname()
667 char modname[MODULE_NAME_LEN]; in rmmod() local
669 filename2modname(filename, modname); in rmmod()
670 r = delete_module(modname, O_NONBLOCK | O_EXCL); in rmmod()
671 dbg1_error_msg("delete_module('%s', O_NONBLOCK | O_EXCL):%d", modname, r); in rmmod()
[all …]
Dmodprobe.c232 && is_prefixed_with(m->modname, "symbol:") in add_probe()
291 if (fnmatch(wildcard, m->modname, 0) != 0) in config_file_action()
337 return m->probed_name ? m->probed_name : m->modname; in humanly_readable_name()
428 DBG("do_modprob'ing %s", m->modname); in do_modprobe()
452 rc = bb_delete_module(m2->modname, O_EXCL); in do_modprobe()
470 options = parse_and_add_kcmdline_module_options(options, m2->modname); in do_modprobe()
706 DBG("probing alias %s by realname %s", me->modname, realname); in modprobe_main()
Ddepmod.c246 m->modname); in depmod_main()
257 m->modname); in depmod_main()
/busybox-1.35.0/scripts/
DMakefile.build125 modname = $(*F)
127 $(multi-objs-m) : modname = $(modname-multi)
128 $(multi-objs-m:.o=.i) : modname = $(modname-multi)
129 $(multi-objs-m:.o=.s) : modname = $(modname-multi)
130 $(multi-objs-m:.o=.lst) : modname = $(modname-multi)
131 $(multi-objs-y) : modname = $(modname-multi)
132 $(multi-objs-y:.o=.i) : modname = $(modname-multi)
133 $(multi-objs-y:.o=.s) : modname = $(modname-multi)
134 $(multi-objs-y:.o=.lst) : modname = $(modname-multi)
DMakefile.lib86 modname_flags = $(if $(filter 1,$(words $(modname))),\
87 -DKBUILD_MODNAME=$(call name-fix,$(modname)))
128 modname-multi = $(sort $(foreach m,$(multi-used),\