Home
last modified time | relevance | path

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

/linux/arch/sh/kernel/
H A Dsetup.c79 static struct resource code_resource = { variable
220 request_resource(res, &code_resource); in __add_active_range()
295 code_resource.start = virt_to_phys(_text); in setup_arch()
296 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
/linux/arch/loongarch/kernel/
H A Dsetup.c80 static struct resource code_resource = { .name = "Kernel code", }; variable
425 code_resource.start = __pa_symbol(&_text); in resource_init()
426 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init()
457 request_resource(res, &code_resource); in resource_init()
/linux/arch/mips/kernel/
H A Dsetup.c82 static struct resource code_resource = { .name = "Kernel code", }; variable
697 code_resource.start = __pa_symbol(&_text); in resource_init()
698 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init()
729 request_resource(res, &code_resource); in resource_init()
/linux/arch/x86/kernel/
H A Dsetup.c100 static struct resource code_resource = { variable
845 code_resource.start = __pa_symbol(_text); in setup_arch()
846 code_resource.end = __pa_symbol(_etext)-1; in setup_arch()
922 insert_resource(&iomem_resource, &code_resource); in setup_arch()
/linux/arch/parisc/mm/
H A Dinit.c54 static struct resource code_resource = { variable
321 code_resource.start = virt_to_phys(_text); in setup_bootmem()
322 code_resource.end = virt_to_phys(&data_start)-1; in setup_bootmem()
329 request_resource(res, &code_resource); in setup_bootmem()
/linux/arch/s390/kernel/
H A Dsetup.c479 static struct resource code_resource = { variable
495 &code_resource,
507 code_resource.start = __pa_symbol(_text); in setup_resources()
508 code_resource.end = __pa_symbol(_etext) - 1; in setup_resources()
/linux/arch/sparc/mm/
H A Dinit_64.c3053 static struct resource code_resource = { variable
3075 code_resource.start = compute_kern_paddr(_text); in kernel_lds_init()
3076 code_resource.end = compute_kern_paddr(_etext - 1); in kernel_lds_init()
3108 insert_resource(res, &code_resource); in report_memory()