Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c57 struct v4l2_window32 __user *p32) in get_v4l2_window32() argument
61 if (copy_from_user(&w32, p32, sizeof(w32))) in get_v4l2_window32()
83 struct v4l2_window32 __user *p32) in put_v4l2_window32() argument
99 if (copy_to_user(p32, &w32, offsetof(struct v4l2_window32, clips)) || in put_v4l2_window32()
100 copy_to_user(&p32->clipcount, &w32.clipcount, in put_v4l2_window32()
141 struct v4l2_format32 __user *p32) in get_v4l2_format32() argument
143 if (get_user(p64->type, &p32->type)) in get_v4l2_format32()
149 return copy_from_user(&p64->fmt.pix, &p32->fmt.pix, in get_v4l2_format32()
153 return copy_from_user(&p64->fmt.pix_mp, &p32->fmt.pix_mp, in get_v4l2_format32()
157 return get_v4l2_window32(&p64->fmt.win, &p32->fmt.win); in get_v4l2_format32()
[all …]
/Linux-v5.15/fs/xfs/
Dxfs_ioctl32.c87 struct compat_xfs_inogrp __user *p32 = breq->ubuffer; in xfs_fsinumbers_fmt_compat() local
93 if (put_user(igrp->xi_startino, &p32->xi_startino) || in xfs_fsinumbers_fmt_compat()
94 put_user(igrp->xi_alloccount, &p32->xi_alloccount) || in xfs_fsinumbers_fmt_compat()
95 put_user(igrp->xi_allocmask, &p32->xi_allocmask)) in xfs_fsinumbers_fmt_compat()
158 compat_xfs_bstime_t __user *p32, in xfs_bstime_store_compat() argument
164 if (put_user(sec32, &p32->tv_sec) || in xfs_bstime_store_compat()
165 put_user(p->tv_nsec, &p32->tv_nsec)) in xfs_bstime_store_compat()
176 struct compat_xfs_bstat __user *p32 = breq->ubuffer; in xfs_fsbulkstat_one_fmt_compat() local
182 if (put_user(buffer->bs_ino, &p32->bs_ino) || in xfs_fsbulkstat_one_fmt_compat()
183 put_user(buffer->bs_mode, &p32->bs_mode) || in xfs_fsbulkstat_one_fmt_compat()
[all …]
/Linux-v5.15/include/trace/events/
Dfib.h42 __be32 *p32;
52 p32 = (__be32 *) __entry->src;
53 *p32 = flp->saddr;
55 p32 = (__be32 *) __entry->dst;
56 *p32 = flp->daddr;
73 p32 = (__be32 *) __entry->gw4;
74 *p32 = nhc->nhc_gw.ipv4;
79 p32 = (__be32 *) __entry->gw4;
80 *p32 = 0;
86 p32 = (__be32 *) __entry->gw4;
[all …]
Dneigh.h43 __be32 *p32;
51 p32 = (__be32 *)__entry->primary_key4;
54 *p32 = *(__be32 *)pkey;
56 *p32 = 0;
103 __be32 *p32;
115 p32 = (__be32 *)__entry->primary_key4;
118 *p32 = *(__be32 *)n->primary_key;
120 *p32 = 0;
129 ipv6_addr_set_v4mapped(*p32, pin6);
180 __be32 *p32;
[all …]
Dtcp.h71 __be32 *p32;
81 p32 = (__be32 *) __entry->saddr;
82 *p32 = inet->inet_saddr;
84 p32 = (__be32 *) __entry->daddr;
85 *p32 = inet->inet_daddr;
141 __be32 *p32;
149 p32 = (__be32 *) __entry->saddr;
150 *p32 = inet->inet_saddr;
152 p32 = (__be32 *) __entry->daddr;
153 *p32 = inet->inet_daddr;
[all …]
Dsock.h161 __be32 *p32;
172 p32 = (__be32 *) __entry->saddr;
173 *p32 = inet->inet_saddr;
175 p32 = (__be32 *) __entry->daddr;
176 *p32 = inet->inet_daddr;
225 __be32 *p32;
233 p32 = (__be32 *) __entry->saddr;
234 *p32 = inet->inet_saddr;
236 p32 = (__be32 *) __entry->daddr;
237 *p32 = inet->inet_daddr;
/Linux-v5.15/drivers/char/ipmi/
Dipmi_devintf.c663 struct compat_ipmi_msg *p32) in get_compat_ipmi_msg() argument
665 p64->netfn = p32->netfn; in get_compat_ipmi_msg()
666 p64->cmd = p32->cmd; in get_compat_ipmi_msg()
667 p64->data_len = p32->data_len; in get_compat_ipmi_msg()
668 p64->data = compat_ptr(p32->data); in get_compat_ipmi_msg()
672 struct compat_ipmi_req *p32) in get_compat_ipmi_req() argument
674 p64->addr = compat_ptr(p32->addr); in get_compat_ipmi_req()
675 p64->addr_len = p32->addr_len; in get_compat_ipmi_req()
676 p64->msgid = p32->msgid; in get_compat_ipmi_req()
677 get_compat_ipmi_msg(&p64->msg, &p32->msg); in get_compat_ipmi_req()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/diag/
Den_rep_tracepoint.h26 __be32 *p32;
32 p32 = (__be32 *)__entry->v4;
35 *p32 = mn->dst_ip.v4;
36 ipv6_addr_set_v4mapped(*p32, pin6);
Den_tc_tracepoint.h87 __be32 *p32;
92 p32 = (__be32 *)__entry->v4;
95 *p32 = mn->dst_ip.v4;
96 ipv6_addr_set_v4mapped(*p32, pin6);
/Linux-v5.15/drivers/xen/
Dtime.c33 u32 *p32 = (u32 *)p; in get64() local
43 h = READ_ONCE(p32[1]); in get64()
44 l = READ_ONCE(p32[0]); in get64()
45 h2 = READ_ONCE(p32[1]); in get64()
/Linux-v5.15/lib/
Dxxhash.c288 const uint32_t *p32 = state->mem32; in xxh32_update() local
293 state->v1 = xxh32_round(state->v1, get_unaligned_le32(p32)); in xxh32_update()
294 p32++; in xxh32_update()
295 state->v2 = xxh32_round(state->v2, get_unaligned_le32(p32)); in xxh32_update()
296 p32++; in xxh32_update()
297 state->v3 = xxh32_round(state->v3, get_unaligned_le32(p32)); in xxh32_update()
298 p32++; in xxh32_update()
299 state->v4 = xxh32_round(state->v4, get_unaligned_le32(p32)); in xxh32_update()
300 p32++; in xxh32_update()
/Linux-v5.15/include/net/
Dndisc.h373 const u32 *p32 = pkey; in ndisc_hashfn() local
375 return (((p32[0] ^ hash32_ptr(dev)) * hash_rnd[0]) + in ndisc_hashfn()
376 (p32[1] * hash_rnd[1]) + in ndisc_hashfn()
377 (p32[2] * hash_rnd[2]) + in ndisc_hashfn()
378 (p32[3] * hash_rnd[3])); in ndisc_hashfn()
Dneighbour.h275 const u32 *p32 = pkey; in neigh_key_eq128() local
277 return ((n32[0] ^ p32[0]) | (n32[1] ^ p32[1]) | in neigh_key_eq128()
278 (n32[2] ^ p32[2]) | (n32[3] ^ p32[3])) == 0; in neigh_key_eq128()
/Linux-v5.15/drivers/net/ethernet/amd/
Dsunlance.c645 u32 *p32; in lance_piocopy_to_skb() local
651 p32 = (u32 *) p16; in lance_piocopy_to_skb()
656 *p32++ = sbus_readl(pbuf); in lance_piocopy_to_skb()
660 p8 = (u8 *) p32; in lance_piocopy_to_skb()
662 p16 = (u16 *) p32; in lance_piocopy_to_skb()
1004 u32 *p32; in lance_piocopy_from_skb() local
1010 p32 = (u32 *) src; in lance_piocopy_from_skb()
1012 sbus_writel(*p32, piobuf); in lance_piocopy_from_skb()
1013 p32++; in lance_piocopy_from_skb()
1017 src = (char *) p32; in lance_piocopy_from_skb()
/Linux-v5.15/drivers/video/fbdev/
Dcg3.c145 u32 *p32; in cg3_setcolreg() local
167 p32 = &par->sw_cmap[D4M3(regno)]; in cg3_setcolreg()
170 sbus_writel(*p32++, &bt->color_map); in cg3_setcolreg()
/Linux-v5.15/drivers/net/ethernet/
Djme.c2368 u32 *p32 = (u32 *)p; in jme_get_regs() local
2373 mmapio_memcpy(jme, p32, JME_MAC, JME_MAC_LEN); in jme_get_regs()
2375 p32 += 0x100 >> 2; in jme_get_regs()
2376 mmapio_memcpy(jme, p32, JME_PHY, JME_PHY_LEN); in jme_get_regs()
2378 p32 += 0x100 >> 2; in jme_get_regs()
2379 mmapio_memcpy(jme, p32, JME_MISC, JME_MISC_LEN); in jme_get_regs()
2381 p32 += 0x100 >> 2; in jme_get_regs()
2382 mmapio_memcpy(jme, p32, JME_RSS, JME_RSS_LEN); in jme_get_regs()
2384 p32 += 0x100 >> 2; in jme_get_regs()
2385 mdio_memcpy(jme, p32, JME_PHY_REG_NR); in jme_get_regs()
/Linux-v5.15/drivers/usb/core/
Ddevio.c2033 struct usbdevfs_ctrltransfer32 __user *p32) in proc_control_compat() argument
2038 if (copy_from_user(&ctrl, p32, sizeof(*p32) - sizeof(compat_caddr_t)) || in proc_control_compat()
2039 get_user(udata, &p32->data)) in proc_control_compat()
2046 struct usbdevfs_bulktransfer32 __user *p32) in proc_bulk_compat() argument
2051 if (get_user(bulk.ep, &p32->ep) || in proc_bulk_compat()
2052 get_user(bulk.len, &p32->len) || in proc_bulk_compat()
2053 get_user(bulk.timeout, &p32->timeout) || in proc_bulk_compat()
2054 get_user(addr, &p32->data)) in proc_bulk_compat()
/Linux-v5.15/drivers/usb/gadget/udc/
Dlpc32xx_udc.c1139 u32 *p32, tmp, cbytes; in udc_pop_fifo() local
1144 p32 = (u32 *) data; in udc_pop_fifo()
1149 *p32++ = readl(USBD_RXDATA(udc->udp_baseaddr)); in udc_pop_fifo()
1240 u32 *p32, tmp, cbytes; in udc_stuff_fifo() local
1245 p32 = (u32 *) data; in udc_stuff_fifo()
1250 writel(*p32++, USBD_TXDATA(udc->udp_baseaddr)); in udc_stuff_fifo()
/Linux-v5.15/net/sched/
Dsch_netem.c889 q->clg.a3 = gi->p32; in get_loss_clg()
1107 .p32 = q->clg.a3, in dump_loss_model()
/Linux-v5.15/arch/arc/kernel/
Dunwind.c711 const u32 *p32; in processCFI() member
758 && advance_loc(*ptr.p32++, state); in processCFI()
/Linux-v5.15/tools/include/uapi/linux/
Dpkt_sched.h644 __u32 p32; member
/Linux-v5.15/include/uapi/linux/
Dpkt_sched.h664 __u32 p32; member