Home
last modified time | relevance | path

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

1234

/linux-6.12.1/drivers/firmware/efi/libstub/
Darm64-stub.c26 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/
Drelocate.c177 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()
Dvmlinux.lds.S40 _text = .; symbol
155 _kernel_asize = ABSOLUTE(_end - _text);
156 _kernel_fsize = ABSOLUTE(_edata - _text);
Dmem.c58 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/
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()
Dsetup.c283 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/
Dimage-vars.h26 PROVIDE(__efistub__text = _text);
62 PROVIDE(__pi__text = _text);
144 _kernel_codesize = ABSOLUTE(__inittext_end - _text);
Dvmlinux.lds.S73 ENTRY(_text)
170 _text = .; symbol
378 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned")
/linux-6.12.1/arch/mips/dec/prom/
Dmemory.c111 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/
Dsetup.h78 extern char _text[];
97 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
/linux-6.12.1/arch/sh/boot/compressed/
Dmisc.c39 extern int _text; /* Defined in vmlinux.lds.S */
129 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-6.12.1/drivers/power/supply/
Dpower_supply_sysfs.c32 #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/
Dmap_kernel.c198 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/
Dkallsyms.c49 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/
Dinit.c158 (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/
Dsetup.c623 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/
Dinit.c248 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/
Dphysaddr.c45 VIRTUAL_BUG_ON(x < (unsigned long)_text || in __phys_addr_symbol()
/linux-6.12.1/arch/loongarch/include/asm/
Dsetup.h48 return (unsigned long)&_text - VMLINUX_LOAD_ADDRESS; in kaslr_offset()
/linux-6.12.1/arch/s390/purgatory/
Dpurgatory.lds.S19 _text = .; /* Text */ symbol
/linux-6.12.1/arch/nios2/boot/compressed/
Dvmlinux.lds.S18 _text = .; symbol
/linux-6.12.1/arch/nios2/kernel/
Dvmlinux.lds.S21 _text = .; symbol
/linux-6.12.1/arch/sh/kernel/
Dsetup.c293 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/
Dprocess.c384 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()

1234