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

/linux-4.4.14/fs/xfs/
H A Dxfs_ioctl32.c248 xfs_fsop_bulkreq_t bulkreq; xfs_compat_ioc_bulkstat() local
265 bulkreq.lastip = compat_ptr(addr); xfs_compat_ioc_bulkstat()
266 if (get_user(bulkreq.icount, &p32->icount) || xfs_compat_ioc_bulkstat()
269 bulkreq.ubuffer = compat_ptr(addr); xfs_compat_ioc_bulkstat()
272 bulkreq.ocount = compat_ptr(addr); xfs_compat_ioc_bulkstat()
274 if (copy_from_user(&inlast, bulkreq.lastip, sizeof(__s64))) xfs_compat_ioc_bulkstat()
277 if ((count = bulkreq.icount) <= 0) xfs_compat_ioc_bulkstat()
280 if (bulkreq.ubuffer == NULL) xfs_compat_ioc_bulkstat()
285 bulkreq.ubuffer, xfs_inumbers_fmt_compat); xfs_compat_ioc_bulkstat()
289 error = xfs_bulkstat_one_compat(mp, inlast, bulkreq.ubuffer, xfs_compat_ioc_bulkstat()
294 bulkreq.ubuffer, &done); xfs_compat_ioc_bulkstat()
300 if (bulkreq.ocount != NULL) { xfs_compat_ioc_bulkstat()
301 if (copy_to_user(bulkreq.lastip, &inlast, xfs_compat_ioc_bulkstat()
305 if (copy_to_user(bulkreq.ocount, &count, sizeof(count))) xfs_compat_ioc_bulkstat()
H A Dxfs_ioctl.c758 xfs_fsop_bulkreq_t bulkreq; xfs_ioc_bulkstat() local
773 if (copy_from_user(&bulkreq, arg, sizeof(xfs_fsop_bulkreq_t))) xfs_ioc_bulkstat()
776 if (copy_from_user(&inlast, bulkreq.lastip, sizeof(__s64))) xfs_ioc_bulkstat()
779 if ((count = bulkreq.icount) <= 0) xfs_ioc_bulkstat()
782 if (bulkreq.ubuffer == NULL) xfs_ioc_bulkstat()
787 bulkreq.ubuffer, xfs_inumbers_fmt); xfs_ioc_bulkstat()
789 error = xfs_bulkstat_one(mp, inlast, bulkreq.ubuffer, xfs_ioc_bulkstat()
793 sizeof(xfs_bstat_t), bulkreq.ubuffer, xfs_ioc_bulkstat()
799 if (bulkreq.ocount != NULL) { xfs_ioc_bulkstat()
800 if (copy_to_user(bulkreq.lastip, &inlast, xfs_ioc_bulkstat()
804 if (copy_to_user(bulkreq.ocount, &count, sizeof(count))) xfs_ioc_bulkstat()

Completed in 70 milliseconds