Searched refs:bmx (Results 1 – 1 of 1) sorted by relevance
1523 struct getbmapx bmx = { 0 }; in xfs_ioc_getbmap() local1530 bmx.bmv_iflags = BMV_IF_ATTRFORK; in xfs_ioc_getbmap()1543 if (copy_from_user(&bmx, arg, recsize)) in xfs_ioc_getbmap()1546 if (bmx.bmv_count < 2) in xfs_ioc_getbmap()1548 if (bmx.bmv_count >= INT_MAX / recsize) in xfs_ioc_getbmap()1551 buf = kvzalloc(bmx.bmv_count * sizeof(*buf), GFP_KERNEL); in xfs_ioc_getbmap()1555 error = xfs_getbmap(XFS_I(file_inode(file)), &bmx, buf); in xfs_ioc_getbmap()1560 if (copy_to_user(arg, &bmx, recsize)) in xfs_ioc_getbmap()1564 for (i = 0; i < bmx.bmv_entries; i++) { in xfs_ioc_getbmap()