18c2ecf20Sopenharmony_ciWhat: /sys/module 28c2ecf20Sopenharmony_ciDescription: 38c2ecf20Sopenharmony_ci The /sys/module tree consists of the following structure: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci /sys/module/MODULENAME 68c2ecf20Sopenharmony_ci The name of the module that is in the kernel. This 78c2ecf20Sopenharmony_ci module name will always show up if the module is loaded as a 88c2ecf20Sopenharmony_ci dynamic module. If it is built directly into the kernel, it 98c2ecf20Sopenharmony_ci will only show up if it has a version or at least one 108c2ecf20Sopenharmony_ci parameter. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci Note: The conditions of creation in the built-in case are not 138c2ecf20Sopenharmony_ci by design and may be removed in the future. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci /sys/module/MODULENAME/parameters 168c2ecf20Sopenharmony_ci This directory contains individual files that are each 178c2ecf20Sopenharmony_ci individual parameters of the module that are able to be 188c2ecf20Sopenharmony_ci changed at runtime. See the individual module 198c2ecf20Sopenharmony_ci documentation as to the contents of these parameters and 208c2ecf20Sopenharmony_ci what they accomplish. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci Note: The individual parameter names and values are not 238c2ecf20Sopenharmony_ci considered stable, only the fact that they will be 248c2ecf20Sopenharmony_ci placed in this location within sysfs. See the 258c2ecf20Sopenharmony_ci individual driver documentation for details as to the 268c2ecf20Sopenharmony_ci stability of the different parameters. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci /sys/module/MODULENAME/refcnt 298c2ecf20Sopenharmony_ci If the module is able to be unloaded from the kernel, this file 308c2ecf20Sopenharmony_ci will contain the current reference count of the module. 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci Note: If the module is built into the kernel, or if the 338c2ecf20Sopenharmony_ci CONFIG_MODULE_UNLOAD kernel configuration value is not enabled, 348c2ecf20Sopenharmony_ci this file will not be present. 35