Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A Dxfs_ioctl32.c204 struct xfs_fsop_bulkreq bulkreq; in xfs_compat_ioc_fsbulkstat() local
248 bulkreq.lastip = compat_ptr(addr); in xfs_compat_ioc_fsbulkstat()
249 if (get_user(bulkreq.icount, &p32->icount) || in xfs_compat_ioc_fsbulkstat()
252 bulkreq.ubuffer = compat_ptr(addr); in xfs_compat_ioc_fsbulkstat()
255 bulkreq.ocount = compat_ptr(addr); in xfs_compat_ioc_fsbulkstat()
260 if (bulkreq.icount <= 0) in xfs_compat_ioc_fsbulkstat()
263 if (bulkreq.ubuffer == NULL) in xfs_compat_ioc_fsbulkstat()
266 breq.ubuffer = bulkreq.ubuffer; in xfs_compat_ioc_fsbulkstat()
267 breq.icount = bulkreq.icount; in xfs_compat_ioc_fsbulkstat()
299 if (bulkreq.lastip != NULL && in xfs_compat_ioc_fsbulkstat()
[all …]
H A Dxfs_ioctl.c665 struct xfs_fsop_bulkreq bulkreq; in xfs_ioc_fsbulkstat() local
683 if (copy_from_user(&bulkreq, arg, sizeof(struct xfs_fsop_bulkreq))) in xfs_ioc_fsbulkstat()
686 if (copy_from_user(&lastino, bulkreq.lastip, sizeof(__s64))) in xfs_ioc_fsbulkstat()
689 if (bulkreq.icount <= 0) in xfs_ioc_fsbulkstat()
692 if (bulkreq.ubuffer == NULL) in xfs_ioc_fsbulkstat()
695 breq.ubuffer = bulkreq.ubuffer; in xfs_ioc_fsbulkstat()
696 breq.icount = bulkreq.icount; in xfs_ioc_fsbulkstat()
726 if (bulkreq.lastip != NULL && in xfs_ioc_fsbulkstat()
727 copy_to_user(bulkreq.lastip, &lastino, sizeof(xfs_ino_t))) in xfs_ioc_fsbulkstat()
730 if (bulkreq.ocount != NULL && in xfs_ioc_fsbulkstat()
[all …]