/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | arm64-stub.c | 27 if (image->image_base != _text) { in handle_kernel_image() 29 image->image_base = _text; in handle_kernel_image() 32 if (!IS_ALIGNED((u64)_text, SEGMENT_ALIGN)) in handle_kernel_image() 36 kernel_size = _edata - _text; in handle_kernel_image() 37 kernel_codesize = __inittext_end - _text; in handle_kernel_image() 40 *image_addr = (unsigned long)_text; in handle_kernel_image() 64 return (char *)primary_entry - _text; in primary_entry_offset()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | relocate.c | 135 void *destination = _text; in determine_relocation_address() 140 kernel_length = (long)_end - (long)_text; in determine_relocation_address() 173 void *location_new = _text; /* Default to original kernel start */ in relocate_kernel() 183 random_offset = (unsigned long)location_new - (unsigned long)(_text); in relocate_kernel() 185 reloc_offset = (unsigned long)_text - VMLINUX_LOAD_ADDRESS; in relocate_kernel() 189 kernel_length = (long)(_end) - (long)(_text); in relocate_kernel() 192 memcpy(location_new, _text, kernel_length); in relocate_kernel() 224 pr_cont(" .text @ 0x%px\n", _text); in show_kernel_relocation()
|
H A D | vmlinux.lds.S | 39 _text = .; symbol 144 _kernel_asize = ABSOLUTE(_end - _text); 145 _kernel_fsize = ABSOLUTE(_edata - _text);
|
H A D | mem.c | 58 memblock_reserve(__pa_symbol(&_text), in memblock_init() 59 __pa_symbol(&_end) - __pa_symbol(&_text)); in memblock_init()
|
/openbmc/linux/arch/mips/kernel/ |
H A 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()
|
H A D | setup.c | 287 memblock_reserve(__pa_symbol(&_text), in bootmem_init() 288 __pa_symbol(&_end) - __pa_symbol(&_text)); in bootmem_init() 516 phys_addr_t start = __pa_symbol(&_text); in check_kernel_sections_mem() 705 code_resource.start = __pa_symbol(&_text); in resource_init()
|
/openbmc/linux/arch/mips/dec/prom/ |
H A D | memory.c | 111 end = __pa(&_text) - 0x00020000; in prom_free_prom_memory() 114 end = __pa(&_text); in prom_free_prom_memory()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | setup.h | 78 extern char _text[]; 97 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
|
/openbmc/linux/arch/sh/boot/compressed/ |
H A D | misc.c | 42 extern int _text; /* Defined in vmlinux.lds.S */ 132 output_addr = __pa((unsigned long)&_text+PAGE_SIZE); in decompress_kernel()
|
H A D | head_32.S | 104 .long ___pa(_text+PAGE_SIZE) 106 .long _text+PAGE_SIZE
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | elf_arm_efi.lds | 14 _text = .; symbol 24 _text_size = . - _text;
|
H A D | elf_aarch64_efi.lds | 14 _text = .; symbol 24 _text_size = . - _text;
|
/openbmc/u-boot/arch/riscv/lib/ |
H A D | elf_riscv32_efi.lds | 16 _text = .; symbol 26 _text_size = . - _text;
|
H A D | elf_riscv64_efi.lds | 16 _text = .; symbol 26 _text_size = . - _text;
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | image-vars.h | 26 PROVIDE(__efistub__text = _text); 112 _kernel_codesize = ABSOLUTE(__inittext_end - _text);
|
H A D | vmlinux.lds.S | 73 ENTRY(_text) 170 _text = .; symbol 371 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned")
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_sysfs.c | 31 #define _POWER_SUPPLY_ATTR(_name, _text, _len) \ argument 36 .text_values = _text, \ 41 #define _POWER_SUPPLY_ENUM_ATTR(_name, _text) \ argument 42 _POWER_SUPPLY_ATTR(_name, _text, ARRAY_SIZE(_text))
|
/openbmc/linux/arch/x86/kernel/ |
H A D | head64.c | 90 return ptr - (void *)_text + (void *)physaddr; in fixup_pointer() 202 load_delta = physaddr - (unsigned long)(_text - __START_KERNEL_map); in __startup_64() 275 for (i = 0; i < DIV_ROUND_UP(_end - _text, PMD_SIZE); i++) { in __startup_64() 300 for (i = 0; i < pmd_index((unsigned long)_text); i++) in __startup_64()
|
/openbmc/linux/arch/xtensa/mm/ |
H A D | init.c | 158 (unsigned long)_text, (unsigned long)_etext, in mem_init() 159 (unsigned long)(_etext - _text) >> 10, in mem_init()
|
/openbmc/linux/scripts/ |
H A D | kallsyms.c | 49 static unsigned long long _text; variable 163 _text = addr; in read_symbol() 304 if (_text <= addr) in output_address() 305 printf("\tPTR\t_text + %#llx\n", addr - _text); in output_address() 307 printf("\tPTR\t_text - %#llx\n", _text - addr); in output_address()
|
/openbmc/qemu/tests/tcg/alpha/system/ |
H A D | kernel.ld | 7 _text = .; symbol
|
/openbmc/qemu/tests/tcg/loongarch64/system/ |
H A D | kernel.ld | 7 _text = .; symbol
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | setup.h | 43 return (unsigned long)&_text - VMLINUX_LOAD_ADDRESS; in kaslr_offset()
|
/openbmc/linux/arch/mips/mm/ |
H A D | physaddr.c | 45 VIRTUAL_BUG_ON(x < (unsigned long)_text || in __phys_addr_symbol()
|
/openbmc/linux/kernel/printk/ |
H A D | printk_ringbuffer.h | 285 static char _##name##_text[1U << ((avgtextbits) + (descbits))] \ 287 _DEFINE_PRINTKRB(name, descbits, avgtextbits, &_##name##_text[0])
|