Home
last modified time | relevance | path

Searched refs:kernel_length (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/mips/kernel/
H A Drelocate.c56 static void __init sync_icache(void *kbase, unsigned long kernel_length) in sync_icache() argument
58 void *kend = kbase + kernel_length; in sync_icache()
267 unsigned long kernel_length; in determine_relocation_address() local
274 kernel_length = (long)_end - (long)(&_text); in determine_relocation_address()
278 if (offset < kernel_length) in determine_relocation_address()
279 offset += ALIGN(kernel_length, 0xffff); in determine_relocation_address()
327 unsigned long kernel_length; in relocate_kernel() local
347 kernel_length = (long)(&_relocation_start) - (long)(&_text); in relocate_kernel()
384 memcpy(loc_new, &_text, kernel_length); in relocate_kernel()
392 sync_icache(loc_new, kernel_length); in relocate_kernel()
/openbmc/linux/arch/loongarch/kernel/
H A Drelocate.c133 unsigned long kernel_length; in determine_relocation_address() local
140 kernel_length = (long)_end - (long)_text; in determine_relocation_address()
144 if (random_offset < kernel_length) in determine_relocation_address()
145 random_offset += ALIGN(kernel_length, 0xffff); in determine_relocation_address()
171 unsigned long kernel_length; in relocate_kernel() local
189 kernel_length = (long)(_end) - (long)(_text); in relocate_kernel()
192 memcpy(location_new, _text, kernel_length); in relocate_kernel()
/openbmc/linux/drivers/mtd/parsers/
H A Dparser_imagetag.c100 STR_NULL_TERMINATE(buf->kernel_length); in bcm963xx_parse_imagetag_partitions()
101 if (kstrtouint(buf->kernel_length, 10, &kernellen)) { in bcm963xx_parse_imagetag_partitions()
103 (int)sizeof(buf->kernel_length), in bcm963xx_parse_imagetag_partitions()
104 buf->kernel_length); in bcm963xx_parse_imagetag_partitions()
/openbmc/linux/include/linux/
H A Dbcm963xx_tag.h74 char kernel_length[IMAGE_LEN]; member