/linux-6.12.1/drivers/firmware/efi/libstub/ |
D | arm64-stub.c | 26 if (image->image_base != _text) { in handle_kernel_image() 28 image->image_base = _text; in handle_kernel_image() 31 if (!IS_ALIGNED((u64)_text, SEGMENT_ALIGN)) in handle_kernel_image() 35 kernel_size = _edata - _text; in handle_kernel_image() 36 kernel_codesize = __inittext_end - _text; in handle_kernel_image() 39 *image_addr = (unsigned long)_text; in handle_kernel_image() 57 return (char *)primary_entry - _text; in primary_entry_offset()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | relocate.c | 177 void *destination = _text; in determine_relocation_address() 182 kernel_length = (long)_end - (long)_text; in determine_relocation_address() 215 void *location_new = _text; /* Default to original kernel start */ in relocate_kernel() 225 random_offset = (unsigned long)location_new - (unsigned long)(_text); in relocate_kernel() 227 reloc_offset = (unsigned long)_text - VMLINUX_LOAD_ADDRESS; in relocate_kernel() 231 kernel_length = (long)(_end) - (long)(_text); in relocate_kernel() 234 memcpy(location_new, _text, kernel_length); in relocate_kernel() 266 pr_cont(" .text @ 0x%px\n", _text); in show_kernel_relocation()
|
D | vmlinux.lds.S | 40 _text = .; symbol 155 _kernel_asize = ABSOLUTE(_end - _text); 156 _kernel_fsize = ABSOLUTE(_edata - _text);
|
D | mem.c | 58 memblock_reserve(__pa_symbol(&_text), in memblock_init() 59 __pa_symbol(&_end) - __pa_symbol(&_text)); in memblock_init()
|
/linux-6.12.1/arch/mips/kernel/ |
D | relocate.c | 268 void *dest = &_text; in determine_relocation_address() 274 kernel_length = (long)_end - (long)(&_text); in determine_relocation_address() 347 kernel_length = (long)(&_relocation_start) - (long)(&_text); in relocate_kernel() 354 offset = (unsigned long)loc_new - (unsigned long)(&_text); in relocate_kernel() 373 if (fdt_phys >= virt_to_phys(RELOCATED(&_text)) && in relocate_kernel() 384 memcpy(loc_new, &_text, kernel_length); in relocate_kernel() 387 res = do_relocations(&_text, loc_new, offset); in relocate_kernel() 443 pr_cont(" .text @ 0x%pK\n", _text); in show_kernel_relocation()
|
D | setup.c | 283 memblock_reserve(__pa_symbol(&_text), in bootmem_init() 284 __pa_symbol(&_end) - __pa_symbol(&_text)); in bootmem_init() 508 phys_addr_t start = __pa_symbol(&_text); in check_kernel_sections_mem() 697 code_resource.start = __pa_symbol(&_text); in resource_init()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | image-vars.h | 26 PROVIDE(__efistub__text = _text); 62 PROVIDE(__pi__text = _text); 144 _kernel_codesize = ABSOLUTE(__inittext_end - _text);
|
D | vmlinux.lds.S | 73 ENTRY(_text) 170 _text = .; symbol 378 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned")
|
/linux-6.12.1/arch/mips/dec/prom/ |
D | memory.c | 111 end = __pa(&_text) - 0x00020000; in prom_free_prom_memory() 114 end = __pa(&_text); in prom_free_prom_memory()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | setup.h | 78 extern char _text[]; 97 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
|
/linux-6.12.1/arch/sh/boot/compressed/ |
D | misc.c | 39 extern int _text; /* Defined in vmlinux.lds.S */ 129 output_addr = __pa((unsigned long)&_text+PAGE_SIZE); in decompress_kernel()
|
D | head_32.S | 104 .long ___pa(_text+PAGE_SIZE) 106 .long _text+PAGE_SIZE
|
/linux-6.12.1/drivers/power/supply/ |
D | power_supply_sysfs.c | 32 #define _POWER_SUPPLY_ATTR(_name, _text, _len) \ argument 37 .text_values = _text, \ 42 #define _POWER_SUPPLY_ENUM_ATTR(_name, _text) \ argument 43 _POWER_SUPPLY_ATTR(_name, _text, ARRAY_SIZE(_text))
|
/linux-6.12.1/arch/arm64/kernel/pi/ |
D | map_kernel.c | 198 map_range(&ptep, fdt, (u64)_text > fdt ? min((u64)_text, efdt) : efdt, in map_fdt() 207 u64 va_base, pa_base = (u64)&_text; in early_map_kernel()
|
/linux-6.12.1/scripts/ |
D | kallsyms.c | 49 static unsigned long long _text; variable 160 _text = addr; in read_symbol() 483 if (_text <= relative_base) in write_src() 484 printf("\tPTR\t_text + %#llx\n", relative_base - _text); in write_src() 486 printf("\tPTR\t_text - %#llx\n", _text - relative_base); in write_src()
|
/linux-6.12.1/arch/xtensa/mm/ |
D | init.c | 158 (unsigned long)_text, (unsigned long)_etext, in mem_init() 159 (unsigned long)(_etext - _text) >> 10, in mem_init()
|
/linux-6.12.1/arch/x86/kernel/ |
D | setup.c | 623 u64 start = __pa_symbol(_text); in e820_add_kernel_range() 649 memblock_reserve(__pa_symbol(_text), in early_reserve_memory() 650 (unsigned long)__end_of_kernel_reserve - (unsigned long)_text); in early_reserve_memory() 843 setup_initial_init_mm(_text, _etext, _edata, (void *)_brk_end); in setup_arch() 845 code_resource.start = __pa_symbol(_text); in setup_arch()
|
/linux-6.12.1/arch/arm64/mm/ |
D | init.c | 248 memblock_add(__pa_symbol(_text), (u64)(_end - _text)); in arm64_memblock_init() 486 u64 kernel_start = (u64)_text; in module_init_limits()
|
/linux-6.12.1/arch/mips/mm/ |
D | physaddr.c | 45 VIRTUAL_BUG_ON(x < (unsigned long)_text || in __phys_addr_symbol()
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | setup.h | 48 return (unsigned long)&_text - VMLINUX_LOAD_ADDRESS; in kaslr_offset()
|
/linux-6.12.1/arch/s390/purgatory/ |
D | purgatory.lds.S | 19 _text = .; /* Text */ symbol
|
/linux-6.12.1/arch/nios2/boot/compressed/ |
D | vmlinux.lds.S | 18 _text = .; symbol
|
/linux-6.12.1/arch/nios2/kernel/ |
D | vmlinux.lds.S | 21 _text = .; symbol
|
/linux-6.12.1/arch/sh/kernel/ |
D | setup.c | 293 setup_initial_init_mm(_text, _etext, _edata, _end); in setup_arch() 295 code_resource.start = virt_to_phys(_text); in setup_arch()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | process.c | 384 pc = MAKE_PC_FROM_RA(p->thread.ra, _text); in __get_wchan() 396 pc = MAKE_PC_FROM_RA(SPILL_SLOT(sp, 0), _text); in __get_wchan()
|