Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_aops.c1354 xfs_off_t mapping_size; in xfs_map_trim_size() local
1356 mapping_size = imap->br_startoff + imap->br_blockcount - iblock; in xfs_map_trim_size()
1357 mapping_size <<= inode->i_blkbits; in xfs_map_trim_size()
1359 ASSERT(mapping_size > 0); in xfs_map_trim_size()
1360 if (mapping_size > size) in xfs_map_trim_size()
1361 mapping_size = size; in xfs_map_trim_size()
1363 (xfs_ufsize_t)offset + mapping_size >= i_size_read(inode)) { in xfs_map_trim_size()
1365 mapping_size = roundup_64(i_size_read(inode) - offset, in xfs_map_trim_size()
1368 if (mapping_size > LONG_MAX) in xfs_map_trim_size()
1369 mapping_size = LONG_MAX; in xfs_map_trim_size()
[all …]