Home
last modified time | relevance | path

Searched refs:kernel_addr (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/firmware/efi/libstub/
Dloongarch-stub.c25 unsigned long kernel_addr = 0; in handle_kernel_image() local
27 kernel_addr = (unsigned long)&kernel_offset - kernel_offset; in handle_kernel_image()
29 status = efi_relocate_kernel(&kernel_addr, kernel_fsize, kernel_asize, in handle_kernel_image()
32 *image_addr = kernel_addr; in handle_kernel_image()
38 unsigned long kernel_entry_address(unsigned long kernel_addr) in kernel_entry_address() argument
42 return (unsigned long)&kernel_entry - base + kernel_addr; in kernel_entry_address()
Dloongarch.c40 unsigned long __weak kernel_entry_address(unsigned long kernel_addr) in kernel_entry_address() argument
42 return *(unsigned long *)(kernel_addr + 8) - VMLINUX_LOAD_ADDRESS + kernel_addr; in kernel_entry_address()
46 unsigned long kernel_addr, char *cmdline_ptr) in efi_boot_kernel() argument
76 real_kernel_entry = (void *)kernel_entry_address(kernel_addr); in efi_boot_kernel()
Dfdt.c345 unsigned long kernel_addr, char *cmdline_ptr) in efi_boot_kernel() argument
360 efi_enter_kernel(kernel_addr, fdt_addr, fdt_totalsize((void *)fdt_addr)); in efi_boot_kernel()
Dx86-stub.c816 static void __noreturn enter_kernel(unsigned long kernel_addr, in enter_kernel() argument
820 asm("jmp *%0"::"r"(kernel_addr), "S"(boot_params)); in enter_kernel()
Defistub.h945 unsigned long kernel_addr, char *cmdline_ptr);
/linux-6.6.21/arch/parisc/boot/compressed/
Dmisc.c288 unsigned long kernel_addr, kernel_len; in decompress_kernel() local
301 kernel_addr = KERNEL_BINARY_TEXT_START; in decompress_kernel()
303 if ((unsigned long) &_startcode_end > kernel_addr) in decompress_kernel()
356 printf("kernel_addr = %x\n", kernel_addr); in decompress_kernel()
364 output = (char *) kernel_addr; in decompress_kernel()
/linux-6.6.21/arch/loongarch/include/asm/
Defi.h35 unsigned long kernel_entry_address(unsigned long kernel_addr);
/linux-6.6.21/arch/s390/kernel/
Dcompat_ptrace.h60 __u32 kernel_addr; member
Dptrace.c457 addr = parea.kernel_addr; in arch_ptrace()
806 addr = parea.kernel_addr; in compat_arch_ptrace()
/linux-6.6.21/arch/s390/include/uapi/asm/
Dptrace.h383 unsigned long kernel_addr; member
/linux-6.6.21/drivers/accel/habanalabs/common/
Dfirmware_if.c577 u64 kernel_addr; in hl_fw_cpu_accessible_dma_pool_alloc() local
579 kernel_addr = gen_pool_alloc(hdev->cpu_accessible_dma_pool, size); in hl_fw_cpu_accessible_dma_pool_alloc()
582 (kernel_addr - (u64) (uintptr_t) hdev->cpu_accessible_dma_mem); in hl_fw_cpu_accessible_dma_pool_alloc()
584 return (void *) (uintptr_t) kernel_addr; in hl_fw_cpu_accessible_dma_pool_alloc()
/linux-6.6.21/drivers/accel/habanalabs/goya/
Dgoya.c2993 void *kernel_addr = dma_alloc_coherent(&hdev->pdev->dev, size, in goya_dma_alloc_coherent() local
2997 if (kernel_addr) in goya_dma_alloc_coherent()
3000 return kernel_addr; in goya_dma_alloc_coherent()
3257 void *kernel_addr; in goya_dma_pool_zalloc() local
3262 kernel_addr = dma_pool_zalloc(hdev->dma_pool, mem_flags, dma_handle); in goya_dma_pool_zalloc()
3265 if (kernel_addr) in goya_dma_pool_zalloc()
3268 return kernel_addr; in goya_dma_pool_zalloc()
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c4539 void *kernel_addr = dma_alloc_coherent(&hdev->pdev->dev, size, in gaudi_dma_alloc_coherent() local
4543 if (kernel_addr) in gaudi_dma_alloc_coherent()
4546 return kernel_addr; in gaudi_dma_alloc_coherent()
4809 void *kernel_addr; in gaudi_dma_pool_zalloc() local
4814 kernel_addr = dma_pool_zalloc(hdev->dma_pool, mem_flags, dma_handle); in gaudi_dma_pool_zalloc()
4817 if (kernel_addr) in gaudi_dma_pool_zalloc()
4820 return kernel_addr; in gaudi_dma_pool_zalloc()
5930 void *kernel_addr; in gaudi_debugfs_read_dma() local
5934 kernel_addr = hl_asic_dma_alloc_coherent(hdev, SZ_2M, &dma_addr, GFP_KERNEL | __GFP_ZERO); in gaudi_debugfs_read_dma()
5936 if (!kernel_addr) in gaudi_debugfs_read_dma()
[all …]