Searched refs:al_hreq (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/fs/xfs/ |
H A D | xfs_ioctl32.c | 349 compat_xfs_fsop_attrlist_handlereq_t al_hreq; xfs_compat_attrlist_by_handle() local 355 if (copy_from_user(&al_hreq, arg, xfs_compat_attrlist_by_handle() 358 if (al_hreq.buflen < sizeof(struct attrlist) || xfs_compat_attrlist_by_handle() 359 al_hreq.buflen > XFS_XATTR_LIST_MAX) xfs_compat_attrlist_by_handle() 365 if (al_hreq.flags & ~(ATTR_ROOT | ATTR_SECURE)) xfs_compat_attrlist_by_handle() 368 dentry = xfs_compat_handlereq_to_dentry(parfilp, &al_hreq.hreq); xfs_compat_attrlist_by_handle() 373 kbuf = kmem_zalloc_large(al_hreq.buflen, KM_SLEEP); xfs_compat_attrlist_by_handle() 377 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; xfs_compat_attrlist_by_handle() 378 error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen, xfs_compat_attrlist_by_handle() 379 al_hreq.flags, cursor); xfs_compat_attrlist_by_handle() 383 if (copy_to_user(compat_ptr(al_hreq.buffer), kbuf, al_hreq.buflen)) xfs_compat_attrlist_by_handle()
|
H A D | xfs_ioctl.c | 406 xfs_fsop_attrlist_handlereq_t al_hreq; xfs_attrlist_by_handle() local 412 if (copy_from_user(&al_hreq, arg, sizeof(xfs_fsop_attrlist_handlereq_t))) xfs_attrlist_by_handle() 414 if (al_hreq.buflen < sizeof(struct attrlist) || xfs_attrlist_by_handle() 415 al_hreq.buflen > XFS_XATTR_LIST_MAX) xfs_attrlist_by_handle() 421 if (al_hreq.flags & ~(ATTR_ROOT | ATTR_SECURE)) xfs_attrlist_by_handle() 424 dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq); xfs_attrlist_by_handle() 428 kbuf = kmem_zalloc_large(al_hreq.buflen, KM_SLEEP); xfs_attrlist_by_handle() 432 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; xfs_attrlist_by_handle() 433 error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen, xfs_attrlist_by_handle() 434 al_hreq.flags, cursor); xfs_attrlist_by_handle() 438 if (copy_to_user(al_hreq.buffer, kbuf, al_hreq.buflen)) xfs_attrlist_by_handle()
|
Completed in 76 milliseconds