Home
last modified time | relevance | path

Searched refs:br_startoff (Results 1 – 25 of 40) sorted by relevance

12

/linux/fs/xfs/scrub/
A Dbmap.c185 irec->br_startoff); in xchk_bmap_get_rmap()
213 irec->br_startoff); in xchk_bmap_xref_rmap()
218 irec->br_startoff); in xchk_bmap_xref_rmap()
223 irec->br_startoff); in xchk_bmap_xref_rmap()
228 irec->br_startoff); in xchk_bmap_xref_rmap()
233 irec->br_startoff); in xchk_bmap_xref_rmap()
245 irec->br_startoff); in xchk_bmap_xref_rmap()
424 if (irec->br_startoff < info->prev_rec.br_startoff + in xchk_bmap_iextent()
511 irec.br_startoff != iext_irec.br_startoff || in xchk_bmapbt_rec()
793 if (irec->br_startoff < info->prev_rec.br_startoff + in xchk_bmap_iextent_delalloc()
[all …]
A Ddqiterate.c32 cursor->bmap.br_startoff = NULLFILEOFF; in xchk_dqiter_init()
60 if (cursor->bmap.br_startoff != NULLFILEOFF && in xchk_dquot_iter_revalidate_bmap()
62 cursor->bmap.br_startoff + cursor->bmap.br_blockcount > fileoff) in xchk_dquot_iter_revalidate_bmap()
74 if (cursor->bmap.br_startoff > fileoff) { in xchk_dquot_iter_revalidate_bmap()
75 ASSERT(cursor->bmap.br_startoff == fileoff); in xchk_dquot_iter_revalidate_bmap()
100 fileoff = cursor->bmap.br_startoff + cursor->bmap.br_blockcount; in xchk_dquot_iter_advance_bmap()
117 if (cursor->bmap.br_startoff > fileoff) { in xchk_dquot_iter_advance_bmap()
118 ASSERT(cursor->bmap.br_startoff == fileoff); in xchk_dquot_iter_advance_bmap()
123 next_id = cursor->bmap.br_startoff * qi->qi_dqperchunk; in xchk_dquot_iter_advance_bmap()
A Drtbitmap_repair.c86 off = map.br_startoff + map.br_blockcount; in xrep_rtbitmap_data_mappings()
105 error = xfs_bmapi_write(sc->tp, sc->ip, map.br_startoff, in xrep_rtbitmap_data_mappings()
117 off = map.br_startoff + map.br_blockcount; in xrep_rtbitmap_data_mappings()
A Dcow_repair.c94 startoff = xc->irec.br_startoff + in xrep_cow_mark_file_range()
373 if (got->br_startoff > startoff) in xrep_cow_find_mapping()
426 new.br_startoff += repl->len; in xrep_cow_replace_mapping()
431 new.br_startoff = got->br_startoff; in xrep_cow_replace_mapping()
463 got.br_startoff + got.br_blockcount); in xrep_cow_replace_range()
A Dquota_repair.c423 if (irec.br_startoff > max_dqid_off || in xrep_quota_data_fork()
424 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xrep_quota_data_fork()
440 irec.br_startoff, irec.br_blockcount, in xrep_quota_data_fork()
444 ASSERT(nrec.br_startoff == irec.br_startoff); in xrep_quota_data_fork()
482 for (fsbno = irec.br_startblock, off = irec.br_startoff; in xrep_quota_data_fork()
A Ddir.c820 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks()
834 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks()
836 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
844 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
854 got.br_startoff == leaf_lblk && in xchk_directory_blocks()
878 lblk = got.br_startoff; in xchk_directory_blocks()
899 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks()
901 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
908 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
A Dquota.c283 irec.br_startoff > max_dqid_off || in xchk_quota_data_fork()
284 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xchk_quota_data_fork()
286 irec.br_startoff); in xchk_quota_data_fork()
A Dreaddir.c170 if (map.br_startoff >= last_da) in xchk_read_leaf_dir_buf()
175 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff); in xchk_read_leaf_dir_buf()
179 return xfs_dir3_data_read(tp, dp, dp->i_ino, map.br_startoff, 0, bpp); in xchk_read_leaf_dir_buf()
A Dreap.c710 xfs_rmap_ino_owner(&oinfo, ip->i_ino, whichfork, imap->br_startoff); in xreap_bmapi_select()
808 off = imap->br_startoff + imap->br_blockcount; in xreap_bmapi_binval()
826 off = hmap.br_startoff + hmap.br_blockcount; in xreap_bmapi_binval()
828 scan_blocks = off - imap->br_startoff; in xreap_bmapi_binval()
1046 off = imap.br_startoff + imap.br_blockcount; in xrep_reap_ifork()
A Dbmap_repair.c129 .br_startoff = startoff, in xrep_bmap_from_rmap()
172 irec.br_startoff += irec.br_blockcount; in xrep_bmap_from_rmap()
337 if (irec.br_startoff < next_off) in xrep_bmap_sort_records()
340 next_off = irec.br_startoff + irec.br_blockcount; in xrep_bmap_sort_records()
A Dattr_repair.c900 offset = got.br_startoff + got.br_blockcount) { in xrep_xattr_recover()
911 for (dabno = round_up(got.br_startoff, geo->fsbcount); in xrep_xattr_recover()
912 dabno < got.br_startoff + got.br_blockcount; in xrep_xattr_recover()
914 xfs_fileoff_t curr_offset = dabno - got.br_startoff; in xrep_xattr_recover()
989 i++, irec.br_startoff, in xrep_xattr_fork_remove()
/linux/fs/xfs/libxfs/
A Dxfs_bmap.c1466 ASSERT(PREV.br_startoff <= new->br_startoff); in xfs_bmap_add_extent_delay_real()
1476 if (PREV.br_startoff == new->br_startoff) in xfs_bmap_add_extent_delay_real()
1774 RIGHT.br_startoff = new->br_startoff; in xfs_bmap_add_extent_delay_real()
2038 ASSERT(PREV.br_startoff <= new->br_startoff); in xfs_bmap_add_extent_unwritten_real()
2045 if (PREV.br_startoff == new->br_startoff) in xfs_bmap_add_extent_unwritten_real()
2359 RIGHT.br_startoff = new->br_startoff; in xfs_bmap_add_extent_unwritten_real()
2664 right.br_startoff = new->br_startoff; in xfs_bmap_add_extent_hole_delay()
2851 right.br_startoff = new->br_startoff; in xfs_bmap_add_extent_hole_real()
4948 if (got->br_startoff == del->br_startoff) in xfs_bmap_del_extent_delay()
5068 if (got->br_startoff == del->br_startoff) in xfs_bmap_del_extent_cow()
[all …]
A Dxfs_bmap_btree.c132 ((xfs_bmbt_rec_base_t)s->br_startoff << 9) | in xfs_bmbt_disk_set_all()
350 key->bmbt.br_startoff = in xfs_bmbt_init_key_from_rec()
359 key->bmbt.br_startoff = cpu_to_be64( in xfs_bmbt_init_high_key_from_rec()
378 cur->bc_rec.b.br_startoff; in xfs_bmbt_key_diff()
388 uint64_t a = be64_to_cpu(k1->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
389 uint64_t b = be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
391 ASSERT(!mask || mask->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
491 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder()
492 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
513 ASSERT(!mask || mask->bmbt.br_startoff); in xfs_bmbt_keys_contiguous()
[all …]
A Dxfs_exchmaps.c237 if (!isaligned_64(irec->br_startoff, mp->m_sb.sb_rextsize)) { in xfs_exchmaps_can_skip_mapping()
240 new_end = roundup_64(irec->br_startoff, mp->m_sb.sb_rextsize); in xfs_exchmaps_can_skip_mapping()
242 new_end - irec->br_startoff); in xfs_exchmaps_can_skip_mapping()
260 new_end = rounddown_64(irec->br_startoff + irec->br_blockcount, in xfs_exchmaps_can_skip_mapping()
262 irec->br_blockcount = new_end - irec->br_startoff; in xfs_exchmaps_can_skip_mapping()
302 irec1->br_startoff != xmi->xmi_startoff1) { in xfs_exchmaps_find_mappings()
327 irec2->br_startoff != xmi->xmi_startoff2) { in xfs_exchmaps_find_mappings()
401 swap(irec1->br_startoff, irec2->br_startoff); in xfs_exchmaps_one_step()
735 if (b1->br_startoff + b1->br_blockcount == b2->br_startoff && in xmi_can_merge()
913 off = irec->br_startoff + irec->br_blockcount; in xmi_next()
[all …]
A Dxfs_iext_tree.c57 ASSERT((irec->br_startoff & ~XFS_IEXT_STARTOFF_MASK) == 0); in xfs_iext_set()
61 rec->lo = irec->br_startoff & XFS_IEXT_STARTOFF_MASK; in xfs_iext_set()
76 irec->br_startoff = rec->lo & XFS_IEXT_STARTOFF_MASK; in xfs_iext_get()
638 xfs_fileoff_t offset = irec->br_startoff; in xfs_iext_insert_raw()
652 xfs_iext_rec_cmp(cur_rec(cur), irec->br_startoff) != 0); in xfs_iext_insert_raw()
986 gotp->br_startoff <= *end - 1) in xfs_iext_lookup_extent_before()
990 *end = gotp->br_startoff + gotp->br_blockcount; in xfs_iext_lookup_extent_before()
1009 if (new->br_startoff != old.br_startoff) { in xfs_iext_update_extent()
1010 xfs_iext_update_node(ifp, old.br_startoff, in xfs_iext_update_extent()
1011 new->br_startoff, 1, cur->leaf); in xfs_iext_update_extent()
A Dxfs_types.h152 xfs_fileoff_t br_startoff; /* starting file offset */ member
/linux/fs/xfs/
A Dxfs_reflink.c317 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent()
328 cmap->br_startoff = offset_fsb + count_fsb; in xfs_find_trim_cow_extent()
329 if (cmap->br_startoff > offset_fsb) { in xfs_find_trim_cow_extent()
330 xfs_trim_extent(imap, imap->br_startoff, in xfs_find_trim_cow_extent()
331 cmap->br_startoff - imap->br_startoff); in xfs_find_trim_cow_extent()
495 } while (cmap->br_startoff + cmap->br_blockcount <= imap->br_startoff); in xfs_reflink_fill_delalloc()
536 if (cmap->br_startoff > imap->br_startoff) in xfs_reflink_allocate_cow()
735 got.br_startoff >= end_fsb) { in xfs_reflink_end_cow_extent()
749 got.br_startoff >= end_fsb) { in xfs_reflink_end_cow_extent()
1185 ASSERT(nimaps == 1 && smap.br_startoff == dmap->br_startoff); in xfs_reflink_remap_extent()
[all …]
A Dxfs_iomap.c47 (unsigned long long)imap->br_startoff, in xfs_alert_fsblock_zero()
474 got.br_startoff + got.br_blockcount != prev.br_startoff || in xfs_iomap_prealloc_size()
757 if (imap->br_startoff > offset_fsb) in imap_spans_range()
1022 imap.br_startoff > offset_fsb) { in xfs_buffered_write_iomap_begin()
1066 if (imap.br_startoff <= offset_fsb) { in xfs_buffered_write_iomap_begin()
1189 if (imap.br_startoff <= offset_fsb) { in xfs_buffered_write_iomap_begin()
1196 imap.br_startoff - offset_fsb); in xfs_buffered_write_iomap_begin()
1349 if (imap.br_startoff <= offset_fsb) in xfs_seek_iomap_begin()
1351 data_fsb = imap.br_startoff; in xfs_seek_iomap_begin()
1365 cow_fsb = cmap.br_startoff; in xfs_seek_iomap_begin()
[all …]
A Dxfs_dir2_readdir.c277 if (map.br_startoff >= last_da) in xfs_dir2_leaf_readbuf()
282 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff); in xfs_dir2_leaf_readbuf()
286 map.br_startoff, 0, &bp); in xfs_dir2_leaf_readbuf()
299 *ra_blk = map.br_startoff; in xfs_dir2_leaf_readbuf()
300 next_ra = map.br_startoff + geo->fsbcount; in xfs_dir2_leaf_readbuf()
306 if (map.br_startoff >= last_da) in xfs_dir2_leaf_readbuf()
313 next_ra = roundup((xfs_dablk_t)map.br_startoff, geo->fsbcount); in xfs_dir2_leaf_readbuf()
315 next_ra < map.br_startoff + map.br_blockcount) { in xfs_dir2_leaf_readbuf()
A Dxfs_aops.c297 cow_fsb = imap.br_startoff; in xfs_map_blocks()
321 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks()
326 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
327 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
328 imap.br_startoff = offset_fsb; in xfs_map_blocks()
340 cow_fsb < imap.br_startoff + imap.br_blockcount) in xfs_map_blocks()
341 imap.br_blockcount = cow_fsb - imap.br_startoff; in xfs_map_blocks()
A Dxfs_bmap_util.c191 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one()
235 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec()
240 rec->br_startoff += rec->br_blockcount; in xfs_getbmap_next_rec()
389 if (got.br_startoff > bno) { in xfs_getbmap()
391 got.br_startoff); in xfs_getbmap()
401 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap()
462 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range()
1283 error = xfs_bmapi_read(ip, tirec.br_startoff, in xfs_swap_extent_rmap()
1289 ASSERT(tirec.br_startoff == irec.br_startoff); in xfs_swap_extent_rmap()
1332 tirec.br_startoff += rlen; in xfs_swap_extent_rmap()
A Dxfs_rmap_item.c269 map->me_startoff = ri->ri_bmap.br_startoff; in xfs_rmap_update_log_item()
493 ri->ri_bmap.br_startoff = map->me_startoff; in xfs_rui_recover_work()
A Dxfs_bmap_item.c263 map->me_startoff = bi->bi_bmap.br_startoff; in xfs_bmap_update_log_item()
474 bi->bi_bmap.br_startoff = map->me_startoff; in xfs_bui_recover_work()
A Dxfs_pnfs.c189 end_fsb = min(end_fsb, imap.br_startoff + in xfs_fs_map_blocks()
A Dxfs_dquot.c754 if (got.br_startoff < start) in xfs_dq_get_next_id()
755 got.br_startoff = start; in xfs_dq_get_next_id()
756 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()

Completed in 77 milliseconds

12