Home
last modified time | relevance | path

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

1234

/Linux-v5.4/arch/mips/kernel/
Drelocate.c255 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()
Dsetup.c315 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/
Dvmlinux.lds.S24 _text = .; symbol
42 _image_size = (_etext - _text) * 4;
/Linux-v5.4/arch/arm64/kernel/
Dimage-vars.h15 __efistub_stext_offset = stext - _text;
44 __efistub__text = _text;
Dvmlinux.lds.S23 ENTRY(_text)
109 _text = .; symbol
278 ASSERT(_text == (KIMAGE_VADDR + TEXT_OFFSET), "HEAD is misaligned")
Defi-entry.S45 adr_l x8, _text
66 adr_l x1, _text
/Linux-v5.4/arch/mips/pmcs-msp71xx/
Dmsp_prom.c458 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/
Dmemory.c113 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/
Dsetup.h74 extern char _text[];
83 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
/Linux-v5.4/arch/sh/boot/compressed/
Dmisc.c42 extern int _text; /* Defined in vmlinux.lds.S */
131 output_addr = __pa((unsigned long)&_text+PAGE_SIZE); in decompress_kernel()
Dhead_32.S104 .long ___pa(_text+PAGE_SIZE)
106 .long _text+PAGE_SIZE
/Linux-v5.4/scripts/
Dkallsyms.c46 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/
Dhead64.c68 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()
Dsetup.c758 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/
Dinit.c125 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/
Dinit.c359 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/
Dinit_32.c242 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/
Dinit.c194 (unsigned long)_text, (unsigned long)_etext, in mem_init()
195 (unsigned long)(_etext - _text) >> 10, in mem_init()
/Linux-v5.4/arch/unicore32/mm/
Dinit.c134 memblock_reserve(__pa(_text), _end - _text); in uc32_memblock_init()
/Linux-v5.4/arch/s390/purgatory/
Dpurgatory.lds.S19 _text = .; /* Text */ symbol
/Linux-v5.4/arch/nios2/boot/compressed/
Dvmlinux.lds.S18 _text = .; symbol
/Linux-v5.4/arch/unicore32/kernel/
Dvmlinux.lds.S25 _text = .; symbol
/Linux-v5.4/arch/nios2/kernel/
Dvmlinux.lds.S21 _text = .; symbol
/Linux-v5.4/arch/hexagon/kernel/
Dvmlinux.lds.S39 _text = .; symbol
/Linux-v5.4/arch/h8300/kernel/
Dvmlinux.lds.S27 _text = .; symbol

1234