Home
last modified time | relevance | path

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

/fs/xfs/linux-2.6/
Dxfs_ioctl32.c116 compat_xfs_inogrp_t __user *p32 = ubuffer; in xfs_inumbers_fmt_compat() local
120 if (put_user(buffer[i].xi_startino, &p32[i].xi_startino) || in xfs_inumbers_fmt_compat()
121 put_user(buffer[i].xi_alloccount, &p32[i].xi_alloccount) || in xfs_inumbers_fmt_compat()
122 put_user(buffer[i].xi_allocmask, &p32[i].xi_allocmask)) in xfs_inumbers_fmt_compat()
125 *written = count * sizeof(*p32); in xfs_inumbers_fmt_compat()
181 compat_xfs_bstime_t __user *p32, in xfs_bstime_store_compat() argument
187 if (put_user(sec32, &p32->tv_sec) || in xfs_bstime_store_compat()
188 put_user(p->tv_nsec, &p32->tv_nsec)) in xfs_bstime_store_compat()
201 compat_xfs_bstat_t __user *p32 = ubuffer; in xfs_bulkstat_one_fmt_compat() local
203 if (ubsize < sizeof(*p32)) in xfs_bulkstat_one_fmt_compat()
[all …]
/fs/
Dcompat_ioctl.c1594 struct usbdevfs_ctrltransfer32 __user *p32 = compat_ptr(arg); in do_usbdevfs_control() local
1598 if (copy_in_user(p, p32, (sizeof(*p32) - sizeof(compat_caddr_t))) || in do_usbdevfs_control()
1599 get_user(udata, &p32->data) || in do_usbdevfs_control()
1617 struct usbdevfs_bulktransfer32 __user *p32 = compat_ptr(arg); in do_usbdevfs_bulk() local
1624 if (get_user(n, &p32->ep) || put_user(n, &p->ep) || in do_usbdevfs_bulk()
1625 get_user(n, &p32->len) || put_user(n, &p->len) || in do_usbdevfs_bulk()
1626 get_user(n, &p32->timeout) || put_user(n, &p->timeout) || in do_usbdevfs_bulk()
1627 get_user(addr, &p32->data) || put_user(compat_ptr(addr), &p->data)) in do_usbdevfs_bulk()