/linux-6.3-rc2/drivers/firmware/efi/libstub/ |
A D | arm64-stub.c | 88 if (image->image_base != _text) in handle_kernel_image() 91 if (!IS_ALIGNED((u64)_text, SEGMENT_ALIGN)) in handle_kernel_image() 95 kernel_size = _edata - _text; in handle_kernel_image() 96 kernel_codesize = __inittext_end - _text; in handle_kernel_image() 115 if (!check_image_region((u64)_text, kernel_memsize)) { in handle_kernel_image() 117 } else if (IS_ALIGNED((u64)_text, min_kimg_align) && in handle_kernel_image() 123 *image_addr = (u64)_text; in handle_kernel_image() 140 memcpy((void *)*image_addr, _text, kernel_size); in handle_kernel_image() 157 return (char *)primary_entry - _text; in primary_entry_offset()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | relocate.c | 126 void *destination = _text; in determine_relocation_address() 131 kernel_length = (long)_end - (long)_text; in determine_relocation_address() 164 void *location_new = _text; /* Default to original kernel start */ in relocate_kernel() 175 random_offset = (unsigned long)location_new - (unsigned long)(_text); in relocate_kernel() 177 reloc_offset = (unsigned long)_text - VMLINUX_LOAD_ADDRESS; in relocate_kernel() 180 kernel_length = (long)(_end) - (long)(_text); in relocate_kernel() 183 memcpy(location_new, _text, kernel_length); in relocate_kernel() 218 pr_cont(" .text @ 0x%px\n", _text); in show_kernel_relocation()
|
A D | head.S | 26 .dword _end - _text /* Kernel image effective size */ 35 SYM_DATA(kernel_asize, .long _end - _text); 36 SYM_DATA(kernel_fsize, .long _edata - _text); 37 SYM_DATA(kernel_offset, .long kernel_offset - _text);
|
A D | mem.c | 59 memblock_reserve(__pa_symbol(&_text), in memblock_init() 60 __pa_symbol(&_end) - __pa_symbol(&_text)); in memblock_init()
|
/linux-6.3-rc2/arch/mips/kernel/ |
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()
|
A D | setup.c | 284 memblock_reserve(__pa_symbol(&_text), in bootmem_init() 285 __pa_symbol(&_end) - __pa_symbol(&_text)); in bootmem_init() 513 phys_addr_t start = __pa_symbol(&_text); in check_kernel_sections_mem() 702 code_resource.start = __pa_symbol(&_text); in resource_init()
|
/linux-6.3-rc2/arch/mips/dec/prom/ |
A D | memory.c | 111 end = __pa(&_text) - 0x00020000; in prom_free_prom_memory() 114 end = __pa(&_text); in prom_free_prom_memory()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | setup.h | 78 extern char _text[]; 97 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
|
/linux-6.3-rc2/arch/sh/boot/compressed/ |
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()
|
A D | head_32.S | 104 .long ___pa(_text+PAGE_SIZE) 106 .long _text+PAGE_SIZE
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | vmlinux.lds.S | 73 ENTRY(_text) 170 _text = .; symbol 372 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned")
|
/linux-6.3-rc2/drivers/power/supply/ |
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))
|
/linux-6.3-rc2/arch/xtensa/mm/ |
A D | init.c | 158 (unsigned long)_text, (unsigned long)_etext, in mem_init() 159 (unsigned long)(_etext - _text) >> 10, in mem_init()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | head64.c | 91 return ptr - (void *)_text + (void *)physaddr; in fixup_pointer() 203 load_delta = physaddr - (unsigned long)(_text - __START_KERNEL_map); in __startup_64() 276 for (i = 0; i < DIV_ROUND_UP(_end - _text, PMD_SIZE); i++) { in __startup_64() 301 for (i = 0; i < pmd_index((unsigned long)_text); i++) in __startup_64()
|
A D | setup.c | 753 u64 start = __pa_symbol(_text); in e820_add_kernel_range() 779 memblock_reserve(__pa_symbol(_text), in early_reserve_memory() 780 (unsigned long)__end_of_kernel_reserve - (unsigned long)_text); in early_reserve_memory() 957 setup_initial_init_mm(_text, _etext, _edata, (void *)_brk_end); in setup_arch() 959 code_resource.start = __pa_symbol(_text); in setup_arch()
|
/linux-6.3-rc2/scripts/ |
A D | kallsyms.c | 64 static unsigned long long _text; variable 239 _text = addr; in read_symbol() 378 if (_text <= addr) in output_address() 379 printf("\tPTR\t_text + %#llx\n", addr - _text); in output_address() 381 printf("\tPTR\t_text - %#llx\n", _text - addr); in output_address()
|
/linux-6.3-rc2/arch/mips/mm/ |
A D | physaddr.c | 45 VIRTUAL_BUG_ON(x < (unsigned long)_text || in __phys_addr_symbol()
|
/linux-6.3-rc2/arch/s390/purgatory/ |
A D | purgatory.lds.S | 19 _text = .; /* Text */ symbol
|
/linux-6.3-rc2/arch/nios2/boot/compressed/ |
A D | vmlinux.lds.S | 18 _text = .; symbol
|
/linux-6.3-rc2/arch/sh/kernel/ |
A D | setup.c | 297 setup_initial_init_mm(_text, _etext, _edata, _end); in setup_arch() 299 code_resource.start = virt_to_phys(_text); in setup_arch()
|
/linux-6.3-rc2/kernel/printk/ |
A D | printk_ringbuffer.h | 285 static char _##name##_text[1U << ((avgtextbits) + (descbits))] \ 287 _DEFINE_PRINTKRB(name, descbits, avgtextbits, &_##name##_text[0])
|
/linux-6.3-rc2/arch/hexagon/kernel/ |
A D | vmlinux.lds.S | 39 _text = .; symbol
|
/linux-6.3-rc2/arch/nios2/kernel/ |
A D | vmlinux.lds.S | 21 _text = .; symbol
|
/linux-6.3-rc2/arch/openrisc/kernel/ |
A D | vmlinux.lds.S | 44 _text = .; symbol
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | vmlinux.lds.S | 25 _text = .; /* Text and read-only data */ symbol
|