v32 744 arch/mips/kvm/mips.c u32 v32 = (u32)v; v32 746 arch/mips/kvm/mips.c return put_user(v32, uaddr32); v32 772 arch/mips/kvm/mips.c s32 v32; v32 774 arch/mips/kvm/mips.c if (get_user(v32, uaddr32) != 0) v32 776 arch/mips/kvm/mips.c v = (s64)v32; v32 291 arch/powerpc/kernel/vdso.c static int __init vdso_do_func_patch32(struct lib32_elfinfo *v32, v32 297 arch/powerpc/kernel/vdso.c sym32_gen = find_symbol32(v32, orig); v32 306 arch/powerpc/kernel/vdso.c sym32_fix = find_symbol32(v32, fix); v32 326 arch/powerpc/kernel/vdso.c static int __init vdso_do_func_patch32(struct lib32_elfinfo *v32, v32 402 arch/powerpc/kernel/vdso.c static int __init vdso_do_func_patch64(struct lib32_elfinfo *v32, v32 434 arch/powerpc/kernel/vdso.c static __init int vdso_do_find_sections(struct lib32_elfinfo *v32, v32 444 arch/powerpc/kernel/vdso.c v32->dynsym = find_section32(v32->hdr, ".dynsym", &v32->dynsymsize); v32 445 arch/powerpc/kernel/vdso.c v32->dynstr = find_section32(v32->hdr, ".dynstr", NULL); v32 446 arch/powerpc/kernel/vdso.c if (v32->dynsym == NULL || v32->dynstr == NULL) { v32 450 arch/powerpc/kernel/vdso.c sect = find_section32(v32->hdr, ".text", NULL); v32 455 arch/powerpc/kernel/vdso.c v32->text = sect - vdso32_kbase; v32 476 arch/powerpc/kernel/vdso.c static __init void vdso_setup_trampolines(struct lib32_elfinfo *v32, v32 486 arch/powerpc/kernel/vdso.c vdso32_sigtramp = find_function32(v32, "__kernel_sigtramp32"); v32 487 arch/powerpc/kernel/vdso.c vdso32_rt_sigtramp = find_function32(v32, "__kernel_sigtramp_rt32"); v32 490 arch/powerpc/kernel/vdso.c static __init int vdso_fixup_datapage(struct lib32_elfinfo *v32, v32 511 arch/powerpc/kernel/vdso.c sym32 = find_symbol32(v32, "__kernel_datapage_offset"); v32 526 arch/powerpc/kernel/vdso.c static __init int vdso_fixup_features(struct lib32_elfinfo *v32, v32 555 arch/powerpc/kernel/vdso.c start = find_section32(v32->hdr, "__ftr_fixup", &size); v32 560 arch/powerpc/kernel/vdso.c start = find_section32(v32->hdr, "__mmu_ftr_fixup", &size); v32 566 arch/powerpc/kernel/vdso.c start = find_section32(v32->hdr, "__fw_ftr_fixup", &size); v32 572 arch/powerpc/kernel/vdso.c start = find_section32(v32->hdr, "__lwsync_fixup", &size); v32 581 arch/powerpc/kernel/vdso.c static __init int vdso_fixup_alt_funcs(struct lib32_elfinfo *v32, v32 602 arch/powerpc/kernel/vdso.c vdso_do_func_patch32(v32, v64, patch->gen_name, v32 605 arch/powerpc/kernel/vdso.c vdso_do_func_patch64(v32, v64, patch->gen_name, v32 616 arch/powerpc/kernel/vdso.c struct lib32_elfinfo v32; v32 619 arch/powerpc/kernel/vdso.c v32.hdr = vdso32_kbase; v32 623 arch/powerpc/kernel/vdso.c if (vdso_do_find_sections(&v32, &v64)) v32 626 arch/powerpc/kernel/vdso.c if (vdso_fixup_datapage(&v32, &v64)) v32 629 arch/powerpc/kernel/vdso.c if (vdso_fixup_features(&v32, &v64)) v32 632 arch/powerpc/kernel/vdso.c if (vdso_fixup_alt_funcs(&v32, &v64)) v32 635 arch/powerpc/kernel/vdso.c vdso_setup_trampolines(&v32, &v64); v32 2996 arch/powerpc/lib/sstep.c unsigned int v32 = 0; v32 3001 arch/powerpc/lib/sstep.c err = copy_mem_in((u8 *) &v32, ea, nb, regs); v32 3005 arch/powerpc/lib/sstep.c v32 = byterev_4(v32); v32 3006 arch/powerpc/lib/sstep.c regs->gpr[rd] = v32; v32 3067 arch/powerpc/lib/sstep.c unsigned int v32 = regs->gpr[rd]; v32 3073 arch/powerpc/lib/sstep.c v32 = byterev_4(v32); v32 3074 arch/powerpc/lib/sstep.c err = copy_mem_out((u8 *) &v32, ea, nb, regs); v32 673 arch/powerpc/platforms/powernv/pci.c __be32 v32; v32 674 arch/powerpc/platforms/powernv/pci.c rc = opal_pci_config_read_word(phb->opal_id, bdfn, where, &v32); v32 675 arch/powerpc/platforms/powernv/pci.c *val = (rc == OPAL_SUCCESS) ? be32_to_cpu(v32) : 0xffffffff; v32 206 arch/x86/boot/string.c u32 v32[2]; v32 210 arch/x86/boot/string.c upper = d.v32[1]; v32 211 arch/x86/boot/string.c d.v32[1] = 0; v32 213 arch/x86/boot/string.c d.v32[1] = upper / divisor; v32 216 arch/x86/boot/string.c asm ("divl %2" : "=a" (d.v32[0]), "=d" (*remainder) : v32 217 arch/x86/boot/string.c "rm" (divisor), "0" (d.v32[0]), "1" (upper)); v32 47 arch/x86/include/asm/div64.h u32 v32[2]; v32 51 arch/x86/include/asm/div64.h upper = d.v32[1]; v32 52 arch/x86/include/asm/div64.h d.v32[1] = 0; v32 54 arch/x86/include/asm/div64.h d.v32[1] = upper / divisor; v32 57 arch/x86/include/asm/div64.h asm ("divl %2" : "=a" (d.v32[0]), "=d" (*remainder) : v32 58 arch/x86/include/asm/div64.h "rm" (divisor), "0" (d.v32[0]), "1" (upper)); v32 46 arch/x86/mm/testmmiotrace.c iowrite32(v32(i), p + i); v32 65 arch/x86/mm/testmmiotrace.c if (ioread32(p + i) != v32(i)) v32 3833 drivers/block/floppy.c struct compat_floppy_fdc_state v32; v32 3840 drivers/block/floppy.c memset(&v32, 0, sizeof(struct compat_floppy_fdc_state)); v32 3841 drivers/block/floppy.c v32.spec1 = v.spec1; v32 3842 drivers/block/floppy.c v32.spec2 = v.spec2; v32 3843 drivers/block/floppy.c v32.dtr = v.dtr; v32 3844 drivers/block/floppy.c v32.version = v.version; v32 3845 drivers/block/floppy.c v32.dor = v.dor; v32 3846 drivers/block/floppy.c v32.address = v.address; v32 3847 drivers/block/floppy.c v32.rawcmd = v.rawcmd; v32 3848 drivers/block/floppy.c v32.reset = v.reset; v32 3849 drivers/block/floppy.c v32.need_configure = v.need_configure; v32 3850 drivers/block/floppy.c v32.perp_mode = v.perp_mode; v32 3851 drivers/block/floppy.c v32.has_fifo = v.has_fifo; v32 3852 drivers/block/floppy.c v32.driver_version = v.driver_version; v32 3853 drivers/block/floppy.c memcpy(v32.track, v.track, 4); v32 3854 drivers/block/floppy.c if (copy_to_user(arg, &v32, sizeof(struct compat_floppy_fdc_state))) v32 3862 drivers/block/floppy.c struct compat_floppy_write_errors v32; v32 3865 drivers/block/floppy.c memset(&v32, 0, sizeof(struct compat_floppy_write_errors)); v32 3869 drivers/block/floppy.c v32.write_errors = v.write_errors; v32 3870 drivers/block/floppy.c v32.first_error_sector = v.first_error_sector; v32 3871 drivers/block/floppy.c v32.first_error_generation = v.first_error_generation; v32 3872 drivers/block/floppy.c v32.last_error_sector = v.last_error_sector; v32 3873 drivers/block/floppy.c v32.last_error_generation = v.last_error_generation; v32 3874 drivers/block/floppy.c v32.badness = v.badness; v32 3875 drivers/block/floppy.c if (copy_to_user(arg, &v32, sizeof(struct compat_floppy_write_errors))) v32 702 drivers/char/ipmi/ipmi_devintf.c struct compat_ipmi_recv v32; v32 703 drivers/char/ipmi/ipmi_devintf.c memset(&v32, 0, sizeof(struct compat_ipmi_recv)); v32 704 drivers/char/ipmi/ipmi_devintf.c v32.recv_type = p64->recv_type; v32 705 drivers/char/ipmi/ipmi_devintf.c v32.addr = ptr_to_compat(p64->addr); v32 706 drivers/char/ipmi/ipmi_devintf.c v32.addr_len = p64->addr_len; v32 707 drivers/char/ipmi/ipmi_devintf.c v32.msgid = p64->msgid; v32 708 drivers/char/ipmi/ipmi_devintf.c v32.msg.netfn = p64->msg.netfn; v32 709 drivers/char/ipmi/ipmi_devintf.c v32.msg.cmd = p64->msg.cmd; v32 710 drivers/char/ipmi/ipmi_devintf.c v32.msg.data_len = p64->msg.data_len; v32 711 drivers/char/ipmi/ipmi_devintf.c v32.msg.data = ptr_to_compat(p64->msg.data); v32 712 drivers/char/ipmi/ipmi_devintf.c return copy_to_user(to, &v32, sizeof(v32)) ? -EFAULT : 0; v32 96 drivers/dma/fsldma.h v32 count; v32 97 drivers/dma/fsldma.h v32 reserve; v32 95 drivers/gpu/drm/drm_ioc32.c drm_version32_t v32; v32 99 drivers/gpu/drm/drm_ioc32.c if (copy_from_user(&v32, (void __user *)arg, sizeof(v32))) v32 103 drivers/gpu/drm/drm_ioc32.c .name_len = v32.name_len, v32 104 drivers/gpu/drm/drm_ioc32.c .name = compat_ptr(v32.name), v32 105 drivers/gpu/drm/drm_ioc32.c .date_len = v32.date_len, v32 106 drivers/gpu/drm/drm_ioc32.c .date = compat_ptr(v32.date), v32 107 drivers/gpu/drm/drm_ioc32.c .desc_len = v32.desc_len, v32 108 drivers/gpu/drm/drm_ioc32.c .desc = compat_ptr(v32.desc), v32 115 drivers/gpu/drm/drm_ioc32.c v32.version_major = v.version_major; v32 116 drivers/gpu/drm/drm_ioc32.c v32.version_minor = v.version_minor; v32 117 drivers/gpu/drm/drm_ioc32.c v32.version_patchlevel = v.version_patchlevel; v32 118 drivers/gpu/drm/drm_ioc32.c v32.name_len = v.name_len; v32 119 drivers/gpu/drm/drm_ioc32.c v32.date_len = v.date_len; v32 120 drivers/gpu/drm/drm_ioc32.c v32.desc_len = v.desc_len; v32 121 drivers/gpu/drm/drm_ioc32.c if (copy_to_user((void __user *)arg, &v32, sizeof(v32))) v32 145 drivers/media/dvb-frontends/lgs8gxx.c u32 v32; v32 155 drivers/media/dvb-frontends/lgs8gxx.c v32 = val & 0xFFFFFFFF; v32 158 drivers/media/dvb-frontends/lgs8gxx.c v32 = 0; v32 161 drivers/media/dvb-frontends/lgs8gxx.c dprintk("AFC_INIT_FREQ = 0x%08X\n", v32); v32 164 drivers/media/dvb-frontends/lgs8gxx.c lgs8gxx_write_reg(priv, 0x08, 0xFF & (v32)); v32 165 drivers/media/dvb-frontends/lgs8gxx.c lgs8gxx_write_reg(priv, 0x09, 0xFF & (v32 >> 8)); v32 166 drivers/media/dvb-frontends/lgs8gxx.c lgs8gxx_write_reg(priv, 0x0A, 0xFF & (v32 >> 16)); v32 167 drivers/media/dvb-frontends/lgs8gxx.c lgs8gxx_write_reg(priv, 0x0B, 0xFF & (v32 >> 24)); v32 169 drivers/media/dvb-frontends/lgs8gxx.c lgs8gxx_write_reg(priv, 0x09, 0xFF & (v32)); v32 170 drivers/media/dvb-frontends/lgs8gxx.c lgs8gxx_write_reg(priv, 0x0A, 0xFF & (v32 >> 8)); v32 171 drivers/media/dvb-frontends/lgs8gxx.c lgs8gxx_write_reg(priv, 0x0B, 0xFF & (v32 >> 16)); v32 172 drivers/media/dvb-frontends/lgs8gxx.c lgs8gxx_write_reg(priv, 0x0C, 0xFF & (v32 >> 24)); v32 181 drivers/media/dvb-frontends/lgs8gxx.c u32 v32 = 0; v32 192 drivers/media/dvb-frontends/lgs8gxx.c v32 <<= 8; v32 193 drivers/media/dvb-frontends/lgs8gxx.c v32 |= t; v32 197 drivers/media/dvb-frontends/lgs8gxx.c val = v32; v32 719 drivers/ntb/hw/amd/ntb_hw_amd.c union { u64 v64; u32 v32; u16 v16; } u; v32 768 drivers/ntb/hw/amd/ntb_hw_amd.c u.v32 = readl(ndev->self_mmio + AMD_DBMASK_OFFSET); v32 770 drivers/ntb/hw/amd/ntb_hw_amd.c "Doorbell Mask -\t\t\t%#06x\n", u.v32); v32 772 drivers/ntb/hw/amd/ntb_hw_amd.c u.v32 = readl(mmio + AMD_DBSTAT_OFFSET); v32 774 drivers/ntb/hw/amd/ntb_hw_amd.c "Doorbell Bell -\t\t\t%#06x\n", u.v32); v32 791 drivers/ntb/hw/amd/ntb_hw_amd.c u.v32 = readl(mmio + AMD_BAR1LMT_OFFSET); v32 793 drivers/ntb/hw/amd/ntb_hw_amd.c "LMT1 -\t\t\t%#06x\n", u.v32); v32 499 drivers/ntb/hw/intel/ntb_hw_gen1.c union { u64 v64; u32 v32; u16 v16; u8 v8; } u; v32 619 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_xlat, 4)); v32 621 drivers/ntb/hw/intel/ntb_hw_gen1.c "XLAT4 -\t\t\t%#06x\n", u.v32); v32 623 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_xlat, 5)); v32 625 drivers/ntb/hw/intel/ntb_hw_gen1.c "XLAT5 -\t\t\t%#06x\n", u.v32); v32 637 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_limit, 4)); v32 639 drivers/ntb/hw/intel/ntb_hw_gen1.c "LMT4 -\t\t\t%#06x\n", u.v32); v32 640 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_limit, 5)); v32 642 drivers/ntb/hw/intel/ntb_hw_gen1.c "LMT5 -\t\t\t%#06x\n", u.v32); v32 659 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_PBAR4XLAT_OFFSET); v32 662 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32); v32 663 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_PBAR5XLAT_OFFSET); v32 666 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32); v32 679 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_PBAR4LMT_OFFSET); v32 682 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32); v32 683 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_PBAR5LMT_OFFSET); v32 686 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32); v32 706 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_SBAR4BASE_OFFSET); v32 708 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR4 -\t\t\t%#06x\n", u.v32); v32 709 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_SBAR5BASE_OFFSET); v32 711 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR5 -\t\t\t%#06x\n", u.v32); v32 741 drivers/ntb/hw/intel/ntb_hw_gen1.c XEON_UNCERRSTS_OFFSET, &u.v32)) v32 743 drivers/ntb/hw/intel/ntb_hw_gen1.c "UNCERRSTS -\t\t%#06x\n", u.v32); v32 746 drivers/ntb/hw/intel/ntb_hw_gen1.c XEON_CORERRSTS_OFFSET, &u.v32)) v32 748 drivers/ntb/hw/intel/ntb_hw_gen1.c "CORERRSTS -\t\t%#06x\n", u.v32); v32 263 drivers/ntb/hw/intel/ntb_hw_gen3.c union { u64 v64; u32 v32; u16 v16; } u; v32 404 drivers/ntb/hw/intel/ntb_hw_gen3.c GEN3_UNCERRSTS_OFFSET, &u.v32)) v32 406 drivers/ntb/hw/intel/ntb_hw_gen3.c "UNCERRSTS -\t\t%#06x\n", u.v32); v32 409 drivers/ntb/hw/intel/ntb_hw_gen3.c GEN3_CORERRSTS_OFFSET, &u.v32)) v32 411 drivers/ntb/hw/intel/ntb_hw_gen3.c "CORERRSTS -\t\t%#06x\n", u.v32); v32 380 drivers/staging/rtl8188eu/core/rtw_security.c #define Lo16(v32) ((u16)((v32) & 0xFFFF)) v32 381 drivers/staging/rtl8188eu/core/rtw_security.c #define Hi16(v32) ((u16)(((v32) >> 16) & 0xFFFF)) v32 367 drivers/staging/rtl8712/rtl871x_security.c #define Lo16(v32) ((u16)((v32) & 0xFFFF)) v32 368 drivers/staging/rtl8712/rtl871x_security.c #define Hi16(v32) ((u16)(((v32) >> 16) & 0xFFFF)) v32 446 drivers/staging/rtl8723bs/core/rtw_security.c #define Lo16(v32) ((u16)((v32) & 0xFFFF)) v32 447 drivers/staging/rtl8723bs/core/rtw_security.c #define Hi16(v32) ((u16)(((v32) >> 16) & 0xFFFF)) v32 1105 drivers/staging/rtl8723bs/hal/sdio_ops.c u32 v32; v32 1110 drivers/staging/rtl8723bs/hal/sdio_ops.c v32 = hal->sdio_hisr & MASK_SDIO_HISR_CLEAR; v32 1111 drivers/staging/rtl8723bs/hal/sdio_ops.c if (v32) v32 1112 drivers/staging/rtl8723bs/hal/sdio_ops.c SdioLocalCmd52Write4Byte(adapter, SDIO_REG_HISR, v32); v32 2705 drivers/tty/tty_io.c struct serial_struct32 v32; v32 2709 drivers/tty/tty_io.c if (copy_from_user(&v32, ss, sizeof(struct serial_struct32))) v32 2712 drivers/tty/tty_io.c memcpy(&v, &v32, offsetof(struct serial_struct32, iomem_base)); v32 2713 drivers/tty/tty_io.c v.iomem_base = compat_ptr(v32.iomem_base); v32 2714 drivers/tty/tty_io.c v.iomem_reg_shift = v32.iomem_reg_shift; v32 2715 drivers/tty/tty_io.c v.port_high = v32.port_high; v32 2731 drivers/tty/tty_io.c struct serial_struct32 v32; v32 2736 drivers/tty/tty_io.c memset(&v32, 0, sizeof(v32)); v32 2742 drivers/tty/tty_io.c memcpy(&v32, &v, offsetof(struct serial_struct32, iomem_base)); v32 2743 drivers/tty/tty_io.c v32.iomem_base = (unsigned long)v.iomem_base >> 32 ? v32 2745 drivers/tty/tty_io.c v32.iomem_reg_shift = v.iomem_reg_shift; v32 2746 drivers/tty/tty_io.c v32.port_high = v.port_high; v32 2747 drivers/tty/tty_io.c if (copy_to_user(ss, &v32, sizeof(struct serial_struct32))) v32 44 fs/jffs2/nodelist.h #define je32_to_cpu(x) ((x).v32) v32 55 fs/jffs2/nodelist.h #define je32_to_cpu(x) (be32_to_cpu(x.v32)) v32 66 fs/jffs2/nodelist.h #define je32_to_cpu(x) (le32_to_cpu(x.v32)) v32 91 include/uapi/linux/jffs2.h __u32 v32; v32 36 include/uapi/linux/netfilter/xt_HMARK.h __u32 v32; v32 95 kernel/compat.c struct compat_itimerval v32; v32 97 kernel/compat.c if (copy_from_user(&v32, i, sizeof(struct compat_itimerval))) v32 99 kernel/compat.c o->it_interval.tv_sec = v32.it_interval.tv_sec; v32 100 kernel/compat.c o->it_interval.tv_usec = v32.it_interval.tv_usec; v32 101 kernel/compat.c o->it_value.tv_sec = v32.it_value.tv_sec; v32 102 kernel/compat.c o->it_value.tv_usec = v32.it_value.tv_usec; v32 108 kernel/compat.c struct compat_itimerval v32; v32 110 kernel/compat.c v32.it_interval.tv_sec = i->it_interval.tv_sec; v32 111 kernel/compat.c v32.it_interval.tv_usec = i->it_interval.tv_usec; v32 112 kernel/compat.c v32.it_value.tv_sec = i->it_value.tv_sec; v32 113 kernel/compat.c v32.it_value.tv_usec = i->it_value.tv_usec; v32 114 kernel/compat.c return copy_to_user(o, &v32, sizeof(struct compat_itimerval)) ? -EFAULT : 0; v32 49 net/bridge/netfilter/ebt_stp.c u32 v32; v32 69 net/bridge/netfilter/ebt_stp.c v32 = NR32(stpc->root_cost); v32 71 net/bridge/netfilter/ebt_stp.c v32 < c->root_costl || v32 > c->root_costu)) v32 26 net/ipv6/ila/ila.h __be32 v32[2]; v32 49 net/ipv6/ila/ila.h __be32 v32[2]; v32 43 net/ipv6/ila/ila_xlat.c u32 *v = (u32 *)loc.v32; v32 242 net/netfilter/nft_exthdr.c __be32 v32; v32 286 net/netfilter/nft_exthdr.c new.v32 = src; v32 287 net/netfilter/nft_exthdr.c old.v32 = get_unaligned((u32 *)(opt + offset)); v32 289 net/netfilter/nft_exthdr.c if (old.v32 == new.v32) v32 292 net/netfilter/nft_exthdr.c put_unaligned(new.v32, (u32*)(opt + offset)); v32 294 net/netfilter/nft_exthdr.c old.v32, new.v32, false); v32 71 net/netfilter/xt_HMARK.c uports->v32 = (dst << 16) | src; v32 73 net/netfilter/xt_HMARK.c uports->v32 = (src << 16) | dst; v32 125 net/netfilter/xt_HMARK.c hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd);