Lines Matching refs:bmx
1382 struct getbmapx bmx; in xfs_ioc_getbmap() local
1385 if (copy_from_user(&bmx, arg, sizeof(struct getbmapx))) in xfs_ioc_getbmap()
1388 if (bmx.bmv_count < 2) in xfs_ioc_getbmap()
1391 bmx.bmv_iflags = (cmd == XFS_IOC_GETBMAPA ? BMV_IF_ATTRFORK : 0); in xfs_ioc_getbmap()
1393 bmx.bmv_iflags |= BMV_IF_NO_DMAPI_READ; in xfs_ioc_getbmap()
1395 error = xfs_getbmap(ip, &bmx, xfs_getbmap_format, in xfs_ioc_getbmap()
1401 if (copy_to_user(arg, &bmx, sizeof(struct getbmap))) in xfs_ioc_getbmap()
1423 struct getbmapx bmx; in xfs_ioc_getbmapx() local
1426 if (copy_from_user(&bmx, arg, sizeof(bmx))) in xfs_ioc_getbmapx()
1429 if (bmx.bmv_count < 2) in xfs_ioc_getbmapx()
1432 if (bmx.bmv_iflags & (~BMV_IF_VALID)) in xfs_ioc_getbmapx()
1435 error = xfs_getbmap(ip, &bmx, xfs_getbmapx_format, in xfs_ioc_getbmapx()
1441 if (copy_to_user(arg, &bmx, sizeof(struct getbmapx))) in xfs_ioc_getbmapx()