Searched refs:am_hreq (Results 1 – 2 of 2) sorted by relevance
| /fs/xfs/ |
| A D | xfs_ioctl32.c | 373 compat_xfs_fsop_attrmulti_handlereq_t am_hreq; in xfs_compat_attrmulti_by_handle() local 379 if (copy_from_user(&am_hreq, arg, in xfs_compat_attrmulti_by_handle() 384 if (am_hreq.opcount >= INT_MAX / sizeof(compat_xfs_attr_multiop_t)) in xfs_compat_attrmulti_by_handle() 387 dentry = xfs_compat_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_compat_attrmulti_by_handle() 392 size = am_hreq.opcount * sizeof(compat_xfs_attr_multiop_t); in xfs_compat_attrmulti_by_handle() 396 ops = memdup_user(compat_ptr(am_hreq.ops), size); in xfs_compat_attrmulti_by_handle() 403 for (i = 0; i < am_hreq.opcount; i++) { in xfs_compat_attrmulti_by_handle() 411 if (copy_to_user(compat_ptr(am_hreq.ops), ops, size)) in xfs_compat_attrmulti_by_handle()
|
| A D | xfs_handle.c | 633 xfs_fsop_attrmulti_handlereq_t am_hreq; in xfs_attrmulti_by_handle() local 639 if (copy_from_user(&am_hreq, arg, sizeof(xfs_fsop_attrmulti_handlereq_t))) in xfs_attrmulti_by_handle() 643 if (am_hreq.opcount >= INT_MAX / sizeof(xfs_attr_multiop_t)) in xfs_attrmulti_by_handle() 646 dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_attrmulti_by_handle() 651 size = am_hreq.opcount * sizeof(xfs_attr_multiop_t); in xfs_attrmulti_by_handle() 655 ops = memdup_user(am_hreq.ops, size); in xfs_attrmulti_by_handle() 662 for (i = 0; i < am_hreq.opcount; i++) { in xfs_attrmulti_by_handle() 669 if (copy_to_user(am_hreq.ops, ops, size)) in xfs_attrmulti_by_handle()
|
Completed in 8 milliseconds