Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/firmware/efi/libstub/
A Darm64-stub.c88 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 Drelocate.c126 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 Dhead.S26 .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 Dmem.c59 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 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()
A Dsetup.c284 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 Dmemory.c111 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 Dsetup.h78 extern char _text[];
97 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
/linux-6.3-rc2/arch/sh/boot/compressed/
A Dmisc.c42 extern int _text; /* Defined in vmlinux.lds.S */
132 output_addr = __pa((unsigned long)&_text+PAGE_SIZE); in decompress_kernel()
A Dhead_32.S104 .long ___pa(_text+PAGE_SIZE)
106 .long _text+PAGE_SIZE
/linux-6.3-rc2/arch/arm64/kernel/
A Dvmlinux.lds.S73 ENTRY(_text)
170 _text = .; symbol
372 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned")
/linux-6.3-rc2/drivers/power/supply/
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))
/linux-6.3-rc2/arch/xtensa/mm/
A Dinit.c158 (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 Dhead64.c91 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 Dsetup.c753 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 Dkallsyms.c64 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 Dphysaddr.c45 VIRTUAL_BUG_ON(x < (unsigned long)_text || in __phys_addr_symbol()
/linux-6.3-rc2/arch/s390/purgatory/
A Dpurgatory.lds.S19 _text = .; /* Text */ symbol
/linux-6.3-rc2/arch/nios2/boot/compressed/
A Dvmlinux.lds.S18 _text = .; symbol
/linux-6.3-rc2/arch/sh/kernel/
A Dsetup.c297 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 Dprintk_ringbuffer.h285 static char _##name##_text[1U << ((avgtextbits) + (descbits))] \
287 _DEFINE_PRINTKRB(name, descbits, avgtextbits, &_##name##_text[0])
/linux-6.3-rc2/arch/hexagon/kernel/
A Dvmlinux.lds.S39 _text = .; symbol
/linux-6.3-rc2/arch/nios2/kernel/
A Dvmlinux.lds.S21 _text = .; symbol
/linux-6.3-rc2/arch/openrisc/kernel/
A Dvmlinux.lds.S44 _text = .; symbol
/linux-6.3-rc2/arch/alpha/kernel/
A Dvmlinux.lds.S25 _text = .; /* Text and read-only data */ symbol

Completed in 35 milliseconds

1234