/linux/arch/powerpc/include/asm/ |
A D | fsl_hcalls.h | 94 register uintptr_t r3 __asm__("r3"); in fh_send_nmi() 128 register uintptr_t r3 __asm__("r3"); in fh_partition_get_dtprop() 129 register uintptr_t r4 __asm__("r4"); in fh_partition_get_dtprop() 130 register uintptr_t r5 __asm__("r5"); in fh_partition_get_dtprop() 131 register uintptr_t r6 __asm__("r6"); in fh_partition_get_dtprop() 132 register uintptr_t r7 __asm__("r7"); in fh_partition_get_dtprop() 133 register uintptr_t r8 __asm__("r8"); in fh_partition_get_dtprop() 134 register uintptr_t r9 __asm__("r9"); in fh_partition_get_dtprop() 182 register uintptr_t r3 __asm__("r3"); in fh_partition_set_dtprop() 183 register uintptr_t r4 __asm__("r4"); in fh_partition_set_dtprop() [all …]
|
A D | epapr_hcalls.h | 140 register uintptr_t r3 __asm__("r3"); in ev_int_set_config() 141 register uintptr_t r4 __asm__("r4"); in ev_int_set_config() 142 register uintptr_t r5 __asm__("r5"); in ev_int_set_config() 143 register uintptr_t r6 __asm__("r6"); in ev_int_set_config() 172 register uintptr_t r3 __asm__("r3"); in ev_int_get_config() 173 register uintptr_t r4 __asm__("r4"); in ev_int_get_config() 174 register uintptr_t r5 __asm__("r5"); in ev_int_get_config() 175 register uintptr_t r6 __asm__("r6"); in ev_int_get_config() 203 register uintptr_t r3 __asm__("r3"); in ev_int_set_mask() 204 register uintptr_t r4 __asm__("r4"); in ev_int_set_mask() [all …]
|
/linux/arch/riscv/include/asm/ |
A D | sections.h | 17 static inline bool is_va_kernel_text(uintptr_t va) in is_va_kernel_text() 19 uintptr_t start = (uintptr_t)_start; in is_va_kernel_text() 20 uintptr_t end = (uintptr_t)__init_data_begin; in is_va_kernel_text() 25 static inline bool is_va_kernel_lm_alias_text(uintptr_t va) in is_va_kernel_lm_alias_text() 27 uintptr_t start = (uintptr_t)lm_alias(_start); in is_va_kernel_lm_alias_text() 28 uintptr_t end = (uintptr_t)lm_alias(__init_data_begin); in is_va_kernel_lm_alias_text()
|
A D | syscall.h | 76 asmlinkage long sys_riscv_flush_icache(uintptr_t, uintptr_t, uintptr_t);
|
/linux/arch/riscv/mm/ |
A D | init.c | 54 uintptr_t _dtb_early_pa __initdata; 274 return (pte_t *)((uintptr_t)pa); in get_pte_virt_early() 339 return (pmd_t *)((uintptr_t)pa); in get_pmd_virt_early() 357 return (uintptr_t)early_pmd; in alloc_pmd_early() 459 size_t sz = (size_t)((uintptr_t)(&_end) - (uintptr_t)(&_sdata)); in __copy_data() 524 uintptr_t va, end_va; in create_kernel_page_table() 543 uintptr_t va, end_va; in create_kernel_page_table() 599 kernel_map.xiprom_sz = (uintptr_t)(&_exiprom) - (uintptr_t)(&_xiprom); in setup_vm() 603 kernel_map.size = (uintptr_t)(&_end) - (uintptr_t)(&_sdata); in setup_vm() 700 uintptr_t va, map_size; in setup_vm_final() [all …]
|
/linux/arch/x86/include/asm/ |
A D | xor_avx.h | 48 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_2() 49 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_2() 77 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_3() 78 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3() 79 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_3() 109 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_4() 110 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_4() 111 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_4() 112 p3 = (unsigned long *)((uintptr_t)p3 + 512); in xor_avx_4() 144 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_5() [all …]
|
/linux/tools/testing/selftests/kvm/s390x/ |
A D | memop.c | 61 ksmo.buf = (uintptr_t)mem1; in main() 75 ksmo.gaddr = (uintptr_t)mem2; in main() 79 ksmo.buf = (uintptr_t)mem2; in main() 87 ksmo.gaddr = (uintptr_t)mem1; in main() 91 ksmo.buf = (uintptr_t)mem1; in main() 97 ksmo.gaddr = (uintptr_t)mem1; in main() 101 ksmo.buf = (uintptr_t)mem1; in main() 112 ksmo.buf = (uintptr_t)mem1; in main() 122 ksmo.buf = (uintptr_t)mem1; in main() 132 ksmo.buf = (uintptr_t)mem1; in main() [all …]
|
/linux/arch/powerpc/net/ |
A D | bpf_jit.h | 53 if ((int)(uintptr_t)(i) >= -32768 && \ 54 (int)(uintptr_t)(i) < 32768) \ 71 if (!((uintptr_t)(i) & 0xffff800000000000ULL)) \ 72 EMIT(PPC_RAW_LI(d, ((uintptr_t)(i) >> 32) & \ 75 EMIT(PPC_RAW_LIS(d, ((uintptr_t)(i) >> 48))); \ 76 if ((uintptr_t)(i) & 0x0000ffff00000000ULL) \ 78 ((uintptr_t)(i) >> 32) & 0xffff)); \ 81 if ((uintptr_t)(i) & 0x00000000ffff0000ULL) \ 83 ((uintptr_t)(i) >> 16) & 0xffff)); \ 84 if ((uintptr_t)(i) & 0x000000000000ffffULL) \ [all …]
|
/linux/arch/riscv/kernel/ |
A D | sbi.c | 30 register uintptr_t a0 asm ("a0") = (uintptr_t)(arg0); in sbi_ecall() 31 register uintptr_t a1 asm ("a1") = (uintptr_t)(arg1); in sbi_ecall() 32 register uintptr_t a2 asm ("a2") = (uintptr_t)(arg2); in sbi_ecall() 33 register uintptr_t a3 asm ("a3") = (uintptr_t)(arg3); in sbi_ecall() 34 register uintptr_t a4 asm ("a4") = (uintptr_t)(arg4); in sbi_ecall() 35 register uintptr_t a5 asm ("a5") = (uintptr_t)(arg5); in sbi_ecall() 36 register uintptr_t a6 asm ("a6") = (uintptr_t)(fid); in sbi_ecall() 37 register uintptr_t a7 asm ("a7") = (uintptr_t)(ext); in sbi_ecall()
|
A D | patch.c | 30 uintptr_t uintaddr = (uintptr_t) addr; in patch_map() 55 bool across_pages = (((uintptr_t) addr & ~PAGE_MASK) + len) > PAGE_SIZE; in patch_insn_write() 96 flush_icache_range((uintptr_t) tp, (uintptr_t) tp + len); in patch_text_nosync()
|
A D | sys_riscv.c | 63 SYSCALL_DEFINE3(riscv_flush_icache, uintptr_t, start, uintptr_t, end, in SYSCALL_DEFINE3() argument 64 uintptr_t, flags) in SYSCALL_DEFINE3()
|
/linux/tools/testing/selftests/arm64/mte/ |
A D | check_tags_inclusion.c | 24 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE); in verify_mte_pointer_validity() 31 if (!MT_FETCH_TAG((uintptr_t)ptr)) in verify_mte_pointer_validity() 33 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE + 1); in verify_mte_pointer_validity() 59 if (MT_FETCH_TAG((uintptr_t)ptr) == tag) { in check_single_included_tags() 61 MT_FETCH_TAG((uintptr_t)ptr), in check_single_included_tags() 91 if (MT_FETCH_TAG((uintptr_t)ptr) < tag) { in check_multiple_included_tags() 93 MT_FETCH_TAG((uintptr_t)ptr), in check_multiple_included_tags() 143 if (MT_FETCH_TAG((uintptr_t)ptr)) { in check_none_included_tags() 148 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE); in check_none_included_tags()
|
A D | check_child_memory.c | 34 parent_tag = MT_FETCH_TAG((uintptr_t)ptr); in check_child_tag_inheritance() 42 mte_initialize_current_context(mode, (uintptr_t)ptr, size); in check_child_tag_inheritance() 51 child_tag = MT_FETCH_TAG((uintptr_t)(mte_get_tag_address(ptr + i))); in check_child_tag_inheritance() 58 mte_initialize_current_context(mode, (uintptr_t)ptr, -UNDERFLOW); in check_child_tag_inheritance() 65 mte_initialize_current_context(mode, (uintptr_t)ptr, size + OVERFLOW); in check_child_tag_inheritance() 125 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_child_file_mapping()
|
/linux/tools/testing/selftests/vDSO/ |
A D | parse_vdso.c | 44 uintptr_t load_addr; 45 uintptr_t load_offset; /* load_addr - recorded vaddr */ 72 void vdso_init_from_sysinfo_ehdr(uintptr_t base) in vdso_init_from_sysinfo_ehdr() 99 + (uintptr_t)pt[i].p_offset in vdso_init_from_sysinfo_ehdr() 100 - (uintptr_t)pt[i].p_vaddr; in vdso_init_from_sysinfo_ehdr() 121 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr() 126 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr() 131 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr() 136 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr() 141 ((uintptr_t)dyn[i].d_un.d_ptr in vdso_init_from_sysinfo_ehdr()
|
/linux/tools/testing/selftests/kvm/lib/x86_64/ |
A D | vmx.c | 85 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx() 86 vmx->vmxon_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx() 90 vmx->vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx() 91 vmx->vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx() 95 vmx->msr_hva = addr_gva2hva(vm, (uintptr_t)vmx->msr); in vcpu_alloc_vmx() 96 vmx->msr_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->msr); in vcpu_alloc_vmx() 106 vmx->vmread_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx() 123 addr_gva2hva(vm, (uintptr_t)vmx->enlightened_vmcs); in vcpu_alloc_vmx() 125 addr_gva2gpa(vm, (uintptr_t)vmx->enlightened_vmcs); in vcpu_alloc_vmx() 532 vmx->eptp_hva = addr_gva2hva(vm, (uintptr_t)vmx->eptp); in prepare_eptp() [all …]
|
/linux/fs/vboxsf/ |
A D | vboxsf_wrappers.c | 82 parms.path.u.pointer.u.linear_addr = (uintptr_t)folder_name; in vboxsf_map_folder() 140 parms.path.u.pointer.u.linear_addr = (uintptr_t)parsed_path; in vboxsf_create() 171 parms.path.u.pointer.u.linear_addr = (uintptr_t)parsed_path; in vboxsf_remove() 189 parms.src.u.pointer.u.linear_addr = (uintptr_t)src_path; in vboxsf_rename() 193 parms.dest.u.pointer.u.linear_addr = (uintptr_t)dest_path; in vboxsf_rename() 217 parms.buffer.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_read() 241 parms.buffer.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_write() 278 parms.buffer.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_dirinfo() 311 parms.info.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_fsinfo() 334 parms.buffer.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_readlink() [all …]
|
/linux/arch/arm/include/asm/ |
A D | fncpy.h | 60 uintptr_t __funcp_address; \ 69 BUG_ON((uintptr_t)(dest_buf) & (FNCPY_ALIGN - 1) || \ 70 (__funcp_address & ~(uintptr_t)1 & (FNCPY_ALIGN - 1))); \ 77 : "0" ((uintptr_t)(dest_buf) | (__funcp_address & 1))); \
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_subprogs.c | 54 __noinline int get_task_tgid(uintptr_t t) in get_task_tgid() 73 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) in prog1() 85 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) in prog2() 98 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) in prog3() 111 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) in prog4()
|
/linux/include/linux/iio/ |
A D | iio.h | 47 ssize_t (*read)(struct iio_dev *, uintptr_t private, 49 ssize_t (*write)(struct iio_dev *, uintptr_t private, 52 uintptr_t private; 79 uintptr_t priv, const struct iio_chan_spec *chan, char *buf); 81 uintptr_t priv, const struct iio_chan_spec *chan, char *buf); 83 uintptr_t priv, const struct iio_chan_spec *chan, const char *buf, 100 .private = (uintptr_t)(_e), \ 116 .private = (uintptr_t)(_e), \ 128 ssize_t iio_show_mount_matrix(struct iio_dev *indio_dev, uintptr_t priv, 146 .private = (uintptr_t)(_get), \
|
/linux/drivers/misc/habanalabs/common/mmu/ |
A D | mmu_v1.c | 34 kfree((u64 *) (uintptr_t) pgt_info->shadow_addr); in _free_hop() 121 *(u64 *) (uintptr_t) shadow_pte_addr = val; in write_pte() 131 *(u64 *) (uintptr_t) shadow_pte_addr = val; in write_final_pte() 547 curr_pte = *(u64 *) (uintptr_t) hop0_pte_addr; in _hl_mmu_v1_unmap() 556 curr_pte = *(u64 *) (uintptr_t) hop1_pte_addr; in _hl_mmu_v1_unmap() 565 curr_pte = *(u64 *) (uintptr_t) hop2_pte_addr; in _hl_mmu_v1_unmap() 574 curr_pte = *(u64 *) (uintptr_t) hop3_pte_addr; in _hl_mmu_v1_unmap() 697 curr_pte = *(u64 *) (uintptr_t) hop0_pte_addr; in _hl_mmu_v1_map() 704 curr_pte = *(u64 *) (uintptr_t) hop1_pte_addr; in _hl_mmu_v1_map() 711 curr_pte = *(u64 *) (uintptr_t) hop2_pte_addr; in _hl_mmu_v1_map() [all …]
|
/linux/drivers/misc/habanalabs/common/ |
A D | habanalabs_ioctl.c | 33 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in device_status_info() 48 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in hw_ip_info() 107 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in hw_events_info() 123 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in dram_usage_info() 146 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in hw_idle() 230 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in device_utilization() 248 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in get_clk_rate() 267 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in get_reset_count() 283 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in time_sync_info() 300 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in pci_counters_info() [all …]
|
/linux/lib/ |
A D | pci_iomap.c | 168 uintptr_t start = (uintptr_t) PCI_IOBASE; in pci_iounmap() 169 uintptr_t addr = (uintptr_t) p; in pci_iounmap()
|
/linux/arch/arm/kernel/ |
A D | patch.c | 24 unsigned int uintaddr = (uintptr_t) addr; in patch_map() 61 unsigned int uintaddr = (uintptr_t) addr; in __patch_text_real() 107 flush_icache_range((uintptr_t)(addr), in __patch_text_real() 108 (uintptr_t)(addr) + size); in __patch_text_real()
|
/linux/arch/arm64/kernel/ |
A D | patching.c | 33 unsigned long uintaddr = (uintptr_t) addr; in patch_map() 97 if ((uintptr_t)tp & 0x3) in aarch64_insn_patch_text_nosync() 102 caches_clean_inval_pou((uintptr_t)tp, in aarch64_insn_patch_text_nosync() 103 (uintptr_t)tp + AARCH64_INSN_SIZE); in aarch64_insn_patch_text_nosync()
|
/linux/drivers/net/ethernet/altera/ |
A D | altera_sgdma.c | 410 uintptr_t offs = (uintptr_t)desc - (uintptr_t)priv->tx_dma_desc; in sgdma_txphysaddr() 411 return (dma_addr_t)((uintptr_t)paddr + offs); in sgdma_txphysaddr() 419 uintptr_t offs = (uintptr_t)desc - (uintptr_t)priv->rx_dma_desc; in sgdma_rxphysaddr() 420 return (dma_addr_t)((uintptr_t)paddr + offs); in sgdma_rxphysaddr()
|