Searched refs:alloc_unit (Results 1 – 2 of 2) sorted by relevance
339 unsigned int alloc_unit) in xfs_exchange_range_checks() argument345 uint64_t allocmask = alloc_unit - 1; in xfs_exchange_range_checks()420 else if (!IS_ALIGNED(fxr->length, alloc_unit)) in xfs_exchange_range_checks()456 unsigned int alloc_unit) in xfs_exchange_range_prep() argument526 unsigned int alloc_unit) in xfs_exchrange_check_rtalign() argument557 else if (!isaligned_64(length, alloc_unit)) in xfs_exchrange_check_rtalign()572 if (isaligned_64(length, alloc_unit)) in xfs_exchrange_check_rtalign()577 blen = rounddown_64(blen, alloc_unit); in xfs_exchrange_check_rtalign()580 blen = rounddown_64(blen, alloc_unit); in xfs_exchrange_check_rtalign()603 if (!is_power_of_2(alloc_unit)) { in xfs_exchrange_prep()[all …]
50 unsigned int alloc_unit = xfs_inode_alloc_unitsize(ip); in xfs_is_falloc_aligned() local52 if (!is_power_of_2(alloc_unit)) in xfs_is_falloc_aligned()53 return isaligned_64(pos, alloc_unit) && in xfs_is_falloc_aligned()54 isaligned_64(len, alloc_unit); in xfs_is_falloc_aligned()56 return !((pos | len) & (alloc_unit - 1)); in xfs_is_falloc_aligned()
Completed in 8 milliseconds