Lines Matching refs:copy_to_user

115 	if (copy_to_user(hreq->ohandle, &handle, hsize) ||  in xfs_find_handle()
116 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32))) in xfs_find_handle()
432 if (copy_to_user(ubuf, buffer, bufsize) || in xfs_ioc_attr_list()
433 copy_to_user(ucursor, &context.cursor, sizeof(context.cursor))) in xfs_ioc_attr_list()
490 if (copy_to_user(ubuf, args.value, args.valuelen)) in xfs_attrmulti_attr_get()
621 if (copy_to_user(am_hreq.ops, ops, size)) in xfs_attrmulti_by_handle()
720 if (copy_to_user(breq->ubuffer, &bs1, sizeof(bs1))) in xfs_fsbulkstat_one_fmt()
733 if (copy_to_user(breq->ubuffer, &ig1, sizeof(struct xfs_inogrp))) in xfs_fsinumbers_fmt()
807 copy_to_user(bulkreq.lastip, &lastino, sizeof(xfs_ino_t))) in xfs_ioc_fsbulkstat()
811 copy_to_user(bulkreq.ocount, &breq.ocount, sizeof(__s32))) in xfs_ioc_fsbulkstat()
823 if (copy_to_user(breq->ubuffer, bstat, sizeof(struct xfs_bulkstat))) in xfs_bulkstat_fmt()
949 if (copy_to_user(&arg->hdr, &hdr, sizeof(hdr))) in xfs_ioc_bulkstat()
960 if (copy_to_user(breq->ubuffer, igrp, sizeof(struct xfs_inumbers))) in xfs_inumbers_fmt()
999 if (copy_to_user(&arg->hdr, &hdr, sizeof(hdr))) in xfs_ioc_inumbers()
1025 if (copy_to_user(arg, &fsgeo, len)) in xfs_ioc_fsgeometry()
1049 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
1560 if (copy_to_user(arg, &bmx, recsize)) in xfs_ioc_getbmap()
1663 if (copy_to_user(user_recs, recs, in xfs_ioc_getfsmap()
1688 if (copy_to_user(&user_rec->fmr_flags, &last_flags, in xfs_ioc_getfsmap()
1696 if (copy_to_user(arg, &head, sizeof(struct fsmap_head))) { in xfs_ioc_getfsmap()
1724 if (copy_to_user(arg, &scrub, sizeof(scrub))) in xfs_ioc_scrub_metadata()
1827 if (copy_to_user(user_label, label, sizeof(label))) in xfs_ioc_getlabel()
1982 if (copy_to_user(arg, &da, sizeof(da))) in xfs_file_ioctl()
2072 if (copy_to_user(arg, &out, sizeof(out))) in xfs_file_ioctl()
2101 if (copy_to_user(arg, &inout, sizeof(inout))) in xfs_file_ioctl()
2116 if (copy_to_user(arg, &out, sizeof(out))) in xfs_file_ioctl()