Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sh/kernel/
Dsetup.c81 static struct resource code_resource = { variable
222 request_resource(res, &code_resource); in __add_active_range()
302 code_resource.start = virt_to_phys(_text); in setup_arch()
303 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
/Linux-v4.19/arch/x86/kernel/
Dsetup.c151 static struct resource code_resource = { variable
930 code_resource.start = __pa_symbol(_text); in setup_arch()
931 code_resource.end = __pa_symbol(_etext)-1; in setup_arch()
1022 insert_resource(&iomem_resource, &code_resource); in setup_arch()
/Linux-v4.19/arch/s390/kernel/
Dsetup.c391 static struct resource code_resource = { variable
407 &code_resource,
418 code_resource.start = (unsigned long) _text; in setup_resources()
419 code_resource.end = (unsigned long) _etext - 1; in setup_resources()
/Linux-v4.19/arch/parisc/mm/
Dinit.c62 static struct resource code_resource = { variable
372 code_resource.start = virt_to_phys(_text); in setup_bootmem()
373 code_resource.end = virt_to_phys(&data_start)-1; in setup_bootmem()
380 request_resource(res, &code_resource); in setup_bootmem()
/Linux-v4.19/arch/ia64/kernel/
Dsetup.c95 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-v4.19/arch/mips/kernel/
Dsetup.c82 static struct resource code_resource = { .name = "Kernel code", }; variable
956 code_resource.start = __pa_symbol(&_text); in resource_init()
957 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init()
999 request_resource(res, &code_resource); in resource_init()
/Linux-v4.19/arch/sparc/mm/
Dinit_64.c3077 static struct resource code_resource = { variable
3099 code_resource.start = compute_kern_paddr(_text); in kernel_lds_init()
3100 code_resource.end = compute_kern_paddr(_etext - 1); in kernel_lds_init()
3132 insert_resource(res, &code_resource); in report_memory()
/Linux-v4.19/include/linux/
Defi.h1044 extern void efi_initialize_iomem_resources(struct resource *code_resource,