| /Linux-v5.4/arch/mips/kernel/ |
| D | relocate.c | 255 void *dest = &_text; in determine_relocation_address() 261 kernel_length = (long)_end - (long)(&_text); in determine_relocation_address() 320 kernel_length = (long)(&_relocation_start) - (long)(&_text); in relocate_kernel() 327 offset = (unsigned long)loc_new - (unsigned long)(&_text); in relocate_kernel() 346 if (fdt_phys >= virt_to_phys(RELOCATED(&_text)) && in relocate_kernel() 357 memcpy(loc_new, &_text, kernel_length); in relocate_kernel() 360 res = do_relocations(&_text, loc_new, offset); in relocate_kernel() 412 offset = __pa_symbol(_text) - __pa_symbol(VMLINUX_LOAD_ADDRESS); in show_kernel_relocation() 417 pr_cont(" .text @ 0x%pK\n", _text); in show_kernel_relocation()
|
| D | setup.c | 315 memblock_reserve(__pa_symbol(&_text), in bootmem_init() 316 __pa_symbol(&_end) - __pa_symbol(&_text)); in bootmem_init() 532 phys_addr_t start = PFN_PHYS(PFN_DOWN(__pa_symbol(&_text))); in check_kernel_sections_mem() 679 code_resource.start = __pa_symbol(&_text); in resource_init()
|
| /Linux-v5.4/arch/unicore32/boot/compressed/ |
| D | vmlinux.lds.S | 24 _text = .; symbol 42 _image_size = (_etext - _text) * 4;
|
| /Linux-v5.4/arch/arm64/kernel/ |
| D | image-vars.h | 15 __efistub_stext_offset = stext - _text; 44 __efistub__text = _text;
|
| D | vmlinux.lds.S | 23 ENTRY(_text) 109 _text = .; symbol 278 ASSERT(_text == (KIMAGE_VADDR + TEXT_OFFSET), "HEAD is misaligned")
|
| D | efi-entry.S | 45 adr_l x8, _text 66 adr_l x1, _text
|
| /Linux-v5.4/arch/mips/pmcs-msp71xx/ |
| D | msp_prom.c | 458 heaptop = CPHYSADDR((u32)&_text); in prom_getmdesc() 469 heaptop = CPHYSADDR((u32)&_text); in prom_getmdesc() 493 if (heaptop != CPHYSADDR((u32)_text)) { in prom_getmdesc() 497 mdesc[i].size = CPHYSADDR((u32)_text) - mdesc[i].base; in prom_getmdesc() 503 mdesc[i].base = CPHYSADDR((u32)_text); in prom_getmdesc()
|
| /Linux-v5.4/arch/mips/dec/prom/ |
| D | memory.c | 113 end = __pa(&_text) - 0x00020000; in prom_free_prom_memory() 116 end = __pa(&_text); in prom_free_prom_memory()
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | setup.h | 74 extern char _text[]; 83 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
|
| /Linux-v5.4/arch/sh/boot/compressed/ |
| D | misc.c | 42 extern int _text; /* Defined in vmlinux.lds.S */ 131 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-v5.4/scripts/ |
| D | kallsyms.c | 46 static unsigned long long _text; variable 130 _text = s->addr; in read_symbol() 390 if (_text <= table[i].addr) in write_src() 392 table[i].addr - _text); in write_src() 395 _text - table[i].addr); in write_src() 404 printf("\tPTR\t_text - %#llx\n", _text - relative_base); in write_src()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | head64.c | 68 return ptr - (void *)_text + (void *)physaddr; in fixup_pointer() 138 load_delta = physaddr - (unsigned long)(_text - __START_KERNEL_map); in __startup_64() 214 for (i = 0; i < DIV_ROUND_UP(_end - _text, PMD_SIZE); i++) { in __startup_64() 239 for (i = 0; i < pmd_index((unsigned long)_text); i++) in __startup_64()
|
| D | setup.c | 758 u64 start = __pa_symbol(_text); in e820_add_kernel_range() 845 memblock_reserve(__pa_symbol(_text), in setup_arch() 846 (unsigned long)__end_of_kernel_reserve - (unsigned long)_text); in setup_arch() 945 init_mm.start_code = (unsigned long) _text; in setup_arch() 952 code_resource.start = __pa_symbol(_text); in setup_arch()
|
| /Linux-v5.4/arch/microblaze/mm/ |
| D | init.c | 125 if ((memory_start <= (u32)_text) && in setup_memory() 126 ((u32)_text <= (memory_start + lowmem_size - 1))) { in setup_memory() 142 kernel_align_start = PAGE_DOWN((u32)_text); in setup_memory()
|
| /Linux-v5.4/arch/arm64/mm/ |
| D | init.c | 359 memblock_add(__pa_symbol(_text), (u64)(_end - _text)); in arm64_memblock_init() 412 memblock_reserve(__pa_symbol(_text), _end - _text); in arm64_memblock_init()
|
| /Linux-v5.4/arch/x86/mm/ |
| D | init_32.c | 242 if (addr >= (unsigned long)_text && addr <= (unsigned long)__init_end) in is_kernel_text() 826 (unsigned long)&_text, (unsigned long)&_etext, in mem_init() 827 ((unsigned long)&_etext - (unsigned long)&_text) >> 10); in mem_init() 879 unsigned long start = PFN_ALIGN(_text); in set_kernel_text_rw() 893 unsigned long start = PFN_ALIGN(_text); in set_kernel_text_ro() 924 unsigned long start = PFN_ALIGN(_text); in mark_rodata_ro()
|
| /Linux-v5.4/arch/xtensa/mm/ |
| D | init.c | 194 (unsigned long)_text, (unsigned long)_etext, in mem_init() 195 (unsigned long)(_etext - _text) >> 10, in mem_init()
|
| /Linux-v5.4/arch/unicore32/mm/ |
| D | init.c | 134 memblock_reserve(__pa(_text), _end - _text); in uc32_memblock_init()
|
| /Linux-v5.4/arch/s390/purgatory/ |
| D | purgatory.lds.S | 19 _text = .; /* Text */ symbol
|
| /Linux-v5.4/arch/nios2/boot/compressed/ |
| D | vmlinux.lds.S | 18 _text = .; symbol
|
| /Linux-v5.4/arch/unicore32/kernel/ |
| D | vmlinux.lds.S | 25 _text = .; symbol
|
| /Linux-v5.4/arch/nios2/kernel/ |
| D | vmlinux.lds.S | 21 _text = .; symbol
|
| /Linux-v5.4/arch/hexagon/kernel/ |
| D | vmlinux.lds.S | 39 _text = .; symbol
|
| /Linux-v5.4/arch/h8300/kernel/ |
| D | vmlinux.lds.S | 27 _text = .; symbol
|