Home
last modified time | relevance | path

Searched refs:p32 (Results 1 – 11 of 11) sorted by relevance

/linux-3.4.99/drivers/char/ipmi/
Dipmi_devintf.c696 struct compat_ipmi_msg __user *p32) in get_compat_ipmi_msg() argument
700 if (!access_ok(VERIFY_READ, p32, sizeof(*p32)) || in get_compat_ipmi_msg()
701 __get_user(p64->netfn, &p32->netfn) || in get_compat_ipmi_msg()
702 __get_user(p64->cmd, &p32->cmd) || in get_compat_ipmi_msg()
703 __get_user(p64->data_len, &p32->data_len) || in get_compat_ipmi_msg()
704 __get_user(tmp, &p32->data)) in get_compat_ipmi_msg()
711 struct compat_ipmi_msg __user *p32) in put_compat_ipmi_msg() argument
713 if (!access_ok(VERIFY_WRITE, p32, sizeof(*p32)) || in put_compat_ipmi_msg()
714 __put_user(p64->netfn, &p32->netfn) || in put_compat_ipmi_msg()
715 __put_user(p64->cmd, &p32->cmd) || in put_compat_ipmi_msg()
[all …]
/linux-3.4.99/fs/xfs/
Dxfs_ioctl32.c114 compat_xfs_inogrp_t __user *p32 = ubuffer; in xfs_inumbers_fmt_compat() local
118 if (put_user(buffer[i].xi_startino, &p32[i].xi_startino) || in xfs_inumbers_fmt_compat()
119 put_user(buffer[i].xi_alloccount, &p32[i].xi_alloccount) || in xfs_inumbers_fmt_compat()
120 put_user(buffer[i].xi_allocmask, &p32[i].xi_allocmask)) in xfs_inumbers_fmt_compat()
123 *written = count * sizeof(*p32); in xfs_inumbers_fmt_compat()
180 compat_xfs_bstime_t __user *p32, in xfs_bstime_store_compat() argument
186 if (put_user(sec32, &p32->tv_sec) || in xfs_bstime_store_compat()
187 put_user(p->tv_nsec, &p32->tv_nsec)) in xfs_bstime_store_compat()
200 compat_xfs_bstat_t __user *p32 = ubuffer; in xfs_bulkstat_one_fmt_compat() local
202 if (ubsize < sizeof(*p32)) in xfs_bulkstat_one_fmt_compat()
[all …]
/linux-3.4.99/include/net/
Dndisc.h84 const u32 *p32 = pkey; in ndisc_hashfn() local
86 return (((p32[0] ^ dev->ifindex) * hash_rnd[0]) + in ndisc_hashfn()
87 (p32[1] * hash_rnd[1]) + in ndisc_hashfn()
88 (p32[2] * hash_rnd[2]) + in ndisc_hashfn()
89 (p32[3] * hash_rnd[3])); in ndisc_hashfn()
95 const u32 *p32 = pkey; in __ipv6_neigh_lookup() local
107 ((n32[0] ^ p32[0]) | (n32[1] ^ p32[1]) | in __ipv6_neigh_lookup()
108 (n32[2] ^ p32[2]) | (n32[3] ^ p32[3])) == 0) { in __ipv6_neigh_lookup()
/linux-3.4.99/arch/x86/xen/
Dtime.c48 u32 *p32 = (u32 *)p; in get64() local
58 h = p32[1]; in get64()
60 l = p32[0]; in get64()
62 } while (p32[1] != h); in get64()
/linux-3.4.99/drivers/net/ethernet/amd/
Dsunlance.c652 u32 *p32; in lance_piocopy_to_skb() local
658 p32 = (u32 *) p16; in lance_piocopy_to_skb()
663 *p32++ = sbus_readl(pbuf); in lance_piocopy_to_skb()
667 p8 = (u8 *) p32; in lance_piocopy_to_skb()
669 p16 = (u16 *) p32; in lance_piocopy_to_skb()
1013 u32 *p32; in lance_piocopy_from_skb() local
1019 p32 = (u32 *) src; in lance_piocopy_from_skb()
1021 sbus_writel(*p32, piobuf); in lance_piocopy_from_skb()
1022 p32++; in lance_piocopy_from_skb()
1026 src = (char *) p32; in lance_piocopy_from_skb()
/linux-3.4.99/drivers/video/
Dcg3.c144 u32 *p32; in cg3_setcolreg() local
166 p32 = &par->sw_cmap[D4M3(regno)]; in cg3_setcolreg()
169 sbus_writel(*p32++, &bt->color_map); in cg3_setcolreg()
/linux-3.4.99/fs/
Dcompat_ioctl.c791 struct space_resv_32 __user *p32) in compat_ioctl_preallocate() argument
795 if (copy_in_user(&p->l_type, &p32->l_type, sizeof(s16)) || in compat_ioctl_preallocate()
796 copy_in_user(&p->l_whence, &p32->l_whence, sizeof(s16)) || in compat_ioctl_preallocate()
797 copy_in_user(&p->l_start, &p32->l_start, sizeof(s64)) || in compat_ioctl_preallocate()
798 copy_in_user(&p->l_len, &p32->l_len, sizeof(s64)) || in compat_ioctl_preallocate()
799 copy_in_user(&p->l_sysid, &p32->l_sysid, sizeof(s32)) || in compat_ioctl_preallocate()
800 copy_in_user(&p->l_pid, &p32->l_pid, sizeof(u32)) || in compat_ioctl_preallocate()
801 copy_in_user(&p->l_pad, &p32->l_pad, 4*sizeof(u32))) in compat_ioctl_preallocate()
/linux-3.4.99/drivers/usb/core/
Ddevio.c1550 struct usbdevfs_ctrltransfer32 __user *p32) in proc_control_compat() argument
1555 if (copy_in_user(p, p32, (sizeof(*p32) - sizeof(compat_caddr_t))) || in proc_control_compat()
1556 get_user(udata, &p32->data) || in proc_control_compat()
1563 struct usbdevfs_bulktransfer32 __user *p32) in proc_bulk_compat() argument
1571 if (get_user(n, &p32->ep) || put_user(n, &p->ep) || in proc_bulk_compat()
1572 get_user(n, &p32->len) || put_user(n, &p->len) || in proc_bulk_compat()
1573 get_user(n, &p32->timeout) || put_user(n, &p->timeout) || in proc_bulk_compat()
1574 get_user(addr, &p32->data) || put_user(compat_ptr(addr), &p->data)) in proc_bulk_compat()
/linux-3.4.99/drivers/net/ethernet/
Djme.c2428 u32 *p32 = (u32 *)p; in jme_get_regs() local
2433 mmapio_memcpy(jme, p32, JME_MAC, JME_MAC_LEN); in jme_get_regs()
2435 p32 += 0x100 >> 2; in jme_get_regs()
2436 mmapio_memcpy(jme, p32, JME_PHY, JME_PHY_LEN); in jme_get_regs()
2438 p32 += 0x100 >> 2; in jme_get_regs()
2439 mmapio_memcpy(jme, p32, JME_MISC, JME_MISC_LEN); in jme_get_regs()
2441 p32 += 0x100 >> 2; in jme_get_regs()
2442 mmapio_memcpy(jme, p32, JME_RSS, JME_RSS_LEN); in jme_get_regs()
2444 p32 += 0x100 >> 2; in jme_get_regs()
2445 mdio_memcpy(jme, p32, JME_PHY_REG_NR); in jme_get_regs()
/linux-3.4.99/include/linux/
Dpkt_sched.h561 __u32 p32; member
/linux-3.4.99/net/sched/
Dsch_netem.c657 q->clg.a3 = gi->p32; in get_loss_clg()
818 .p32 = q->clg.a3, in dump_loss_model()