Searched refs:bmx (Results 1 – 1 of 1) sorted by relevance
1568 struct getbmapx bmx = { 0 }; in xfs_ioc_getbmap() local1575 bmx.bmv_iflags = BMV_IF_ATTRFORK; in xfs_ioc_getbmap()1579 bmx.bmv_iflags |= BMV_IF_NO_DMAPI_READ; in xfs_ioc_getbmap()1590 if (copy_from_user(&bmx, arg, recsize)) in xfs_ioc_getbmap()1593 if (bmx.bmv_count < 2) in xfs_ioc_getbmap()1595 if (bmx.bmv_count > ULONG_MAX / recsize) in xfs_ioc_getbmap()1598 buf = kmem_zalloc_large(bmx.bmv_count * sizeof(*buf), 0); in xfs_ioc_getbmap()1602 error = xfs_getbmap(XFS_I(file_inode(file)), &bmx, buf); in xfs_ioc_getbmap()1607 if (copy_to_user(arg, &bmx, recsize)) in xfs_ioc_getbmap()1611 for (i = 0; i < bmx.bmv_entries; i++) { in xfs_ioc_getbmap()