Home
last modified time | relevance | path

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

/kernel/linux/common_modules/tzdriver/core/
Dmem.c40 reserved_mem_free(shared_mem->kernel_addr); in tc_mem_free()
45 if (shared_mem->kernel_addr) { in tc_mem_free()
47 vfree(shared_mem->kernel_addr); in tc_mem_free()
49 kfree(shared_mem->kernel_addr); in tc_mem_free()
51 shared_mem->kernel_addr = NULL; in tc_mem_free()
58 sh->kernel_addr = addr; in init_shared_mem()
Dtc_client_driver.c618 unsigned long pa = virt_to_phys(shared_mem->kernel_addr); in remap_shared_mem()
627 unsigned long pfn = res_mem_virt_to_phys((uintptr_t)(shared_mem->kernel_addr)) >> PAGE_SHIFT; in remap_shared_mem()
639 ret = remap_vmalloc_range(vma, shared_mem->kernel_addr, 0); in remap_shared_mem()
Dgp_ops.c513 (uintptr_t)shared_mem->kernel_addr + in alloc_for_ref_mem()
869 operation->sharemem[index]->kernel_addr + in update_for_ref_mem()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dcompat_ptrace.h60 __u32 kernel_addr; member
Dptrace.c482 addr = parea.kernel_addr; in arch_ptrace()
834 addr = parea.kernel_addr; in compat_arch_ptrace()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dfirmware_if.c235 u64 kernel_addr; in hl_fw_cpu_accessible_dma_pool_alloc() local
237 kernel_addr = gen_pool_alloc(hdev->cpu_accessible_dma_pool, size); in hl_fw_cpu_accessible_dma_pool_alloc()
240 (kernel_addr - (u64) (uintptr_t) hdev->cpu_accessible_dma_mem); in hl_fw_cpu_accessible_dma_pool_alloc()
242 return (void *) (uintptr_t) kernel_addr; in hl_fw_cpu_accessible_dma_pool_alloc()
/kernel/linux/common_modules/tzdriver/
Dteek_ns_client.h78 void *kernel_addr; member
/kernel/linux/linux-5.10/tools/arch/s390/include/uapi/asm/
Dptrace.h385 unsigned long kernel_addr; member
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dptrace.h385 unsigned long kernel_addr; member
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/
Dgoya.c2777 void *kernel_addr = dma_alloc_coherent(&hdev->pdev->dev, size, in goya_dma_alloc_coherent() local
2781 if (kernel_addr) in goya_dma_alloc_coherent()
2784 return kernel_addr; in goya_dma_alloc_coherent()
3042 void *kernel_addr; in goya_dma_pool_zalloc() local
3047 kernel_addr = dma_pool_zalloc(hdev->dma_pool, mem_flags, dma_handle); in goya_dma_pool_zalloc()
3050 if (kernel_addr) in goya_dma_pool_zalloc()
3053 return kernel_addr; in goya_dma_pool_zalloc()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c3395 void *kernel_addr = dma_alloc_coherent(&hdev->pdev->dev, size, in gaudi_dma_alloc_coherent() local
3399 if (kernel_addr) in gaudi_dma_alloc_coherent()
3402 return kernel_addr; in gaudi_dma_alloc_coherent()
3565 void *kernel_addr; in gaudi_dma_pool_zalloc() local
3570 kernel_addr = dma_pool_zalloc(hdev->dma_pool, mem_flags, dma_handle); in gaudi_dma_pool_zalloc()
3573 if (kernel_addr) in gaudi_dma_pool_zalloc()
3576 return kernel_addr; in gaudi_dma_pool_zalloc()