Lines Matching +full:mem +full:- +full:base
1 // SPDX-License-Identifier: GPL-2.0-or-later
13 * kdb_lsmod - This function implements the 'lsmod' command. Lists
26 if (mod->state == MODULE_STATE_UNFORMED) in kdb_lsmod()
29 kdb_printf("%-20s%8u", mod->name, mod->mem[MOD_TEXT].size); in kdb_lsmod()
30 kdb_printf("/%8u", mod->mem[MOD_RODATA].size); in kdb_lsmod()
31 kdb_printf("/%8u", mod->mem[MOD_RO_AFTER_INIT].size); in kdb_lsmod()
32 kdb_printf("/%8u", mod->mem[MOD_DATA].size); in kdb_lsmod()
38 if (mod->state == MODULE_STATE_GOING) in kdb_lsmod()
40 else if (mod->state == MODULE_STATE_COMING) in kdb_lsmod()
44 kdb_printf(" 0x%px", mod->mem[MOD_TEXT].base); in kdb_lsmod()
45 kdb_printf("/0x%px", mod->mem[MOD_RODATA].base); in kdb_lsmod()
46 kdb_printf("/0x%px", mod->mem[MOD_RO_AFTER_INIT].base); in kdb_lsmod()
47 kdb_printf("/0x%px", mod->mem[MOD_DATA].base); in kdb_lsmod()
54 list_for_each_entry(use, &mod->source_list, in kdb_lsmod()
56 kdb_printf("%s ", use->target->name); in kdb_lsmod()