Lines Matching refs:copy_to_user

110 	if (copy_to_user(hreq->ohandle, &handle, hsize) ||  in xfs_find_handle()
111 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32))) in xfs_find_handle()
409 if (copy_to_user(&p->pos, cursor, sizeof(attrlist_cursor_kern_t))) { in xfs_attrlist_by_handle()
414 if (copy_to_user(al_hreq.buffer, kbuf, al_hreq.buflen)) in xfs_attrlist_by_handle()
445 if (copy_to_user(ubuf, kbuf, *len)) in xfs_attrmulti_attr_get()
577 if (copy_to_user(am_hreq.ops, ops, size)) in xfs_attrmulti_by_handle()
725 if (copy_to_user(breq->ubuffer, &bs1, sizeof(bs1))) in xfs_fsbulkstat_one_fmt()
738 if (copy_to_user(breq->ubuffer, &ig1, sizeof(struct xfs_inogrp))) in xfs_fsinumbers_fmt()
810 copy_to_user(bulkreq.lastip, &lastino, sizeof(xfs_ino_t))) in xfs_ioc_fsbulkstat()
814 copy_to_user(bulkreq.ocount, &breq.ocount, sizeof(__s32))) in xfs_ioc_fsbulkstat()
826 if (copy_to_user(breq->ubuffer, bstat, sizeof(struct xfs_bulkstat))) in xfs_bulkstat_fmt()
950 if (copy_to_user(&arg->hdr, &hdr, sizeof(hdr))) in xfs_ioc_bulkstat()
961 if (copy_to_user(breq->ubuffer, igrp, sizeof(struct xfs_inumbers))) in xfs_inumbers_fmt()
1000 if (copy_to_user(&arg->hdr, &hdr, sizeof(hdr))) in xfs_ioc_inumbers()
1026 if (copy_to_user(arg, &fsgeo, len)) in xfs_ioc_fsgeometry()
1050 if (copy_to_user(arg, &ageo, sizeof(ageo))) in xfs_ioc_ag_geometry()
1149 if (copy_to_user(arg, &fa, sizeof(fa))) in xfs_ioc_fsgetxattr()
1681 if (copy_to_user(arg, &flags, sizeof(flags))) in xfs_ioc_getxflags()
1816 if (copy_to_user(arg, &bmx, recsize)) in xfs_ioc_getbmap()
1849 if (copy_to_user(&info->data->fmh_recs[info->idx++], &fm, in xfs_getfsmap_format()
1896 if (copy_to_user(&info.data->fmh_recs[info.idx - 1].fmr_flags, in xfs_ioc_getfsmap()
1904 if (copy_to_user(arg, &head, sizeof(struct fsmap_head))) in xfs_ioc_getfsmap()
1928 if (copy_to_user(arg, &scrub, sizeof(scrub))) in xfs_ioc_scrub_metadata()
2031 if (copy_to_user(user_label, label, sizeof(label))) in xfs_ioc_getlabel()
2147 if (copy_to_user(arg, &da, sizeof(da))) in xfs_file_ioctl()
2263 if (copy_to_user(arg, &out, sizeof(out))) in xfs_file_ioctl()
2292 if (copy_to_user(arg, &inout, sizeof(inout))) in xfs_file_ioctl()
2307 if (copy_to_user(arg, &out, sizeof(out))) in xfs_file_ioctl()