Lines Matching refs:bulkreq
238 xfs_fsop_bulkreq_t bulkreq; in xfs_compat_ioc_bulkstat() local
255 bulkreq.lastip = compat_ptr(addr); in xfs_compat_ioc_bulkstat()
256 if (get_user(bulkreq.icount, &p32->icount) || in xfs_compat_ioc_bulkstat()
259 bulkreq.ubuffer = compat_ptr(addr); in xfs_compat_ioc_bulkstat()
262 bulkreq.ocount = compat_ptr(addr); in xfs_compat_ioc_bulkstat()
264 if (copy_from_user(&inlast, bulkreq.lastip, sizeof(__s64))) in xfs_compat_ioc_bulkstat()
267 if ((count = bulkreq.icount) <= 0) in xfs_compat_ioc_bulkstat()
270 if (bulkreq.ubuffer == NULL) in xfs_compat_ioc_bulkstat()
275 bulkreq.ubuffer, xfs_inumbers_fmt_compat); in xfs_compat_ioc_bulkstat()
279 error = xfs_bulkstat_one_compat(mp, inlast, bulkreq.ubuffer, in xfs_compat_ioc_bulkstat()
284 bulkreq.ubuffer, &done); in xfs_compat_ioc_bulkstat()
290 if (bulkreq.ocount != NULL) { in xfs_compat_ioc_bulkstat()
291 if (copy_to_user(bulkreq.lastip, &inlast, in xfs_compat_ioc_bulkstat()
295 if (copy_to_user(bulkreq.ocount, &count, sizeof(count))) in xfs_compat_ioc_bulkstat()