Lines Matching refs:copy_to_user

116 	if (copy_to_user(hreq->ohandle, &handle, hsize) ||  in xfs_find_handle()
117 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32))) in xfs_find_handle()
433 if (copy_to_user(ubuf, buffer, bufsize) || in xfs_ioc_attr_list()
434 copy_to_user(ucursor, &context.cursor, sizeof(context.cursor))) in xfs_ioc_attr_list()
491 if (copy_to_user(ubuf, args.value, args.valuelen)) in xfs_attrmulti_attr_get()
622 if (copy_to_user(am_hreq.ops, ops, size)) in xfs_attrmulti_by_handle()
640 if (copy_to_user(breq->ubuffer, &bs1, sizeof(bs1))) in xfs_fsbulkstat_one_fmt()
653 if (copy_to_user(breq->ubuffer, &ig1, sizeof(struct xfs_inogrp))) in xfs_fsinumbers_fmt()
727 copy_to_user(bulkreq.lastip, &lastino, sizeof(xfs_ino_t))) in xfs_ioc_fsbulkstat()
731 copy_to_user(bulkreq.ocount, &breq.ocount, sizeof(__s32))) in xfs_ioc_fsbulkstat()
743 if (copy_to_user(breq->ubuffer, bstat, sizeof(struct xfs_bulkstat))) in xfs_bulkstat_fmt()
872 if (copy_to_user(&arg->hdr, &hdr, sizeof(hdr))) in xfs_ioc_bulkstat()
883 if (copy_to_user(breq->ubuffer, igrp, sizeof(struct xfs_inumbers))) in xfs_inumbers_fmt()
922 if (copy_to_user(&arg->hdr, &hdr, sizeof(hdr))) in xfs_ioc_inumbers()
948 if (copy_to_user(arg, &fsgeo, len)) in xfs_ioc_fsgeometry()
978 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
1496 if (copy_to_user(arg, &bmx, recsize)) in xfs_ioc_getbmap()
1599 if (copy_to_user(user_recs, recs, in xfs_ioc_getfsmap()
1624 if (copy_to_user(&user_rec->fmr_flags, &last_flags, in xfs_ioc_getfsmap()
1632 if (copy_to_user(arg, &head, sizeof(struct fsmap_head))) { in xfs_ioc_getfsmap()
1660 if (copy_to_user(arg, &scrub, sizeof(scrub))) in xfs_ioc_scrub_metadata()
1763 if (copy_to_user(user_label, label, sizeof(label))) in xfs_ioc_getlabel()
1925 if (copy_to_user(arg, &da, sizeof(da))) in xfs_file_ioctl()
2015 if (copy_to_user(arg, &out, sizeof(out))) in xfs_file_ioctl()
2044 if (copy_to_user(arg, &inout, sizeof(inout))) in xfs_file_ioctl()
2059 if (copy_to_user(arg, &out, sizeof(out))) in xfs_file_ioctl()