| /fs/xfs/libxfs/ |
| A D | xfs_bmap.c | 1536 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount in xfs_bmap_add_extent_delay_real() 1553 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount; in xfs_bmap_add_extent_delay_real() 1602 LEFT.br_blockcount += PREV.br_blockcount; in xfs_bmap_add_extent_delay_real() 1707 LEFT.br_blockcount += new->br_blockcount; in xfs_bmap_add_extent_delay_real() 2107 LEFT.br_blockcount + new->br_blockcount + RIGHT.br_blockcount in xfs_bmap_add_extent_unwritten_real() 2123 LEFT.br_blockcount += PREV.br_blockcount + RIGHT.br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2181 LEFT.br_blockcount += PREV.br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2297 LEFT.br_blockcount += new->br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2302 PREV.br_blockcount -= new->br_blockcount; in xfs_bmap_add_extent_unwritten_real() 2655 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() 740 b1->br_blockcount + b2->br_blockcount <= XFS_MAX_BMBT_EXTLEN) in xmi_can_merge() 758 new_len = l->br_blockcount + m->br_blockcount + r->br_blockcount; in xmi_can_merge_all() 1096 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 | 266 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink_remote_read() 360 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink_write_target() 412 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0, in xfs_symlink_remote_truncate()
|
| 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_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_types.h | 158 xfs_filblks_t br_blockcount; /* number of blocks */ member
|
| /fs/xfs/scrub/ |
| A D | bmap.c | 344 irec->br_blockcount); in xchk_bmap_rt_iextent_xref() 363 irec->br_blockcount); in xchk_bmap_rt_iextent_xref() 370 irec->br_blockcount); in xchk_bmap_rt_iextent_xref() 372 irec->br_blockcount); in xchk_bmap_rt_iextent_xref() 418 irec->br_blockcount); in xchk_bmap_iextent_xref() 427 irec->br_blockcount); in xchk_bmap_iextent_xref() 429 irec->br_blockcount); in xchk_bmap_iextent_xref() 436 irec->br_blockcount); in xchk_bmap_iextent_xref() 438 irec->br_blockcount); in xchk_bmap_iextent_xref() 573 irec.br_blockcount != iext_irec.br_blockcount || in xchk_bmapbt_rec() [all …]
|
| A D | cow_repair.c | 131 xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_trim_refcount() 133 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_trim_refcount() 283 xc->irec_startbno + xc->irec.br_blockcount - in xrep_cow_find_bad() 305 xc->irec.br_blockcount); in xrep_cow_find_bad() 367 xc->irec_startbno + xc->irec.br_blockcount - in xrep_cow_find_bad_rt() 390 xc->irec.br_blockcount); in xrep_cow_find_bad_rt() 491 if (got->br_blockcount == 0) in xrep_cow_find_mapping() 527 if (got->br_blockcount == repl->len) { in xrep_cow_replace_mapping() 543 new.br_blockcount -= repl->len; in xrep_cow_replace_mapping() 548 new.br_blockcount = repl->len; in xrep_cow_replace_mapping() [all …]
|
| A D | reap.c | 973 agbno_next = agbno + imap->br_blockcount; in xreap_bmapi_select() 1000 imap->br_blockcount = len; in xreap_bmapi_select() 1063 agbno_next = agbno + imap->br_blockcount; in xreap_bmapi_binval() 1094 off = hmap.br_startoff + hmap.br_blockcount; in xreap_bmapi_binval() 1131 imap->br_blockcount = agbno_next - bno; in xreap_bmapi_binval() 1142 imap->br_blockcount); in xreap_bmapi_binval() 1171 imap->br_blockcount); in xrep_reap_bmapi_iter() 1180 -(int64_t)imap->br_blockcount); in xrep_reap_bmapi_iter() 1194 imap->br_blockcount); in xrep_reap_bmapi_iter() 1203 if (error || imap->br_blockcount == 0) in xrep_reap_bmapi_iter() [all …]
|
| 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 | bmap_repair.c | 160 irec.br_blockcount = min_t(xfs_filblks_t, blockcount, in xrep_bmap_from_rmap() 180 irec.br_startblock += irec.br_blockcount; in xrep_bmap_from_rmap() 181 irec.br_startoff += irec.br_blockcount; in xrep_bmap_from_rmap() 182 blockcount -= irec.br_blockcount; in xrep_bmap_from_rmap() 347 next_off = irec.br_startoff + irec.br_blockcount; in xrep_bmap_sort_records()
|
| 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 | rtbitmap_repair.c | 439 off = map.br_startoff + map.br_blockcount; in xrep_rtbitmap_data_mappings() 459 map.br_blockcount, in xrep_rtbitmap_data_mappings() 470 off = map.br_startoff + map.br_blockcount; in xrep_rtbitmap_data_mappings()
|
| A D | dir.c | 844 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 852 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 863 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks() 909 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 916 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
|
| A D | symlink_repair.c | 127 d, XFS_FSB_TO_BB(sc->mp, mval[n].br_blockcount), in xrep_symlink_salvage_remote() 134 byte_cnt = XFS_FSB_TO_B(sc->mp, mval[n].br_blockcount); in xrep_symlink_salvage_remote()
|
| 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()
|
| /fs/xfs/ |
| A D | xfs_reflink.c | 320 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked() 542 cmap->br_blockcount, in xfs_reflink_fill_delalloc() 645 if (!del.br_blockcount) { in xfs_reflink_cancel_cow_blocks() 663 del.br_blockcount, NULL, in xfs_reflink_cancel_cow_blocks() 843 data.br_blockcount = min(data.br_blockcount, del.br_blockcount); in xfs_reflink_end_cow_extent_locked() 844 del.br_blockcount = data.br_blockcount; in xfs_reflink_end_cow_extent_locked() 875 del.br_blockcount); in xfs_reflink_end_cow_extent_locked() 1388 dmap->br_blockcount = min(dmap->br_blockcount, smap.br_blockcount); in xfs_reflink_remap_extent() 1389 ASSERT(dmap->br_blockcount == smap.br_blockcount); in xfs_reflink_remap_extent() 1472 qdelta -= smap.br_blockcount; in xfs_reflink_remap_extent() [all …]
|
| A D | xfs_iomap.c | 509 plen = prev.br_blockcount; in xfs_iomap_prealloc_size() 516 plen += got.br_blockcount; in xfs_iomap_prealloc_size() 1284 left.br_blockcount + new->br_blockcount <= XFS_MAX_BMBT_EXTLEN) in xfs_bmap_add_extent_hole_delay() 1289 new->br_blockcount + right.br_blockcount <= XFS_MAX_BMBT_EXTLEN && in xfs_bmap_add_extent_hole_delay() 1291 (left.br_blockcount + new->br_blockcount + in xfs_bmap_add_extent_hole_delay() 1305 temp = left.br_blockcount + new->br_blockcount + in xfs_bmap_add_extent_hole_delay() 1306 right.br_blockcount; in xfs_bmap_add_extent_hole_delay() 1314 left.br_blockcount = temp; in xfs_bmap_add_extent_hole_delay() 1327 temp = left.br_blockcount + new->br_blockcount; in xfs_bmap_add_extent_hole_delay() 1346 temp = new->br_blockcount + right.br_blockcount; in xfs_bmap_add_extent_hole_delay() [all …]
|
| A D | xfs_bmap_util.c | 84 *count += got.br_blockcount; in xfs_bmap_count_leaves() 233 rec->br_startoff += rec->br_blockcount; in xfs_getbmap_next_rec() 236 rec->br_startblock += rec->br_blockcount; in xfs_getbmap_next_rec() 237 rec->br_blockcount = total_end - end; in xfs_getbmap_next_rec() 465 if (!del.br_blockcount || in xfs_bmap_punch_delalloc_range() 1288 ilen = tirec.br_blockcount; in xfs_swap_extent_rmap() 1291 while (tirec.br_blockcount) { in xfs_swap_extent_rmap() 1298 tirec.br_blockcount, &irec, in xfs_swap_extent_rmap() 1309 tirec.br_blockcount, in xfs_swap_extent_rmap() 1310 irec.br_blockcount); in xfs_swap_extent_rmap() [all …]
|
| A D | xfs_zone_alloc.c | 225 error = xfs_bmapi_read(ip, new->br_startoff, new->br_blockcount, &data, in xfs_zoned_map_extent() 234 ASSERT(new->br_blockcount >= data.br_blockcount); in xfs_zoned_map_extent() 235 new->br_blockcount = data.br_blockcount; in xfs_zoned_map_extent() 263 data.br_blockcount, NULL, in xfs_zoned_map_extent() 271 xfs_zone_record_blocks(tp, oz, new->br_startblock, new->br_blockcount); in xfs_zoned_map_extent() 279 xfs_zone_skip_blocks(oz, new->br_blockcount); in xfs_zoned_map_extent() 308 new.br_blockcount = end_fsb - new.br_startoff; in xfs_zoned_end_io() 326 new.br_startoff += new.br_blockcount; in xfs_zoned_end_io() 327 new.br_startblock += new.br_blockcount; in xfs_zoned_end_io() 329 old_startblock += new.br_blockcount; in xfs_zoned_end_io()
|
| A D | xfs_bmap_item.c | 274 map->me_len = bi->bi_bmap.br_blockcount; in xfs_bmap_update_log_item() 370 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bmap_defer_add() 384 bi->bi_owner->i_delayed_blks -= bi->bi_bmap.br_blockcount; in xfs_bmap_update_cancel_item() 402 if (!error && bi->bi_bmap.br_blockcount > 0) { in xfs_bmap_update_finish_item() 477 bi->bi_bmap.br_blockcount = map->me_len; in xfs_bui_recover_work() 485 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bui_recover_work()
|
| A D | xfs_aops.c | 409 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks() 422 cow_fsb < imap.br_startoff + imap.br_blockcount) in xfs_map_blocks() 423 imap.br_blockcount = cow_fsb - imap.br_startoff; in xfs_map_blocks() 601 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_zoned_map_blocks() 609 end_fsb = min(end_fsb, imap.br_startoff + imap.br_blockcount); in xfs_zoned_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()
|