Home
last modified time | relevance | path

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

/linux-4.4.14/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()
476 if (lastoff == startoff || lastoff < endoff) in ext4_find_unwritten_pgoff()
486 if (lastoff == startoff && whence == SEEK_HOLE && in ext4_find_unwritten_pgoff()
533 startoff, lastoff); in ext4_find_unwritten_pgoff()
/linux-4.4.14/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.c5428 xfs_fileoff_t startoff; in xfs_bmse_can_merge() local
5430 startoff = got->br_startoff - shift; in xfs_bmse_can_merge()
5436 if ((left->br_startoff + left->br_blockcount != startoff) || in xfs_bmse_can_merge()
5540 xfs_fileoff_t startoff; in xfs_bmse_shift_one() local
5558 startoff = got.br_startoff - offset_shift_fsb; in xfs_bmse_shift_one()
5577 if (startoff < in xfs_bmse_shift_one()
5589 startoff = got.br_startoff + offset_shift_fsb; in xfs_bmse_shift_one()
5600 if (startoff + got.br_blockcount > adj_irec.br_startoff) in xfs_bmse_shift_one()
5621 xfs_bmbt_set_startoff(gotp, startoff); in xfs_bmse_shift_one()
5634 got.br_startoff = startoff; in xfs_bmse_shift_one()
Dxfs_alloc.c2216 int startoff; in xfs_alloc_put_freelist() local
2248 startoff = (char *)blockp - (char *)agflbp->b_addr; in xfs_alloc_put_freelist()
2253 xfs_trans_log_buf(tp, agflbp, startoff, in xfs_alloc_put_freelist()
2254 startoff + sizeof(xfs_agblock_t) - 1); in xfs_alloc_put_freelist()
/linux-4.4.14/fs/ocfs2/
Dlocalalloc.c841 int numfound = 0, bitoff, left, startoff, lastzero; in ocfs2_local_alloc_find_clear_bits() local
878 numfound = bitoff = startoff = 0; in ocfs2_local_alloc_find_clear_bits()
881 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) { in ocfs2_local_alloc_find_clear_bits()
891 if (bitoff == startoff) { in ocfs2_local_alloc_find_clear_bits()
894 startoff++; in ocfs2_local_alloc_find_clear_bits()
898 startoff = bitoff+1; in ocfs2_local_alloc_find_clear_bits()
910 bitoff = startoff - numfound; in ocfs2_local_alloc_find_clear_bits()
/linux-4.4.14/fs/xfs/
Dxfs_file.c1197 loff_t startoff = *offset; in xfs_find_get_desired_pgoff() local
1198 loff_t lastoff = startoff; in xfs_find_get_desired_pgoff()
1203 index = startoff >> PAGE_CACHE_SHIFT; in xfs_find_get_desired_pgoff()
1231 if (lastoff == startoff || lastoff < endoff) { in xfs_find_get_desired_pgoff()
1243 if (type == HOLE_OFF && lastoff == startoff && in xfs_find_get_desired_pgoff()
1296 *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()
/linux-4.4.14/net/bridge/netfilter/
Debtables.c2036 unsigned int i, j, startoff, new_offset = 0; in size_entry_mwt() local
2053 startoff = state->buf_user_offset; in size_entry_mwt()
2111 startoff = state->buf_user_offset - startoff; in size_entry_mwt()
2113 BUG_ON(*total < startoff); in size_entry_mwt()
2114 *total -= startoff; in size_entry_mwt()