Home
last modified time | relevance | path

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

123

/linux/drivers/firmware/efi/libstub/
H A 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/arch/loongarch/kernel/
H A Drelocate.c188 void *destination = _text; in determine_relocation_address()
193 kernel_length = (unsigned long)_end - (unsigned long)_text; in determine_relocation_address()
226 void *location_new = _text; /* Default to original kernel start */ in relocate_kernel()
236 random_offset = (unsigned long)location_new - (unsigned long)(_text); in relocate_kernel()
238 reloc_offset = (unsigned long)_text - VMLINUX_LOAD_ADDRESS; in relocate_kernel()
242 kernel_length = (unsigned long)(_end) - (unsigned long)(_text); in relocate_kernel()
245 memcpy(location_new, _text, kernel_length); in relocate_kernel()
277 pr_cont(" .text @ 0x%px\n", _text); in show_kernel_relocation()
H A Dvmlinux.lds.S40 _text = .; symbol
156 _kernel_asize = ABSOLUTE(_end - _text);
157 _kernel_fsize = ABSOLUTE(_edata - _text);
H A Dmem.c57 memblock_reserve(__pa_symbol(&_text), in memblock_init()
58 __pa_symbol(&_end) - __pa_symbol(&_text)); in memblock_init()
/linux/arch/arm64/kernel/
H A Dimage-vars.h36 PROVIDE(__efistub__text = _text);
64 PI_EXPORT_SYM(_text);
148 _kernel_codesize = ABSOLUTE(__inittext_end - _text);
H A Dvmlinux.lds.S83 ENTRY(_text)
181 _text = .; symbol
394 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned")
H A Dsetup.c217 kernel_code.start = __pa_symbol(_text); in request_standard_resources()
283 setup_initial_init_mm(_text, _etext, _edata, _end); in setup_arch()
326 if ((u64)_text % MIN_KIMG_ALIGN) in setup_arch()
H A Dimage.h64 DEFINE_IMAGE_LE64(_kernel_size_le, _end - _text); \
/linux/arch/arm64/kernel/pi/
H A Dmap_kernel.c85 map_segment(init_pg_dir, &pgdp, va_offset, _text, _stext, data_prot, in map_kernel()
210 map_range(&ptep, fdt, (u64)_text > fdt ? min((u64)_text, efdt) : efdt, in map_fdt()
244 u64 va_base, pa_base = (u64)&_text; in early_map_kernel()
/linux/arch/mips/dec/prom/
H A Dmemory.c111 end = __pa(&_text) - 0x00020000; in prom_free_prom_memory()
114 end = __pa(&_text); in prom_free_prom_memory()
/linux/arch/sh/boot/compressed/
H A Dmisc.c39 extern int _text; /* Defined in vmlinux.lds.S */
129 output_addr = __pa((unsigned long)&_text+PAGE_SIZE); in decompress_kernel()
H A Dhead_32.S104 .long ___pa(_text+PAGE_SIZE)
106 .long _text+PAGE_SIZE
/linux/arch/x86/include/asm/
H A Dsetup.h83 extern char _text[];
102 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
/linux/arch/sh/kernel/
H A 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/arch/xtensa/kernel/
H A 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()
/linux/arch/s390/purgatory/
H A Dpurgatory.lds.S19 _text = .; /* Text */ symbol
/linux/arch/nios2/boot/compressed/
H A Dvmlinux.lds.S18 _text = .; symbol
/linux/kernel/printk/
H A Dprintk_ringbuffer.h307 static char _##name##_text[1U << ((avgtextbits) + (descbits))] \
309 _DEFINE_PRINTKRB(name, descbits, avgtextbits, &_##name##_text[0])
/linux/arch/nios2/kernel/
H A Dvmlinux.lds.S21 _text = .; symbol
/linux/arch/hexagon/kernel/
H A Dvmlinux.lds.S39 _text = .; symbol
/linux/arch/alpha/kernel/
H A Dvmlinux.lds.S25 _text = .; /* Text and read-only data */ symbol
/linux/arch/openrisc/kernel/
H A Dvmlinux.lds.S44 _text = .; symbol
/linux/Documentation/translations/zh_TW/arch/loongarch/
H A Dbooting.rst42 u64 _end - _text /* 內核鏡像有效大小 */
/linux/Documentation/translations/zh_CN/arch/loongarch/
H A Dbooting.rst42 u64 _end - _text /* 内核镜像有效大小 */
/linux/kernel/
H A Dcrash_core.c243 phdr->p_vaddr = (unsigned long) _text; in crash_prepare_elf64_headers()
244 phdr->p_filesz = phdr->p_memsz = _end - _text; in crash_prepare_elf64_headers()
245 phdr->p_offset = phdr->p_paddr = __pa_symbol(_text); in crash_prepare_elf64_headers()

123