Home
last modified time | relevance | path

Searched refs:_text (Results 1 – 25 of 67) 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.c198 void *destination = _text; in determine_relocation_address()
203 kernel_length = (unsigned long)_end - (unsigned long)_text; in determine_relocation_address()
236 void *location_new = _text; /* Default to original kernel start */ in relocate_kernel()
246 random_offset = (unsigned long)location_new - (unsigned long)(_text); in relocate_kernel()
248 reloc_offset = (unsigned long)_text - VMLINUX_LOAD_ADDRESS; in relocate_kernel()
252 kernel_length = (unsigned long)(_end) - (unsigned long)(_text); in relocate_kernel()
255 memcpy(location_new, _text, kernel_length); in relocate_kernel()
287 pr_cont(" .text @ 0x%px\n", _text); in show_kernel_relocation()
H A Dvmlinux.lds.S45 _text = .; symbol
161 _kernel_asize = ABSOLUTE(_end - _text);
162 _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/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/arm64/kernel/
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 Dvmlinux.lds.S94 ENTRY(_text)
192 _text = .; symbol
413 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned")
H A Dimage.h64 DEFINE_IMAGE_LE64(_kernel_size_le, _end - _text); \
/linux/arch/s390/purgatory/
H A Dpurgatory.lds.S19 _text = .; /* Text */ symbol
/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()
H A Dvmlinux.lds.S23 _text = .; /* Text and read-only data */ symbol
/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/nios2/boot/compressed/
H A Dvmlinux.lds.S18 _text = .; symbol
/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/arch/parisc/boot/compressed/
H A Dvmlinux.lds.S57 _text = .; /* Text */ symbol
/linux/arch/parisc/kernel/
H A Dcache.c565 size = (unsigned long)(_end - _text); in parisc_setup_cache_timing()
567 flush_kernel_dcache_range((unsigned long)_text, size); in parisc_setup_cache_timing()
597 size = (unsigned long)_end - (unsigned long)_text; in parisc_setup_cache_timing()
599 flush_tlb_kernel_range((unsigned long)_text, (unsigned long)_end); in parisc_setup_cache_timing()

123