busybox/modutils
Denys Vlasenko 07e5555a8f modprobe-small: (un)load all modules which match the alias, not only first one
Closes 627 and 7034.

Commonly seen case is (un)loading of an alias
which matches ata_generic and a more specific ata module.

For example:

modprobe [-r] pci:v00008086d00007010sv00000000sd00000000bc01sc01i80
(ata_generic and pata_acpi)

modprobe [-r] pci:v00001106d00000571sv00001509sd00009022bc01sc01i8a
(ata_generic and pata_via)

function                                             old     new   delta
process_module                                       615     728    +113
parse_module                                         309     395     +86
find_alias                                           621     653     +32
pathname_matches_modname                              78      79      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 232/0)             Total: 232 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-04-21 16:59:36 +02:00
..
Config.src Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX" 2011-02-26 22:24:08 +01:00
depmod_process.sh
depmod.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
insmod.c modprobe-small: fix help messages for aliased module-related applets 2014-04-19 15:04:39 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
lsmod.c mass removal of underscores from _BB_DIR_foo and _BB_SUID_foo 2011-01-18 13:58:01 +01:00
modinfo.c modinfo: match more standard module fields and fix version field 2012-06-12 16:26:03 +02:00
modprobe-small.c modprobe-small: (un)load all modules which match the alias, not only first one 2014-04-21 16:59:36 +02:00
modprobe.c modprobe-small: fix help messages for aliased module-related applets 2014-04-19 15:04:39 +02:00
modutils-24.c stop declariong our own dirname prototype 2011-09-10 13:48:34 +02:00
modutils.c modprobe/insmod: fix parameter quoting 2011-02-02 00:01:07 +01:00
modutils.h modprobe/insmod: fix parameter quoting 2011-02-02 00:01:07 +01:00
rmmod.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00