Home
last modified time | relevance | path

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

/linux-2.6.39/fs/xfs/
Dxfs_iomap.c57 xfs_fileoff_t *last_fsb) in xfs_iomap_eof_align_last_fsb() argument
72 new_last_fsb = roundup_64(*last_fsb, mp->m_swidth); in xfs_iomap_eof_align_last_fsb()
79 new_last_fsb = roundup_64(*last_fsb, mp->m_dalign); in xfs_iomap_eof_align_last_fsb()
90 new_last_fsb = roundup_64(*last_fsb, align); in xfs_iomap_eof_align_last_fsb()
98 *last_fsb = new_last_fsb; in xfs_iomap_eof_align_last_fsb()
130 xfs_fileoff_t last_fsb; in xfs_iomap_write_direct() local
156 last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); in xfs_iomap_write_direct()
158 error = xfs_iomap_eof_align_last_fsb(mp, ip, extsz, &last_fsb); in xfs_iomap_write_direct()
163 last_fsb = MIN(last_fsb, (xfs_fileoff_t) in xfs_iomap_write_direct()
167 count_fsb = last_fsb - offset_fsb; in xfs_iomap_write_direct()
[all …]
Dxfs_vnodeops.c586 xfs_fileoff_t last_fsb; in xfs_free_eofblocks() local
596 last_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); in xfs_free_eofblocks()
597 if (last_fsb <= end_fsb) in xfs_free_eofblocks()
599 map_len = last_fsb - end_fsb; in xfs_free_eofblocks()
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_file.c462 xfs_fileoff_t last_fsb; in xfs_zero_last_block() local
481 last_fsb = XFS_B_TO_FSBT(mp, isize); in xfs_zero_last_block()
483 error = xfs_bmapi(NULL, ip, last_fsb, 1, 0, NULL, 0, &imap, in xfs_zero_last_block()
534 xfs_fileoff_t last_fsb; in xfs_zero_eof() local
562 last_fsb = isize ? XFS_B_TO_FSBT(mp, isize - 1) : (xfs_fileoff_t)-1; in xfs_zero_eof()
565 ASSERT((xfs_sfiloff_t)last_fsb < (xfs_sfiloff_t)start_zero_fsb); in xfs_zero_eof()
566 if (last_fsb == end_zero_fsb) { in xfs_zero_eof()