Lines Matching refs:bulkreq
248 xfs_fsop_bulkreq_t bulkreq; in xfs_compat_ioc_bulkstat() local
265 bulkreq.lastip = compat_ptr(addr); in xfs_compat_ioc_bulkstat()
266 if (get_user(bulkreq.icount, &p32->icount) || in xfs_compat_ioc_bulkstat()
269 bulkreq.ubuffer = compat_ptr(addr); in xfs_compat_ioc_bulkstat()
272 bulkreq.ocount = compat_ptr(addr); in xfs_compat_ioc_bulkstat()
274 if (copy_from_user(&inlast, bulkreq.lastip, sizeof(__s64))) in xfs_compat_ioc_bulkstat()
277 if ((count = bulkreq.icount) <= 0) in xfs_compat_ioc_bulkstat()
280 if (bulkreq.ubuffer == NULL) in xfs_compat_ioc_bulkstat()
285 bulkreq.ubuffer, xfs_inumbers_fmt_compat); in xfs_compat_ioc_bulkstat()
289 error = xfs_bulkstat_one_compat(mp, inlast, bulkreq.ubuffer, in xfs_compat_ioc_bulkstat()
294 bulkreq.ubuffer, &done); in xfs_compat_ioc_bulkstat()
300 if (bulkreq.ocount != NULL) { in xfs_compat_ioc_bulkstat()
301 if (copy_to_user(bulkreq.lastip, &inlast, in xfs_compat_ioc_bulkstat()
305 if (copy_to_user(bulkreq.ocount, &count, sizeof(count))) in xfs_compat_ioc_bulkstat()