Searched refs:am_hreq (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/fs/xfs/ |
H A D | xfs_ioctl32.c | 400 compat_xfs_fsop_attrmulti_handlereq_t am_hreq; xfs_compat_attrmulti_by_handle() local 407 if (copy_from_user(&am_hreq, arg, xfs_compat_attrmulti_by_handle() 412 if (am_hreq.opcount >= INT_MAX / sizeof(compat_xfs_attr_multiop_t)) xfs_compat_attrmulti_by_handle() 415 dentry = xfs_compat_handlereq_to_dentry(parfilp, &am_hreq.hreq); xfs_compat_attrmulti_by_handle() 420 size = am_hreq.opcount * sizeof(compat_xfs_attr_multiop_t); xfs_compat_attrmulti_by_handle() 424 ops = memdup_user(compat_ptr(am_hreq.ops), size); xfs_compat_attrmulti_by_handle() 436 for (i = 0; i < am_hreq.opcount; i++) { xfs_compat_attrmulti_by_handle() 476 if (copy_to_user(compat_ptr(am_hreq.ops), ops, size)) xfs_compat_attrmulti_by_handle()
|
H A D | xfs_ioctl.c | 527 xfs_fsop_attrmulti_handlereq_t am_hreq; xfs_attrmulti_by_handle() local 534 if (copy_from_user(&am_hreq, arg, sizeof(xfs_fsop_attrmulti_handlereq_t))) xfs_attrmulti_by_handle() 538 if (am_hreq.opcount >= INT_MAX / sizeof(xfs_attr_multiop_t)) xfs_attrmulti_by_handle() 541 dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq); xfs_attrmulti_by_handle() 546 size = am_hreq.opcount * sizeof(xfs_attr_multiop_t); xfs_attrmulti_by_handle() 550 ops = memdup_user(am_hreq.ops, size); xfs_attrmulti_by_handle() 562 for (i = 0; i < am_hreq.opcount; i++) { xfs_attrmulti_by_handle() 601 if (copy_to_user(am_hreq.ops, ops, size)) xfs_attrmulti_by_handle()
|
Completed in 89 milliseconds