Lines Matching refs:copy_to_user
114 if (copy_to_user(hreq->ohandle, &handle, hsize) || in xfs_find_handle()
115 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32))) in xfs_find_handle()
431 if (copy_to_user(ubuf, buffer, bufsize) || in xfs_ioc_attr_list()
432 copy_to_user(ucursor, &context.cursor, sizeof(context.cursor))) in xfs_ioc_attr_list()
489 if (copy_to_user(ubuf, args.value, args.valuelen)) in xfs_attrmulti_attr_get()
620 if (copy_to_user(am_hreq.ops, ops, size)) in xfs_attrmulti_by_handle()
718 if (copy_to_user(breq->ubuffer, &bs1, sizeof(bs1))) in xfs_fsbulkstat_one_fmt()
731 if (copy_to_user(breq->ubuffer, &ig1, sizeof(struct xfs_inogrp))) in xfs_fsinumbers_fmt()
803 copy_to_user(bulkreq.lastip, &lastino, sizeof(xfs_ino_t))) in xfs_ioc_fsbulkstat()
807 copy_to_user(bulkreq.ocount, &breq.ocount, sizeof(__s32))) in xfs_ioc_fsbulkstat()
819 if (copy_to_user(breq->ubuffer, bstat, sizeof(struct xfs_bulkstat))) in xfs_bulkstat_fmt()
943 if (copy_to_user(&arg->hdr, &hdr, sizeof(hdr))) in xfs_ioc_bulkstat()
954 if (copy_to_user(breq->ubuffer, igrp, sizeof(struct xfs_inumbers))) in xfs_inumbers_fmt()
993 if (copy_to_user(&arg->hdr, &hdr, sizeof(hdr))) in xfs_ioc_inumbers()
1019 if (copy_to_user(arg, &fsgeo, len)) in xfs_ioc_fsgeometry()
1043 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
1141 if (copy_to_user(arg, &fa, sizeof(fa))) in xfs_ioc_fsgetxattr()
1579 if (copy_to_user(arg, &flags, sizeof(flags))) in xfs_ioc_getxflags()
1704 if (copy_to_user(arg, &bmx, recsize)) in xfs_ioc_getbmap()
1807 if (copy_to_user(user_recs, recs, in xfs_ioc_getfsmap()
1832 if (copy_to_user(&user_rec->fmr_flags, &last_flags, in xfs_ioc_getfsmap()
1840 if (copy_to_user(arg, &head, sizeof(struct fsmap_head))) { in xfs_ioc_getfsmap()
1868 if (copy_to_user(arg, &scrub, sizeof(scrub))) in xfs_ioc_scrub_metadata()
1971 if (copy_to_user(user_label, label, sizeof(label))) in xfs_ioc_getlabel()
2115 if (copy_to_user(arg, &da, sizeof(da))) in xfs_file_ioctl()
2213 if (copy_to_user(arg, &out, sizeof(out))) in xfs_file_ioctl()
2242 if (copy_to_user(arg, &inout, sizeof(inout))) in xfs_file_ioctl()
2257 if (copy_to_user(arg, &out, sizeof(out))) in xfs_file_ioctl()