Home
last modified time | relevance | path

Searched refs:al_hreq (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-4.19/fs/xfs/
Dxfs_ioctl32.c366 compat_xfs_fsop_attrlist_handlereq_t al_hreq; in xfs_compat_attrlist_by_handle() local
372 if (copy_from_user(&al_hreq, arg, in xfs_compat_attrlist_by_handle()
375 if (al_hreq.buflen < sizeof(struct attrlist) || in xfs_compat_attrlist_by_handle()
376 al_hreq.buflen > XFS_XATTR_LIST_MAX) in xfs_compat_attrlist_by_handle()
382 if (al_hreq.flags & ~(ATTR_ROOT | ATTR_SECURE)) in xfs_compat_attrlist_by_handle()
385 dentry = xfs_compat_handlereq_to_dentry(parfilp, &al_hreq.hreq); in xfs_compat_attrlist_by_handle()
390 kbuf = kmem_zalloc_large(al_hreq.buflen, KM_SLEEP); in xfs_compat_attrlist_by_handle()
394 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_compat_attrlist_by_handle()
395 error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen, in xfs_compat_attrlist_by_handle()
396 al_hreq.flags, cursor); in xfs_compat_attrlist_by_handle()
[all …]
Dxfs_ioctl.c383 xfs_fsop_attrlist_handlereq_t al_hreq; in xfs_attrlist_by_handle() local
389 if (copy_from_user(&al_hreq, arg, sizeof(xfs_fsop_attrlist_handlereq_t))) in xfs_attrlist_by_handle()
391 if (al_hreq.buflen < sizeof(struct attrlist) || in xfs_attrlist_by_handle()
392 al_hreq.buflen > XFS_XATTR_LIST_MAX) in xfs_attrlist_by_handle()
398 if (al_hreq.flags & ~(ATTR_ROOT | ATTR_SECURE)) in xfs_attrlist_by_handle()
401 dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq); in xfs_attrlist_by_handle()
405 kbuf = kmem_zalloc_large(al_hreq.buflen, KM_SLEEP); in xfs_attrlist_by_handle()
409 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_attrlist_by_handle()
410 error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen, in xfs_attrlist_by_handle()
411 al_hreq.flags, cursor); in xfs_attrlist_by_handle()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_ioctl32.c357 compat_xfs_fsop_attrlist_handlereq_t al_hreq; in xfs_compat_attrlist_by_handle() local
363 if (copy_from_user(&al_hreq, p, sizeof(al_hreq))) in xfs_compat_attrlist_by_handle()
366 dentry = xfs_compat_handlereq_to_dentry(parfilp, &al_hreq.hreq); in xfs_compat_attrlist_by_handle()
371 compat_ptr(al_hreq.buffer), al_hreq.buflen, in xfs_compat_attrlist_by_handle()
372 al_hreq.flags, &p->pos); in xfs_compat_attrlist_by_handle()
Dxfs_ioctl.c444 struct xfs_fsop_attrlist_handlereq al_hreq; in xfs_attrlist_by_handle() local
450 if (copy_from_user(&al_hreq, p, sizeof(al_hreq))) in xfs_attrlist_by_handle()
453 dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq); in xfs_attrlist_by_handle()
457 error = xfs_ioc_attr_list(XFS_I(d_inode(dentry)), al_hreq.buffer, in xfs_attrlist_by_handle()
458 al_hreq.buflen, al_hreq.flags, &p->pos); in xfs_attrlist_by_handle()