Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
H A Dcow_repair.c99 xfs_fileoff_t startoff; in xrep_cow_mark_file_range() local
101 startoff = xc->irec.br_startoff + in xrep_cow_mark_file_range()
104 trace_xrep_cow_mark_file_range(xc->sc->ip, startblock, startoff, in xrep_cow_mark_file_range()
107 return xoff_bitmap_set(&xc->bad_fileoffs, startoff, blockcount); in xrep_cow_mark_file_range()
479 xfs_fileoff_t startoff, in xrep_cow_find_mapping() argument
485 if (!xfs_iext_lookup_extent(ip, ifp, startoff, icur, got)) in xrep_cow_find_mapping()
488 if (got->br_startoff > startoff) in xrep_cow_find_mapping()
559 xfs_fileoff_t startoff, in xrep_cow_replace_range() argument
574 error = xrep_cow_find_mapping(xc, &icur, startoff, &got); in xrep_cow_replace_range()
577 nextoff = min(startoff + *blockcount, in xrep_cow_replace_range()
[all …]
H A Dbmap_repair.c132 xfs_fileoff_t startoff, in xrep_bmap_from_rmap() argument
138 .br_startoff = startoff, in xrep_bmap_from_rmap()
H A Dtrace.h476 __field(xfs_fileoff_t, startoff)
486 __entry->startoff = cursor->bmap.br_startoff;
497 __entry->startoff,
2658 xfs_fileoff_t startoff, xfs_filblks_t blockcount),
2659 TP_ARGS(ip, startblock, startoff, blockcount),
2664 __field(xfs_fileoff_t, startoff)
2670 __entry->startoff = startoff;
2677 __entry->startoff,
2690 __field(xfs_fileoff_t, startoff)
2699 __entry->startoff = irec->br_startoff;
[all …]
/linux/fs/erofs/
H A Ddata.c189 erofs_off_t startoff; in erofs_map_dev() local
214 startoff = erofs_pos(sb, dif->uniaddr); in erofs_map_dev()
215 if (map->m_pa >= startoff && in erofs_map_dev()
216 map->m_pa < startoff + erofs_pos(sb, dif->blocks)) { in erofs_map_dev()
217 map->m_pa -= startoff; in erofs_map_dev()
/linux/fs/ocfs2/
H A Dlocalalloc.c828 int numfound = 0, bitoff, left, startoff; in ocfs2_local_alloc_find_clear_bits() local
865 numfound = bitoff = startoff = 0; in ocfs2_local_alloc_find_clear_bits()
867 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) < in ocfs2_local_alloc_find_clear_bits()
871 if (bitoff == startoff) { in ocfs2_local_alloc_find_clear_bits()
874 startoff++; in ocfs2_local_alloc_find_clear_bits()
878 startoff = bitoff+1; in ocfs2_local_alloc_find_clear_bits()
890 bitoff = startoff - numfound; in ocfs2_local_alloc_find_clear_bits()
/linux/fs/xfs/libxfs/
H A Dxfs_bmap.c5497 xfs_fileoff_t startoff; in xfs_bmse_can_merge() local
5499 startoff = got->br_startoff - shift; in xfs_bmse_can_merge()
5505 if ((left->br_startoff + left->br_blockcount != startoff) || in xfs_bmse_can_merge()
5619 xfs_fileoff_t startoff) in xfs_bmap_shift_update_extent() argument
5627 got->br_startoff = startoff; in xfs_bmap_shift_update_extent()
6153 xfs_fileoff_t startoff, in xfs_bunmapi_range() argument
6156 xfs_filblks_t unmap_len = endoff - startoff + 1; in xfs_bunmapi_range()
6163 error = __xfs_bunmapi(*tpp, ip, startoff, &unmap_len, flags, in xfs_bunmapi_range()
H A Dxfs_alloc.c3147 int startoff; in xfs_alloc_put_freelist() local
3175 startoff = (char *)blockp - (char *)agflbp->b_addr; in xfs_alloc_put_freelist()
3180 xfs_trans_log_buf(tp, agflbp, startoff, in xfs_alloc_put_freelist()
3181 startoff + sizeof(xfs_agblock_t) - 1); in xfs_alloc_put_freelist()