Searched refs:al_hreq (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/fs/xfs/ |
D | xfs_ioctl32.c | 360 compat_xfs_fsop_attrlist_handlereq_t al_hreq; in xfs_compat_attrlist_by_handle() local 366 if (copy_from_user(&al_hreq, arg, in xfs_compat_attrlist_by_handle() 369 if (al_hreq.buflen < sizeof(struct attrlist) || in xfs_compat_attrlist_by_handle() 370 al_hreq.buflen > XFS_XATTR_LIST_MAX) in xfs_compat_attrlist_by_handle() 376 if (al_hreq.flags & ~(ATTR_ROOT | ATTR_SECURE)) in xfs_compat_attrlist_by_handle() 379 dentry = xfs_compat_handlereq_to_dentry(parfilp, &al_hreq.hreq); in xfs_compat_attrlist_by_handle() 384 kbuf = kmem_zalloc_large(al_hreq.buflen, 0); in xfs_compat_attrlist_by_handle() 388 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_compat_attrlist_by_handle() 389 error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen, in xfs_compat_attrlist_by_handle() 390 al_hreq.flags, cursor); in xfs_compat_attrlist_by_handle() [all …]
|
D | xfs_ioctl.c | 377 xfs_fsop_attrlist_handlereq_t al_hreq; in xfs_attrlist_by_handle() local 383 if (copy_from_user(&al_hreq, arg, sizeof(xfs_fsop_attrlist_handlereq_t))) in xfs_attrlist_by_handle() 385 if (al_hreq.buflen < sizeof(struct attrlist) || in xfs_attrlist_by_handle() 386 al_hreq.buflen > XFS_XATTR_LIST_MAX) in xfs_attrlist_by_handle() 392 if (al_hreq.flags & ~(ATTR_ROOT | ATTR_SECURE)) in xfs_attrlist_by_handle() 395 dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq); in xfs_attrlist_by_handle() 399 kbuf = kmem_zalloc_large(al_hreq.buflen, 0); in xfs_attrlist_by_handle() 403 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_attrlist_by_handle() 404 error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen, in xfs_attrlist_by_handle() 405 al_hreq.flags, cursor); in xfs_attrlist_by_handle() [all …]
|