Searched refs:startoff (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_bmap_btree.c153 * Extract the startoff field from an in memory bmap extent record.
185 * Extract the startoff field from a disk format bmap extent record.
202 xfs_fileoff_t startoff, xfs_bmbt_set_allf()
210 ASSERT((startoff & xfs_mask64hi(64-BMBT_STARTOFF_BITLEN)) == 0); xfs_bmbt_set_allf()
216 ((xfs_bmbt_rec_base_t)startoff << 9) | xfs_bmbt_set_allf()
242 xfs_fileoff_t startoff, xfs_bmbt_disk_set_allf()
250 ASSERT((startoff & xfs_mask64hi(64-BMBT_STARTOFF_BITLEN)) == 0); xfs_bmbt_disk_set_allf()
256 ((xfs_bmbt_rec_base_t)startoff << 9) | xfs_bmbt_disk_set_allf()
305 * Set the startoff field in a bmap extent record.
200 xfs_bmbt_set_allf( xfs_bmbt_rec_host_t *r, xfs_fileoff_t startoff, xfs_fsblock_t startblock, xfs_filblks_t blockcount, xfs_exntst_t state) xfs_bmbt_set_allf() argument
240 xfs_bmbt_disk_set_allf( xfs_bmbt_rec_t *r, xfs_fileoff_t startoff, xfs_fsblock_t startblock, xfs_filblks_t blockcount, xfs_exntst_t state) xfs_bmbt_disk_set_allf() argument
H A Dxfs_inode_fork.c1542 xfs_fileoff_t startoff = 0; /* start offset of extent */ xfs_iext_bno_to_ext() local
1564 startoff = xfs_bmbt_get_startoff(ep); xfs_iext_bno_to_ext()
1566 if (bno < startoff) { xfs_iext_bno_to_ext()
1568 } else if (bno >= startoff + blockcount) { xfs_iext_bno_to_ext()
1583 if (bno >= startoff + blockcount) { xfs_iext_bno_to_ext()
H A Dxfs_bmap.c5428 xfs_fileoff_t startoff; xfs_bmse_can_merge() local
5430 startoff = got->br_startoff - shift; xfs_bmse_can_merge()
5436 if ((left->br_startoff + left->br_blockcount != startoff) || xfs_bmse_can_merge()
5540 xfs_fileoff_t startoff; xfs_bmse_shift_one() local
5558 startoff = got.br_startoff - offset_shift_fsb; xfs_bmse_shift_one()
5577 if (startoff < xfs_bmse_shift_one()
5589 startoff = got.br_startoff + offset_shift_fsb; xfs_bmse_shift_one()
5600 if (startoff + got.br_blockcount > adj_irec.br_startoff) xfs_bmse_shift_one()
5621 xfs_bmbt_set_startoff(gotp, startoff); xfs_bmse_shift_one()
5634 got.br_startoff = startoff; xfs_bmse_shift_one()
H A Dxfs_alloc.c2216 int startoff; xfs_alloc_put_freelist() local
2248 startoff = (char *)blockp - (char *)agflbp->b_addr; xfs_alloc_put_freelist()
2253 xfs_trans_log_buf(tp, agflbp, startoff, xfs_alloc_put_freelist()
2254 startoff + sizeof(xfs_agblock_t) - 1); xfs_alloc_put_freelist()
H A Dxfs_format.h1335 * l0:9-62 are startoff.
/linux-4.4.14/fs/ext4/
H A Dfile.c432 * [startoff, endoff] because, if this range contains an unwritten extent,
446 loff_t startoff; ext4_find_unwritten_pgoff() local
451 startoff = *offset; ext4_find_unwritten_pgoff()
452 lastoff = startoff; ext4_find_unwritten_pgoff()
455 index = startoff >> PAGE_CACHE_SHIFT; ext4_find_unwritten_pgoff()
476 if (lastoff == startoff || lastoff < endoff) ext4_find_unwritten_pgoff()
486 if (lastoff == startoff && whence == SEEK_HOLE && ext4_find_unwritten_pgoff()
533 startoff, lastoff); ext4_find_unwritten_pgoff()
/linux-4.4.14/fs/ocfs2/
H A Dlocalalloc.c841 int numfound = 0, bitoff, left, startoff, lastzero; ocfs2_local_alloc_find_clear_bits() local
878 numfound = bitoff = startoff = 0; ocfs2_local_alloc_find_clear_bits()
881 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) { ocfs2_local_alloc_find_clear_bits()
886 /* mlog(0, "Found a zero: bitoff = %d, startoff = %d, " ocfs2_local_alloc_find_clear_bits()
887 "numfound = %d\n", bitoff, startoff, numfound);*/ ocfs2_local_alloc_find_clear_bits()
891 if (bitoff == startoff) { ocfs2_local_alloc_find_clear_bits()
894 startoff++; ocfs2_local_alloc_find_clear_bits()
898 startoff = bitoff+1; ocfs2_local_alloc_find_clear_bits()
910 bitoff = startoff - numfound; ocfs2_local_alloc_find_clear_bits()
/linux-4.4.14/fs/xfs/
H A 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;
1252 "type %s startoff 0x%llx startblock %lld blockcount 0x%llx",
1259 __entry->startoff,
H A Dxfs_file.c1197 loff_t startoff = *offset; xfs_find_get_desired_pgoff() local
1198 loff_t lastoff = startoff; xfs_find_get_desired_pgoff()
1203 index = startoff >> PAGE_CACHE_SHIFT; xfs_find_get_desired_pgoff()
1231 if (lastoff == startoff || lastoff < endoff) { xfs_find_get_desired_pgoff()
1243 if (type == HOLE_OFF && lastoff == startoff && xfs_find_get_desired_pgoff()
1296 *offset = max_t(loff_t, startoff, b_offset); xfs_find_get_desired_pgoff()
H A Dxfs_bmap_util.c1109 * Zero file bytes between startoff and endoff inclusive.
1122 xfs_off_t startoff, xfs_zero_remaining_bytes()
1139 if (startoff >= XFS_ISIZE(ip)) xfs_zero_remaining_bytes()
1145 for (offset = startoff; offset <= endoff; offset = lastoffset + 1) { xfs_zero_remaining_bytes()
1120 xfs_zero_remaining_bytes( xfs_inode_t *ip, xfs_off_t startoff, xfs_off_t endoff) xfs_zero_remaining_bytes() argument
/linux-4.4.14/net/bridge/netfilter/
H A Debtables.c2036 unsigned int i, j, startoff, new_offset = 0; size_entry_mwt() local
2053 startoff = state->buf_user_offset; size_entry_mwt()
2111 startoff = state->buf_user_offset - startoff; size_entry_mwt()
2113 BUG_ON(*total < startoff); size_entry_mwt()
2114 *total -= startoff; size_entry_mwt()

Completed in 357 milliseconds