Home
last modified time | relevance | path

Searched refs:_text (Results 1 – 25 of 106) sorted by relevance

12345

/openbmc/linux/drivers/firmware/efi/libstub/
H A Darm64-stub.c27 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 Drelocate.c135 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 Dvmlinux.lds.S39 _text = .; symbol
144 _kernel_asize = ABSOLUTE(_end - _text);
145 _kernel_fsize = ABSOLUTE(_edata - _text);
H A Dmem.c58 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 Drelocate.c268 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 Dsetup.c287 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 Dmemory.c111 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 Dsetup.h78 extern char _text[];
97 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
/openbmc/linux/arch/sh/boot/compressed/
H A Dmisc.c42 extern int _text; /* Defined in vmlinux.lds.S */
132 output_addr = __pa((unsigned long)&_text+PAGE_SIZE); in decompress_kernel()
H A Dhead_32.S104 .long ___pa(_text+PAGE_SIZE)
106 .long _text+PAGE_SIZE
/openbmc/u-boot/arch/arm/lib/
H A Delf_arm_efi.lds14 _text = .; symbol
24 _text_size = . - _text;
H A Delf_aarch64_efi.lds14 _text = .; symbol
24 _text_size = . - _text;
/openbmc/u-boot/arch/riscv/lib/
H A Delf_riscv32_efi.lds16 _text = .; symbol
26 _text_size = . - _text;
H A Delf_riscv64_efi.lds16 _text = .; symbol
26 _text_size = . - _text;
/openbmc/linux/arch/arm64/kernel/
H A Dimage-vars.h26 PROVIDE(__efistub__text = _text);
112 _kernel_codesize = ABSOLUTE(__inittext_end - _text);
H A Dvmlinux.lds.S73 ENTRY(_text)
170 _text = .; symbol
371 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned")
/openbmc/linux/drivers/power/supply/
H A Dpower_supply_sysfs.c31 #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 Dhead64.c90 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 Dinit.c158 (unsigned long)_text, (unsigned long)_etext, in mem_init()
159 (unsigned long)(_etext - _text) >> 10, in mem_init()
/openbmc/linux/scripts/
H A Dkallsyms.c49 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 Dkernel.ld7 _text = .; symbol
/openbmc/qemu/tests/tcg/loongarch64/system/
H A Dkernel.ld7 _text = .; symbol
/openbmc/linux/arch/loongarch/include/asm/
H A Dsetup.h43 return (unsigned long)&_text - VMLINUX_LOAD_ADDRESS; in kaslr_offset()
/openbmc/linux/arch/mips/mm/
H A Dphysaddr.c45 VIRTUAL_BUG_ON(x < (unsigned long)_text || in __phys_addr_symbol()
/openbmc/linux/kernel/printk/
H A Dprintk_ringbuffer.h285 static char _##name##_text[1U << ((avgtextbits) + (descbits))] \
287 _DEFINE_PRINTKRB(name, descbits, avgtextbits, &_##name##_text[0])

12345