Lines Matching refs:al_hreq
405 xfs_fsop_attrlist_handlereq_t al_hreq; in xfs_attrlist_by_handle() local
411 if (copy_from_user(&al_hreq, arg, sizeof(xfs_fsop_attrlist_handlereq_t))) in xfs_attrlist_by_handle()
413 if (al_hreq.buflen < sizeof(struct attrlist) || in xfs_attrlist_by_handle()
414 al_hreq.buflen > XATTR_LIST_MAX) in xfs_attrlist_by_handle()
420 if (al_hreq.flags & ~(ATTR_ROOT | ATTR_SECURE)) in xfs_attrlist_by_handle()
423 dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq); in xfs_attrlist_by_handle()
427 kbuf = kmem_zalloc_large(al_hreq.buflen, KM_SLEEP); in xfs_attrlist_by_handle()
431 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_attrlist_by_handle()
432 error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen, in xfs_attrlist_by_handle()
433 al_hreq.flags, cursor); in xfs_attrlist_by_handle()
437 if (copy_to_user(al_hreq.buffer, kbuf, al_hreq.buflen)) in xfs_attrlist_by_handle()