Lines Matching refs:archdata
22 struct archdata { struct
33 static struct archdata archdata; in arch_init_modules() argument
36 archdata.gp = kernel_gp; in arch_init_modules()
37 kmod->archdata_start = (const char *) &archdata; in arch_init_modules()
38 kmod->archdata_end = (const char *) (&archdata + 1); in arch_init_modules()
48 struct archdata *archdata; in ia64_module_init() local
52 archdata = (struct archdata *)(mod->archdata_start); in ia64_module_init()
54 if (archdata->unw_start == 0) in ia64_module_init()
61 if (archdata->unw_table) { in ia64_module_init()
65 if (!mod_bound(archdata->gp, 0, mod)) { in ia64_module_init()
69 if (!mod_bound(archdata->unw_start, 0, mod)) { in ia64_module_init()
73 if (!mod_bound(archdata->unw_end, 0, mod)) { in ia64_module_init()
77 if (!mod_bound(archdata->segment_base, 0, mod)) { in ia64_module_init()
85 archdata->unw_table = unw_add_unwind_table(mod->name, in ia64_module_init()
86 (unsigned long) archdata->segment_base, in ia64_module_init()
87 (unsigned long) archdata->gp, in ia64_module_init()
88 archdata->unw_start, archdata->unw_end); in ia64_module_init()
96 struct archdata *archdata; in ia64_module_unmap() local
102 archdata = (struct archdata *)(mod->archdata_start); in ia64_module_unmap()
104 if (archdata->unw_table != NULL) in ia64_module_unmap()
105 unw_remove_unwind_table((void *) archdata->unw_table); in ia64_module_unmap()