Lines Matching +full:25 +full:a

33  * to a type of module loading failure which is known to incur a certain amount
34 * of memory allocation loss. In the worst case loading a module will fail after
35 * a 3 step memory allocation process:
37 * a) memory allocated with kernel_read_file_from_fd()
40 * the decompressed module to a new local buffer which represents
41 * a copy of the decompressed module passed from userspace. The buffer
47 * If a failure occurs after these three different allocations only one
50 * step b) a separate counter is used and incremented for the bytes freed and
77 * In practice on a typical boot today most finit_module() calls fail due to
83 * failed to load due to the fact that a module was already loaded or being
88 * a) FAIL_DUP_MOD_BECOMING: at the end of early_mod_check() before
97 * is not empty it is a reflection of possible work or optimizations possible
131 * failures can happen if we had a check in between a successful kernel_read_file_from_fd()
134 * reason for this failure is when userspace is racing to load a module
136 * add_unformed_module() will add a module to our &modules list and
142 * indicative of userspace not seeing a module in userspace loaded yet and
143 * unnecessarily trying to load a module before the kernel even has a chance
166 * is unique. A module can still fail to load if we detect the module is
169 * initialization routines. Note that you have a failure of this type it
191 * but it is perhaps not easy to fix them. A recent example are the modules
192 * requests incurred for frequency modules, a separate module request was
193 * being issued for each CPU on a system.
265 * At 64 bytes per module and assuming a 1024 bytes preamble we can fit the
306 len = scnprintf(buf, size, "%25s\t%u\n", "Mods ever loaded", live_mod_count); in read_file_mod_stats()
308 len += scnprintf(buf + len, size - len, "%25s\t%u\n", "Mods failed on kread", fkreads); in read_file_mod_stats()
310 len += scnprintf(buf + len, size - len, "%25s\t%u\n", "Mods failed on decompress", in read_file_mod_stats()
312 len += scnprintf(buf + len, size - len, "%25s\t%u\n", "Mods failed on becoming", fbecoming); in read_file_mod_stats()
314 len += scnprintf(buf + len, size - len, "%25s\t%u\n", "Mods failed on load", floads); in read_file_mod_stats()
316 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Total module size", total_size); in read_file_mod_stats()
317 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Total mod text size", text_size); in read_file_mod_stats()
319 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Failed kread bytes", ikread_bytes); in read_file_mod_stats()
321 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Failed decompress bytes", in read_file_mod_stats()
324 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Failed becoming bytes", ibecoming_bytes); in read_file_mod_stats()
326 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Failed kmod bytes", imod_bytes); in read_file_mod_stats()
328 …len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Virtual mem wasted bytes", total_virtual_l… in read_file_mod_stats()
331 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Average mod size", in read_file_mod_stats()
336 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Average mod text size", in read_file_mod_stats()
342 * for keeping tabs on a type of failure with one type of byte counter. in read_file_mod_stats()
349 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Avg fail kread bytes", in read_file_mod_stats()
355 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Avg fail becoming bytes", in read_file_mod_stats()
361 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Avg fail decomp bytes", in read_file_mod_stats()
367 len += scnprintf(buf + len, size - len, "%25s\t%lu\n", "Average fail load bytes", in read_file_mod_stats()
380 len += scnprintf(buf + len, size - len, "%25s\t%15s\t%25s\n", in read_file_mod_stats()
388 len += scnprintf(buf + len, size - len, "%25s\t%15lu\t%25s\n", mod_fail->name, in read_file_mod_stats()