tag | line | file | source code |
codesize | 139 | kernel/module.c | sys_init_module(char *module_name, char *code, unsigned codesize, |
codesize | 171 | kernel/module.c | name, codesize, codesize)); |
codesize | 175 | kernel/module.c | if (codesize & MOD_AUTOCLEAN) { |
codesize | 180 | kernel/module.c | codesize &= ~MOD_AUTOCLEAN; |
codesize | 183 | kernel/module.c | if ((codesize + sizeof (long) + PAGE_SIZE - 1) / PAGE_SIZE > mp->size) |
codesize | 185 | kernel/module.c | memcpy_fromfs((char *)mp->addr + sizeof (long), code, codesize); |
codesize | 186 | kernel/module.c | memset((char *)mp->addr + sizeof (long) + codesize, 0, |
codesize | 187 | kernel/module.c | mp->size * PAGE_SIZE - (codesize + sizeof (long))); |