Home
last modified time | relevance | path

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

/fs/ext4/
Dfile.c446 loff_t startoff; in ext4_find_unwritten_pgoff() local
451 startoff = *offset; in ext4_find_unwritten_pgoff()
452 lastoff = startoff; in ext4_find_unwritten_pgoff()
455 index = startoff >> PAGE_CACHE_SHIFT; in ext4_find_unwritten_pgoff()
503 if (lastoff + bh->b_size <= startoff) in ext4_find_unwritten_pgoff()
515 startoff, lastoff); in ext4_find_unwritten_pgoff()
/fs/xfs/libxfs/
Dxfs_bmap_btree.c202 xfs_fileoff_t startoff, in xfs_bmbt_set_allf() argument
210 ASSERT((startoff & xfs_mask64hi(64-BMBT_STARTOFF_BITLEN)) == 0); in xfs_bmbt_set_allf()
216 ((xfs_bmbt_rec_base_t)startoff << 9) | in xfs_bmbt_set_allf()
242 xfs_fileoff_t startoff, in xfs_bmbt_disk_set_allf() argument
250 ASSERT((startoff & xfs_mask64hi(64-BMBT_STARTOFF_BITLEN)) == 0); in xfs_bmbt_disk_set_allf()
256 ((xfs_bmbt_rec_base_t)startoff << 9) | in xfs_bmbt_disk_set_allf()
Dxfs_inode_fork.c1542 xfs_fileoff_t startoff = 0; /* start offset of extent */ in xfs_iext_bno_to_ext() local
1564 startoff = xfs_bmbt_get_startoff(ep); in xfs_iext_bno_to_ext()
1566 if (bno < startoff) { in xfs_iext_bno_to_ext()
1568 } else if (bno >= startoff + blockcount) { in xfs_iext_bno_to_ext()
1583 if (bno >= startoff + blockcount) { in xfs_iext_bno_to_ext()
Dxfs_bmap.c5431 xfs_fileoff_t startoff; in xfs_bmse_can_merge() local
5433 startoff = got->br_startoff - shift; in xfs_bmse_can_merge()
5439 if ((left->br_startoff + left->br_blockcount != startoff) || in xfs_bmse_can_merge()
5543 xfs_fileoff_t startoff; in xfs_bmse_shift_one() local
5561 startoff = got.br_startoff - offset_shift_fsb; in xfs_bmse_shift_one()
5580 if (startoff < in xfs_bmse_shift_one()
5592 startoff = got.br_startoff + offset_shift_fsb; in xfs_bmse_shift_one()
5603 if (startoff + got.br_blockcount > adj_irec.br_startoff) in xfs_bmse_shift_one()
5624 xfs_bmbt_set_startoff(gotp, startoff); in xfs_bmse_shift_one()
5637 got.br_startoff = startoff; in xfs_bmse_shift_one()
Dxfs_alloc.c2308 int startoff; in xfs_alloc_put_freelist() local
2341 startoff = (char *)blockp - (char *)agflbp->b_addr; in xfs_alloc_put_freelist()
2346 xfs_trans_log_buf(tp, agflbp, startoff, in xfs_alloc_put_freelist()
2347 startoff + sizeof(xfs_agblock_t) - 1); in xfs_alloc_put_freelist()
/fs/ocfs2/
Dlocalalloc.c846 int numfound = 0, bitoff, left, startoff, lastzero; in ocfs2_local_alloc_find_clear_bits() local
883 numfound = bitoff = startoff = 0; in ocfs2_local_alloc_find_clear_bits()
886 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) { in ocfs2_local_alloc_find_clear_bits()
896 if (bitoff == startoff) { in ocfs2_local_alloc_find_clear_bits()
899 startoff++; in ocfs2_local_alloc_find_clear_bits()
903 startoff = bitoff+1; in ocfs2_local_alloc_find_clear_bits()
915 bitoff = startoff - numfound; in ocfs2_local_alloc_find_clear_bits()
/fs/xfs/
Dxfs_file.c1201 loff_t startoff = *offset; in xfs_find_get_desired_pgoff() local
1202 loff_t lastoff = startoff; in xfs_find_get_desired_pgoff()
1207 index = startoff >> PAGE_CACHE_SHIFT; in xfs_find_get_desired_pgoff()
1235 if (lastoff == startoff || lastoff < endoff) { in xfs_find_get_desired_pgoff()
1289 *offset = max_t(loff_t, startoff, b_offset); in xfs_find_get_desired_pgoff()
Dxfs_trace.h223 __field(xfs_fileoff_t, startoff)
234 __entry->startoff = r->br_startoff;
247 __entry->startoff,
262 __field(xfs_fileoff_t, startoff)
278 __entry->startoff = r.br_startoff;
291 __entry->startoff,
1236 __field(xfs_fileoff_t, startoff)
1247 __entry->startoff = irec ? irec->br_startoff : 0;
1259 __entry->startoff,
Dxfs_bmap_util.c1122 xfs_off_t startoff, in xfs_zero_remaining_bytes() argument
1139 if (startoff >= XFS_ISIZE(ip)) in xfs_zero_remaining_bytes()
1145 for (offset = startoff; offset <= endoff; offset = lastoffset + 1) { in xfs_zero_remaining_bytes()