Home
last modified time | relevance | path

Searched refs:am_hreq (Results 1 – 2 of 2) sorted by relevance

/fs/xfs/
Dxfs_ioctl32.c400 compat_xfs_fsop_attrmulti_handlereq_t am_hreq; in xfs_compat_attrmulti_by_handle() local
407 if (copy_from_user(&am_hreq, arg, in xfs_compat_attrmulti_by_handle()
412 if (am_hreq.opcount >= INT_MAX / sizeof(compat_xfs_attr_multiop_t)) in xfs_compat_attrmulti_by_handle()
415 dentry = xfs_compat_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_compat_attrmulti_by_handle()
420 size = am_hreq.opcount * sizeof(compat_xfs_attr_multiop_t); in xfs_compat_attrmulti_by_handle()
424 ops = memdup_user(compat_ptr(am_hreq.ops), size); in xfs_compat_attrmulti_by_handle()
436 for (i = 0; i < am_hreq.opcount; i++) { in xfs_compat_attrmulti_by_handle()
476 if (copy_to_user(compat_ptr(am_hreq.ops), ops, size)) in xfs_compat_attrmulti_by_handle()
Dxfs_ioctl.c517 xfs_fsop_attrmulti_handlereq_t am_hreq; in xfs_attrmulti_by_handle() local
524 if (copy_from_user(&am_hreq, arg, sizeof(xfs_fsop_attrmulti_handlereq_t))) in xfs_attrmulti_by_handle()
528 if (am_hreq.opcount >= INT_MAX / sizeof(xfs_attr_multiop_t)) in xfs_attrmulti_by_handle()
531 dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_attrmulti_by_handle()
536 size = am_hreq.opcount * sizeof(xfs_attr_multiop_t); in xfs_attrmulti_by_handle()
540 ops = memdup_user(am_hreq.ops, size); in xfs_attrmulti_by_handle()
552 for (i = 0; i < am_hreq.opcount; i++) { in xfs_attrmulti_by_handle()
591 if (copy_to_user(am_hreq.ops, ops, size)) in xfs_attrmulti_by_handle()