| /linux/fs/xfs/libxfs/ |
| A D | xfs_bmap.c | 1518 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount in xfs_bmap_add_extent_delay_real() 1534 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount; in xfs_bmap_add_extent_delay_real() 1583 LEFT.br_blockcount += PREV.br_blockcount; in xfs_bmap_add_extent_delay_real() 1688 LEFT.br_blockcount += new->br_blockcount; in xfs_bmap_add_extent_delay_real() 2087 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount in xfs_bmap_add_extent_unwritten_real() 2102 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2160 LEFT.br_blockcount += PREV.br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2276 LEFT.br_blockcount += new->br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2281 PREV.br_blockcount -= new->br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2772 left.br_blockcount += new->br_blockcount + right.br_blockcount; in xfs_bmap_add_extent_hole_real() [all …]
|
| A D | xfs_exchmaps.c | 174 ip1_delta -= irec1->br_blockcount; in xfs_exchmaps_update_quota() 175 ip2_delta += irec1->br_blockcount; in xfs_exchmaps_update_quota() 179 ip1_delta += irec2->br_blockcount; in xfs_exchmaps_update_quota() 180 ip2_delta -= irec2->br_blockcount; in xfs_exchmaps_update_quota() 241 irec->br_blockcount = min(irec->br_blockcount, in xfs_exchmaps_can_skip_mapping() 342 irec1->br_blockcount = min(irec1->br_blockcount, in xfs_exchmaps_find_mappings() 343 irec2->br_blockcount); in xfs_exchmaps_find_mappings() 738 b1->br_blockcount + b2->br_blockcount <= XFS_MAX_BMBT_EXTLEN) in xmi_can_merge() 756 new_len = l->br_blockcount + m->br_blockcount + r->br_blockcount; in xmi_can_merge_all() 1094 adj.left2.br_blockcount += irec1.br_blockcount; in xfs_exchmaps_estimate() [all …]
|
| A D | xfs_attr_remote.c | 433 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get() 448 lblkno += map[i].br_blockcount; in xfs_attr_rmtval_get() 449 blkcnt -= map[i].br_blockcount; in xfs_attr_rmtval_get() 529 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set_value() 546 lblkno += map.br_blockcount; in xfs_attr_rmtval_set_value() 547 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set_value() 574 XFS_FSB_TO_BB(mp, map->br_blockcount), in xfs_attr_rmtval_stale() 644 attr->xattri_lblkno += map->br_blockcount; in xfs_attr_rmtval_set_blk() 645 attr->xattri_blkcnt -= map->br_blockcount; in xfs_attr_rmtval_set_blk() 687 lblkno += map.br_blockcount; in xfs_attr_rmtval_invalidate() [all …]
|
| A D | xfs_symlink_remote.c | 264 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink_remote_read() 358 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink_write_target() 410 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0, in xfs_symlink_remote_truncate()
|
| A D | xfs_bmap_btree.c | 87 irec->br_blockcount = l1 & xfs_mask64lo(21); in xfs_bmbt_disk_get_all() 127 ASSERT(!(s->br_blockcount & xfs_mask64hi(64-BMBT_BLOCKCOUNT_BITLEN))); in xfs_bmbt_disk_set_all() 136 ((xfs_bmbt_rec_base_t)s->br_blockcount & in xfs_bmbt_disk_set_all()
|
| A D | xfs_iext_tree.c | 58 ASSERT((irec->br_blockcount & ~XFS_IEXT_LENGTH_MASK) == 0); in xfs_iext_set() 62 rec->hi = irec->br_blockcount & XFS_IEXT_LENGTH_MASK; in xfs_iext_set() 77 irec->br_blockcount = rec->hi & XFS_IEXT_LENGTH_MASK; in xfs_iext_get() 990 *end = gotp->br_startoff + gotp->br_blockcount; in xfs_iext_lookup_extent_before()
|
| A D | xfs_types.h | 154 xfs_filblks_t br_blockcount; /* number of blocks */ member
|
| /linux/fs/xfs/ |
| A D | xfs_reflink.c | 192 aglen = irec->br_blockcount; in xfs_reflink_trim_around_shared() 213 irec->br_blockcount = flen; in xfs_reflink_trim_around_shared() 269 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked() 485 cmap->br_blockcount, in xfs_reflink_fill_delalloc() 587 if (!del.br_blockcount) { in xfs_reflink_cancel_cow_blocks() 602 del.br_blockcount); in xfs_reflink_cancel_cow_blocks() 770 data.br_blockcount = min(data.br_blockcount, del.br_blockcount); in xfs_reflink_end_cow_extent() 771 del.br_blockcount = data.br_blockcount; in xfs_reflink_end_cow_extent() 784 -data.br_blockcount); in xfs_reflink_end_cow_extent() 1192 dmap->br_blockcount = min(dmap->br_blockcount, smap.br_blockcount); in xfs_reflink_remap_extent() [all …]
|
| A D | xfs_bmap_util.c | 91 *count += got.br_blockcount; in xfs_bmap_count_leaves() 240 rec->br_startoff += rec->br_blockcount; in xfs_getbmap_next_rec() 243 rec->br_startblock += rec->br_blockcount; in xfs_getbmap_next_rec() 244 rec->br_blockcount = total_end - end; in xfs_getbmap_next_rec() 471 if (!del.br_blockcount || in xfs_bmap_punch_delalloc_range() 1274 ilen = tirec.br_blockcount; in xfs_swap_extent_rmap() 1277 while (tirec.br_blockcount) { in xfs_swap_extent_rmap() 1284 tirec.br_blockcount, &irec, in xfs_swap_extent_rmap() 1295 tirec.br_blockcount, in xfs_swap_extent_rmap() 1296 irec.br_blockcount); in xfs_swap_extent_rmap() [all …]
|
| A D | xfs_iomap.c | 48 (unsigned long long)imap->br_blockcount, in xfs_alert_fsblock_zero() 129 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap() 470 plen = prev.br_blockcount; in xfs_iomap_prealloc_size() 477 plen += got.br_blockcount; in xfs_iomap_prealloc_size() 659 if ((numblks_fsb = imap.br_blockcount) == 0) { in xfs_iomap_write_unwritten() 664 ASSERT(imap.br_blockcount); in xfs_iomap_write_unwritten() 839 end_fsb = imap.br_startoff + imap.br_blockcount; in xfs_direct_write_iomap_begin() 1098 end_fsb = imap.br_startoff + imap.br_blockcount; in xfs_buffered_write_iomap_begin() 1367 if (data_fsb < cow_fsb + cmap.br_blockcount) in xfs_seek_iomap_begin() 1386 imap.br_blockcount = cow_fsb - offset_fsb; in xfs_seek_iomap_begin() [all …]
|
| A D | xfs_bmap_item.c | 264 map->me_len = bi->bi_bmap.br_blockcount; in xfs_bmap_update_log_item() 359 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bmap_defer_add() 382 bi->bi_owner->i_delayed_blks -= bi->bi_bmap.br_blockcount; in xfs_bmap_update_cancel_item() 400 if (!error && bi->bi_bmap.br_blockcount > 0) { in xfs_bmap_update_finish_item() 475 bi->bi_bmap.br_blockcount = map->me_len; in xfs_bui_recover_work() 483 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bui_recover_work()
|
| A D | xfs_aops.c | 327 imap.br_blockcount = 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 D | xfs_attr_inactive.c | 69 blkno += map.br_blockcount; in xfs_attr3_rmt_stale() 70 blkcnt -= map.br_blockcount; in xfs_attr3_rmt_stale()
|
| A D | xfs_dir2_readdir.c | 303 if (map.br_blockcount < geo->fsbcount && in xfs_dir2_leaf_readbuf() 315 next_ra < map.br_startoff + map.br_blockcount) { in xfs_dir2_leaf_readbuf()
|
| /linux/fs/xfs/scrub/ |
| A D | bmap.c | 318 irec->br_blockcount); in xchk_bmap_rt_iextent_xref() 337 len = irec->br_blockcount; in xchk_bmap_iextent_xref() 355 irec->br_blockcount); in xchk_bmap_iextent_xref() 358 irec->br_blockcount); in xchk_bmap_iextent_xref() 367 irec->br_blockcount); in xchk_bmap_iextent_xref() 369 irec->br_blockcount); in xchk_bmap_iextent_xref() 376 irec->br_blockcount); in xchk_bmap_iextent_xref() 378 irec->br_blockcount); in xchk_bmap_iextent_xref() 425 info->prev_rec.br_blockcount) in xchk_bmap_iextent() 513 irec.br_blockcount != iext_irec.br_blockcount || in xchk_bmapbt_rec() [all …]
|
| A D | cow_repair.c | 124 xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_trim_refcount() 126 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_trim_refcount() 221 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_mark_missing_staging_rmap() 276 if (xc->next_bno < xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_find_bad() 280 xc->irec_startbno + xc->irec.br_blockcount - in xrep_cow_find_bad() 302 xc->irec.br_blockcount); in xrep_cow_find_bad() 376 if (got->br_blockcount == 0) in xrep_cow_find_mapping() 412 if (got->br_blockcount == repl->len) { in xrep_cow_replace_mapping() 428 new.br_blockcount -= repl->len; in xrep_cow_replace_mapping() 433 new.br_blockcount = repl->len; in xrep_cow_replace_mapping() [all …]
|
| A D | reap.c | 705 agbno_next = agbno + imap->br_blockcount; in xreap_bmapi_select() 732 imap->br_blockcount = len; in xreap_bmapi_select() 795 agbno_next = agbno + imap->br_blockcount; in xreap_bmapi_binval() 826 off = hmap.br_startoff + hmap.br_blockcount; in xreap_bmapi_binval() 863 imap->br_blockcount = agbno_next - bno; in xreap_bmapi_binval() 902 imap->br_blockcount); in xrep_reap_bmapi_iter() 911 -(int64_t)imap->br_blockcount); in xrep_reap_bmapi_iter() 925 imap->br_blockcount); in xrep_reap_bmapi_iter() 934 if (error || imap->br_blockcount == 0) in xrep_reap_bmapi_iter() 944 -(int64_t)imap->br_blockcount); in xrep_reap_bmapi_iter() [all …]
|
| A D | rtbitmap_repair.c | 86 off = map.br_startoff + map.br_blockcount; in xrep_rtbitmap_data_mappings() 106 map.br_blockcount, in xrep_rtbitmap_data_mappings() 117 off = map.br_startoff + map.br_blockcount; in xrep_rtbitmap_data_mappings()
|
| A D | quota_repair.c | 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() 445 ASSERT(nrec.br_blockcount == irec.br_blockcount); in xrep_quota_data_fork() 483 fsbno < irec.br_startblock + irec.br_blockcount; in xrep_quota_data_fork()
|
| A D | dqiterate.c | 62 cursor->bmap.br_startoff + cursor->bmap.br_blockcount > fileoff) in xchk_dquot_iter_revalidate_bmap() 100 fileoff = cursor->bmap.br_startoff + cursor->bmap.br_blockcount; in xchk_dquot_iter_advance_bmap()
|
| A D | bmap_repair.c | 151 irec.br_blockcount = min_t(xfs_filblks_t, blockcount, in xrep_bmap_from_rmap() 171 irec.br_startblock += irec.br_blockcount; in xrep_bmap_from_rmap() 172 irec.br_startoff += irec.br_blockcount; in xrep_bmap_from_rmap() 173 blockcount -= irec.br_blockcount; in xrep_bmap_from_rmap() 340 next_off = irec.br_startoff + irec.br_blockcount; in xrep_bmap_sort_records()
|
| A D | symlink_repair.c | 126 d, XFS_FSB_TO_BB(sc->mp, mval[n].br_blockcount), in xrep_symlink_salvage_remote() 133 byte_cnt = XFS_FSB_TO_B(sc->mp, mval[n].br_blockcount); in xrep_symlink_salvage_remote()
|
| A D | dir.c | 836 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 844 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 855 got.br_blockcount == args.geo->fsbcount && 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 D | rtbitmap.c | 131 off += map.br_blockcount; in xchk_rtbitmap_check_extents()
|
| A D | attr_repair.c | 900 offset = got.br_startoff + got.br_blockcount) { in xrep_xattr_recover() 912 dabno < got.br_startoff + got.br_blockcount; in xrep_xattr_recover() 921 got.br_blockcount - curr_offset); in xrep_xattr_recover() 990 irec.br_startblock, irec.br_blockcount, in xrep_xattr_fork_remove()
|