Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ext4/
Dfile.c447 loff_t lastoff; in ext4_find_unwritten_pgoff() local
452 lastoff = startoff; in ext4_find_unwritten_pgoff()
476 if (lastoff == startoff || lastoff < endoff) in ext4_find_unwritten_pgoff()
486 if (lastoff == startoff && whence == SEEK_HOLE && in ext4_find_unwritten_pgoff()
487 lastoff < page_offset(pvec.pages[0])) { in ext4_find_unwritten_pgoff()
500 if (lastoff < endoff && whence == SEEK_HOLE && in ext4_find_unwritten_pgoff()
503 *offset = lastoff; in ext4_find_unwritten_pgoff()
520 lastoff = page_offset(page); in ext4_find_unwritten_pgoff()
533 startoff, lastoff); in ext4_find_unwritten_pgoff()
537 lastoff += bh->b_size; in ext4_find_unwritten_pgoff()
[all …]
/linux-4.4.14/fs/xfs/
Dxfs_file.c1137 loff_t lastoff = page_offset(page); in xfs_lookup_buffer_offset() local
1162 *offset = lastoff; in xfs_lookup_buffer_offset()
1165 lastoff += bh->b_size; in xfs_lookup_buffer_offset()
1198 loff_t lastoff = startoff; in xfs_find_get_desired_pgoff() local
1231 if (lastoff == startoff || lastoff < endoff) { in xfs_find_get_desired_pgoff()
1233 *offset = lastoff; in xfs_find_get_desired_pgoff()
1243 if (type == HOLE_OFF && lastoff == startoff && in xfs_find_get_desired_pgoff()
1244 lastoff < page_offset(pvec.pages[0])) { in xfs_find_get_desired_pgoff()
1266 if (type == HOLE_OFF && lastoff < endoff) { in xfs_find_get_desired_pgoff()
1267 *offset = lastoff; in xfs_find_get_desired_pgoff()
[all …]
/linux-4.4.14/arch/ia64/lib/
Ddo_csum.S101 #define lastoff r23 macro
149 and lastoff=7,tmp1 // how many bytes off for last element
151 sub tmp1=8,lastoff // complement to lastoff
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_da_btree.c2141 xfs_fileoff_t lastoff; in xfs_da3_swap_lastblock() local
2161 lastoff = args->geo->freeblk; in xfs_da3_swap_lastblock()
2162 error = xfs_bmap_last_before(tp, dp, &lastoff, w); in xfs_da3_swap_lastblock()
2165 if (unlikely(lastoff == 0)) { in xfs_da3_swap_lastblock()
2173 last_blkno = (xfs_dablk_t)lastoff - args->geo->fsbcount; in xfs_da3_swap_lastblock()