Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/firmware/efi/libstub/
Darm64-stub.c140 if (image->image_base != _text) in handle_kernel_image()
143 if (!IS_ALIGNED((u64)_text, SEGMENT_ALIGN)) in handle_kernel_image()
147 kernel_size = _edata - _text; in handle_kernel_image()
165 if (!check_image_region((u64)_text, kernel_memsize)) { in handle_kernel_image()
167 } else if (IS_ALIGNED((u64)_text, min_kimg_align)) { in handle_kernel_image()
172 *image_addr = (u64)_text; in handle_kernel_image()
188 memcpy((void *)*image_addr, _text, kernel_size); in handle_kernel_image()
/linux-6.1.9/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.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.1.9/arch/loongarch/kernel/
Dhead.S26 .dword _end - _text /* Kernel image effective size */
34 SYM_DATA(kernel_asize, .long _end - _text);
35 SYM_DATA(kernel_fsize, .long _edata - _text);
36 SYM_DATA(kernel_offset, .long kernel_offset - _text);
Dmem.c59 memblock_reserve(__pa_symbol(&_text), in memblock_init()
60 __pa_symbol(&_end) - __pa_symbol(&_text)); in memblock_init()
/linux-6.1.9/arch/arm64/kernel/
Dimage-vars.h13 PROVIDE(__efistub_kernel_size = _edata - _text);
14 PROVIDE(__efistub_primary_entry_offset = primary_entry - _text);
34 PROVIDE(__efistub__text = _text);
Dvmlinux.lds.S73 ENTRY(_text)
157 _text = .; symbol
356 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned")
/linux-6.1.9/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.1.9/arch/x86/include/asm/
Dsetup.h78 extern char _text[];
97 return (unsigned long)&_text - __START_KERNEL; in kaslr_offset()
/linux-6.1.9/arch/sh/boot/compressed/
Dmisc.c42 extern int _text; /* Defined in vmlinux.lds.S */
132 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.1.9/drivers/power/supply/
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.1.9/scripts/
Dkallsyms.c62 static unsigned long long _text; variable
236 _text = addr; in read_symbol()
375 if (_text <= addr) in output_address()
376 printf("\tPTR\t_text + %#llx\n", addr - _text); in output_address()
378 printf("\tPTR\t_text - %#llx\n", _text - addr); in output_address()
/linux-6.1.9/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.1.9/arch/x86/kernel/
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()
Dsetup.c757 u64 start = __pa_symbol(_text); in e820_add_kernel_range()
783 memblock_reserve(__pa_symbol(_text), in early_reserve_memory()
784 (unsigned long)__end_of_kernel_reserve - (unsigned long)_text); in early_reserve_memory()
961 setup_initial_init_mm(_text, _etext, _edata, (void *)_brk_end); in setup_arch()
963 code_resource.start = __pa_symbol(_text); in setup_arch()
/linux-6.1.9/arch/mips/mm/
Dphysaddr.c45 VIRTUAL_BUG_ON(x < (unsigned long)_text || in __phys_addr_symbol()
/linux-6.1.9/arch/s390/purgatory/
Dpurgatory.lds.S19 _text = .; /* Text */ symbol
/linux-6.1.9/arch/nios2/boot/compressed/
Dvmlinux.lds.S18 _text = .; symbol
/linux-6.1.9/kernel/printk/
Dprintk_ringbuffer.h285 static char _##name##_text[1U << ((avgtextbits) + (descbits))] \
287 _DEFINE_PRINTKRB(name, descbits, avgtextbits, &_##name##_text[0])
/linux-6.1.9/arch/sh/kernel/
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.1.9/arch/hexagon/kernel/
Dvmlinux.lds.S39 _text = .; symbol
/linux-6.1.9/arch/nios2/kernel/
Dvmlinux.lds.S21 _text = .; symbol
/linux-6.1.9/arch/alpha/kernel/
Dvmlinux.lds.S25 _text = .; /* Text and read-only data */ symbol
/linux-6.1.9/arch/openrisc/kernel/
Dvmlinux.lds.S44 _text = .; symbol

1234