Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sh/kernel/
Dsetup.c83 static struct resource code_resource = { variable
224 request_resource(res, &code_resource); in __add_active_range()
299 code_resource.start = virt_to_phys(_text); in setup_arch()
300 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
/linux-6.1.9/arch/loongarch/kernel/
Dsetup.c74 static struct resource code_resource = { .name = "Kernel code", }; variable
319 code_resource.start = __pa_symbol(&_text); in resource_init()
320 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init()
351 request_resource(res, &code_resource); in resource_init()
/linux-6.1.9/arch/mips/kernel/
Dsetup.c84 static struct resource code_resource = { .name = "Kernel code", }; variable
702 code_resource.start = __pa_symbol(&_text); in resource_init()
703 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init()
734 request_resource(res, &code_resource); in resource_init()
/linux-6.1.9/arch/parisc/mm/
Dinit.c51 static struct resource code_resource = { variable
318 code_resource.start = virt_to_phys(_text); in setup_bootmem()
319 code_resource.end = virt_to_phys(&data_start)-1; in setup_bootmem()
326 request_resource(res, &code_resource); in setup_bootmem()
/linux-6.1.9/arch/x86/kernel/
Dsetup.c97 static struct resource code_resource = { variable
963 code_resource.start = __pa_symbol(_text); in setup_arch()
964 code_resource.end = __pa_symbol(_etext)-1; in setup_arch()
1051 insert_resource(&iomem_resource, &code_resource); in setup_arch()
/linux-6.1.9/arch/s390/kernel/
Dsetup.c529 static struct resource code_resource = { variable
545 &code_resource,
557 code_resource.start = (unsigned long) _text; in setup_resources()
558 code_resource.end = (unsigned long) _etext - 1; in setup_resources()
/linux-6.1.9/arch/ia64/kernel/
Dsetup.c98 static struct resource code_resource = { variable
239 code_resource.start = ia64_tpa(_text); in register_memory()
240 code_resource.end = ia64_tpa(_etext) - 1; in register_memory()
245 efi_initialize_iomem_resources(&code_resource, &data_resource, in register_memory()
Defi.c1171 efi_initialize_iomem_resources(struct resource *code_resource, in efi_initialize_iomem_resources() argument
1264 insert_resource(res, code_resource); in efi_initialize_iomem_resources()
/linux-6.1.9/arch/sparc/mm/
Dinit_64.c3035 static struct resource code_resource = { variable
3057 code_resource.start = compute_kern_paddr(_text); in kernel_lds_init()
3058 code_resource.end = compute_kern_paddr(_etext - 1); in kernel_lds_init()
3090 insert_resource(res, &code_resource); in report_memory()
/linux-6.1.9/include/linux/
Defi.h744 extern void efi_initialize_iomem_resources(struct resource *code_resource,