hush/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
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
lsmod.c
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
modutils.c
modutils.h
rmmod.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00