Home
last modified time | relevance | path

Searched refs:ksym (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/kernel/
Dmodule.c970 struct kernel_sym ksym; in sys_get_kernel_syms() local
982 memset (&ksym, 0, sizeof (ksym)); in sys_get_kernel_syms()
992 ksym.value = (unsigned long)mod; in sys_get_kernel_syms()
993 ksym.name[0] = '#'; in sys_get_kernel_syms()
994 strncpy(ksym.name+1, mod->name, sizeof(ksym.name)-1); in sys_get_kernel_syms()
995 ksym.name[sizeof(ksym.name)-1] = '\0'; in sys_get_kernel_syms()
997 if (copy_to_user(table, &ksym, sizeof(ksym)) != 0) in sys_get_kernel_syms()
1005 ksym.value = msym->value; in sys_get_kernel_syms()
1006 strncpy(ksym.name, msym->name, sizeof(ksym.name)); in sys_get_kernel_syms()
1007 ksym.name[sizeof(ksym.name)-1] = '\0'; in sys_get_kernel_syms()
[all …]