al_hreq           377 fs/xfs/xfs_ioctl.c 	xfs_fsop_attrlist_handlereq_t al_hreq;
al_hreq           383 fs/xfs/xfs_ioctl.c 	if (copy_from_user(&al_hreq, arg, sizeof(xfs_fsop_attrlist_handlereq_t)))
al_hreq           385 fs/xfs/xfs_ioctl.c 	if (al_hreq.buflen < sizeof(struct attrlist) ||
al_hreq           386 fs/xfs/xfs_ioctl.c 	    al_hreq.buflen > XFS_XATTR_LIST_MAX)
al_hreq           392 fs/xfs/xfs_ioctl.c 	if (al_hreq.flags & ~(ATTR_ROOT | ATTR_SECURE))
al_hreq           395 fs/xfs/xfs_ioctl.c 	dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq);
al_hreq           399 fs/xfs/xfs_ioctl.c 	kbuf = kmem_zalloc_large(al_hreq.buflen, 0);
al_hreq           403 fs/xfs/xfs_ioctl.c 	cursor = (attrlist_cursor_kern_t *)&al_hreq.pos;
al_hreq           404 fs/xfs/xfs_ioctl.c 	error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen,
al_hreq           405 fs/xfs/xfs_ioctl.c 					al_hreq.flags, cursor);
al_hreq           414 fs/xfs/xfs_ioctl.c 	if (copy_to_user(al_hreq.buffer, kbuf, al_hreq.buflen))
al_hreq           360 fs/xfs/xfs_ioctl32.c 	compat_xfs_fsop_attrlist_handlereq_t al_hreq;
al_hreq           366 fs/xfs/xfs_ioctl32.c 	if (copy_from_user(&al_hreq, arg,
al_hreq           369 fs/xfs/xfs_ioctl32.c 	if (al_hreq.buflen < sizeof(struct attrlist) ||
al_hreq           370 fs/xfs/xfs_ioctl32.c 	    al_hreq.buflen > XFS_XATTR_LIST_MAX)
al_hreq           376 fs/xfs/xfs_ioctl32.c 	if (al_hreq.flags & ~(ATTR_ROOT | ATTR_SECURE))
al_hreq           379 fs/xfs/xfs_ioctl32.c 	dentry = xfs_compat_handlereq_to_dentry(parfilp, &al_hreq.hreq);
al_hreq           384 fs/xfs/xfs_ioctl32.c 	kbuf = kmem_zalloc_large(al_hreq.buflen, 0);
al_hreq           388 fs/xfs/xfs_ioctl32.c 	cursor = (attrlist_cursor_kern_t *)&al_hreq.pos;
al_hreq           389 fs/xfs/xfs_ioctl32.c 	error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen,
al_hreq           390 fs/xfs/xfs_ioctl32.c 					al_hreq.flags, cursor);
al_hreq           399 fs/xfs/xfs_ioctl32.c 	if (copy_to_user(compat_ptr(al_hreq.buffer), kbuf, al_hreq.buflen))