Searched refs:am_hreq (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_ioctl32.c | 384 compat_xfs_fsop_attrmulti_handlereq_t am_hreq; in xfs_compat_attrmulti_by_handle() local 390 if (copy_from_user(&am_hreq, arg, in xfs_compat_attrmulti_by_handle() 395 if (am_hreq.opcount >= INT_MAX / sizeof(compat_xfs_attr_multiop_t)) in xfs_compat_attrmulti_by_handle() 398 dentry = xfs_compat_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_compat_attrmulti_by_handle() 403 size = am_hreq.opcount * sizeof(compat_xfs_attr_multiop_t); in xfs_compat_attrmulti_by_handle() 407 ops = memdup_user(compat_ptr(am_hreq.ops), size); in xfs_compat_attrmulti_by_handle() 414 for (i = 0; i < am_hreq.opcount; i++) { in xfs_compat_attrmulti_by_handle() 422 if (copy_to_user(compat_ptr(am_hreq.ops), ops, size)) in xfs_compat_attrmulti_by_handle()
|
H A D | xfs_ioctl.c | 584 xfs_fsop_attrmulti_handlereq_t am_hreq; in xfs_attrmulti_by_handle() local 590 if (copy_from_user(&am_hreq, arg, sizeof(xfs_fsop_attrmulti_handlereq_t))) in xfs_attrmulti_by_handle() 594 if (am_hreq.opcount >= INT_MAX / sizeof(xfs_attr_multiop_t)) in xfs_attrmulti_by_handle() 597 dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_attrmulti_by_handle() 602 size = am_hreq.opcount * sizeof(xfs_attr_multiop_t); in xfs_attrmulti_by_handle() 606 ops = memdup_user(am_hreq.ops, size); in xfs_attrmulti_by_handle() 613 for (i = 0; i < am_hreq.opcount; i++) { in xfs_attrmulti_by_handle() 620 if (copy_to_user(am_hreq.ops, ops, size)) in xfs_attrmulti_by_handle()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_ioctl32.c | 372 compat_xfs_fsop_attrmulti_handlereq_t am_hreq; in xfs_compat_attrmulti_by_handle() local 378 if (copy_from_user(&am_hreq, arg, in xfs_compat_attrmulti_by_handle() 383 if (am_hreq.opcount >= INT_MAX / sizeof(compat_xfs_attr_multiop_t)) in xfs_compat_attrmulti_by_handle() 386 dentry = xfs_compat_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_compat_attrmulti_by_handle() 391 size = am_hreq.opcount * sizeof(compat_xfs_attr_multiop_t); in xfs_compat_attrmulti_by_handle() 395 ops = memdup_user(compat_ptr(am_hreq.ops), size); in xfs_compat_attrmulti_by_handle() 402 for (i = 0; i < am_hreq.opcount; i++) { in xfs_compat_attrmulti_by_handle() 410 if (copy_to_user(compat_ptr(am_hreq.ops), ops, size)) in xfs_compat_attrmulti_by_handle()
|
H A D | xfs_ioctl.c | 586 xfs_fsop_attrmulti_handlereq_t am_hreq; in xfs_attrmulti_by_handle() local 592 if (copy_from_user(&am_hreq, arg, sizeof(xfs_fsop_attrmulti_handlereq_t))) in xfs_attrmulti_by_handle() 596 if (am_hreq.opcount >= INT_MAX / sizeof(xfs_attr_multiop_t)) in xfs_attrmulti_by_handle() 599 dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_attrmulti_by_handle() 604 size = am_hreq.opcount * sizeof(xfs_attr_multiop_t); in xfs_attrmulti_by_handle() 608 ops = memdup_user(am_hreq.ops, size); in xfs_attrmulti_by_handle() 615 for (i = 0; i < am_hreq.opcount; i++) { in xfs_attrmulti_by_handle() 622 if (copy_to_user(am_hreq.ops, ops, size)) in xfs_attrmulti_by_handle()
|
Completed in 6 milliseconds