Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
kmod
/
refs/heads/rel/p/fp2/20.10.1-beta
/
libkmod
/
libkmod-module.c
« Previous
113c66a
kmod_module: use 'modname/aliasname' as key for hash
by Lucas De Marchi
· 13 years ago
788ef0f
Use malloc + memset instead of calloc
by Lucas De Marchi
· 13 years ago
2d7bab5
kmod_module: move function to the right section
by Lucas De Marchi
· 13 years ago
63af061
kmod_module: fix log message upon module removal
by Lucas De Marchi
· 13 years ago
7afc98a
kmod_module: add missing documentation
by Lucas De Marchi
· 13 years ago
07b8c82
kmod_module: make get_options() search for alias names too
by Lucas De Marchi
· 13 years ago
6ad5f26
Add private function kmod_module_new_from_alias()
by Lucas De Marchi
· 13 years ago
219f9c3
kmod_module: use pointer instead of vector for its name
by Lucas De Marchi
· 13 years ago
d470db1
Use alias_normalize() instead of modname_normalize()
by Lucas De Marchi
· 13 years ago
4308b17
Fix check for NULL variable
by Lucas De Marchi
· 13 years ago
973c80b
handle case where modname was not detected.
by Gustavo Sverzut Barbieri
· 13 years ago
cb451f3
Change licenses
by Lucas De Marchi
· 13 years ago
45f2778
Remove warnings: ‘err’ may be used uninitialized in this function
by Lucas De Marchi
· 13 years ago
970ba8b
Remove leftover comment
by Lucas De Marchi
· 13 years ago
49ce6d0
Remove libkmod-loaded.c and re-order functions in libkmod-module.c
by Lucas De Marchi
· 13 years ago
28c175e
coding style: be consistent with blank lines
by Lucas De Marchi
· 13 years ago
c35347f
coding style: fix lines over 80 chars
by Lucas De Marchi
· 13 years ago
d01c67e
add missing newline to log messages.
by Gustavo Sverzut Barbieri
· 13 years ago
926f67a
be less verbose on initstate for unexistent modules.
by Gustavo Sverzut Barbieri
· 13 years ago
3a721bb
insmod: allows providing option to module.
by Gustavo Sverzut Barbieri
· 13 years ago
d917f27
always normalize user-given alias.
by Gustavo Sverzut Barbieri
· 13 years ago
bd3f553
export module's options and commands.
by Gustavo Sverzut Barbieri
· 13 years ago
b6a534f
parse_depline may be called from libkmod.c
by Gustavo Sverzut Barbieri
· 13 years ago
e18ad35
fix path handling at dependencies parsing.
by Gustavo Sverzut Barbieri
· 13 years ago
e1a6b30
modname_normalize: fix const and buffer overflow.
by Gustavo Sverzut Barbieri
· 13 years ago
f1fb6f8
kmod_module: Remove const from path
by Gustavo Sverzut Barbieri
· 13 years ago
e005fac
Only search path in moddep if it's not already set
by Lucas De Marchi
· 13 years ago
6bd0b8d
kmod_module: treat module creation by path with same names
by Lucas De Marchi
· 13 years ago
71e975c
kmod_module: store absolute path when creating module from path
by Lucas De Marchi
· 13 years ago
877e80c
Use streq() when possible
by Lucas De Marchi
· 13 years ago
6c343b1
Split function so we don't call basename() unnecessarily
by Lucas De Marchi
· 13 years ago
fd186ae
Maintain a pool of modules alive
by Lucas De Marchi
· 13 years ago
4f2bb7c
kmod_module: normalize module name
by Lucas De Marchi
· 13 years ago
c5e7b1f
kmod_module: get path on demand
by Lucas De Marchi
· 13 years ago
671d489
kmod_module: parse dependencies on demand
by Lucas De Marchi
· 13 years ago
f1cd799
kmod_module: return a new list and increase ref of dependencies
by Lucas De Marchi
· 13 years ago
d753b8c
kmod_module: inline name and make it always available
by Lucas De Marchi
· 13 years ago
40923bd
Use readdir_r in kmod_module_get_sections()
by Lucas De Marchi
· 13 years ago
53886dd
Use readdir_r in kmod_module_get_holders()
by Lucas De Marchi
· 13 years ago
69f9dd4
no more kmod_loaded and kmod_loaded_module.
by Gustavo Sverzut Barbieri
· 13 years ago
f12ae3c
kmod_module: extended information gathering.
by Gustavo Sverzut Barbieri
· 13 years ago
ad4d1ae
kmod_module_get_module: safety against NULL pointers
by Gustavo Sverzut Barbieri
· 13 years ago
87ca03b
module refcount should start at 1.
by Gustavo Sverzut Barbieri
· 13 years ago
8d3f3ef
reorder struct fields to avoid holes, improving packing
by Gustavo Sverzut Barbieri
· 13 years ago
1ce08a5
improve "const" keyword usage.
by Gustavo Sverzut Barbieri
· 13 years ago
84f4220
Fix missing return
by Lucas De Marchi
· 13 years ago
1fc1c9a
Clean 'shadowed declaration' warnings
by Lucas De Marchi
· 13 years ago
b418a82
Use fstat() instead of stat() when possible
by Lucas De Marchi
· 13 years ago
0835fc3
Add fucntion to API to get dependencies
by Lucas De Marchi
· 13 years ago
7636e72
Add dependency list to kmod_module
by Lucas De Marchi
· 13 years ago
9eaad1f
Allow path_to_modname to operate locally withou alloc
by Lucas De Marchi
· 13 years ago
49e61ca
Lookup for alias in modules.alias.bin
by Lucas De Marchi
· 13 years ago
64700e4
Lookup modules from modules.dep.bin file
by Lucas De Marchi
· 13 years ago
9ba6f57
Lookup modules.symbols.bin
by Lucas De Marchi
· 13 years ago
839d7da
Remove dangling comment
by Lucas De Marchi
· 13 years ago
b14dcfd
Prepare lookup function for more files to look after
by Lucas De Marchi
· 13 years ago
7f3eb0c
Add lookup to create modules list from alias
by Lucas De Marchi
· 13 years ago
6e869df
Add name() and path() getters for kmod_module
by Lucas De Marchi
· 13 years ago
191ab4b
Fix wrong copyright
by Lucas De Marchi
· 13 years ago
1b2e26a
Back to logging without \n
by Lucas De Marchi
· 13 years ago
8f788d5
Add functions to operate on modules
by Lucas De Marchi
· 13 years ago