Lines Matching refs:mod
19 struct module *mod; in kdb_lsmod() local
25 list_for_each_entry(mod, &modules, list) { in kdb_lsmod()
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()
34 kdb_printf(" 0x%px ", (void *)mod); in kdb_lsmod()
36 kdb_printf("%4d ", module_refcount(mod)); 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()