Home
last modified time | relevance | path

Searched refs:br_blockcount (Results 1 – 25 of 46) sorted by relevance

12

/fs/xfs/libxfs/
A Dxfs_bmap.c1536 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 Dxfs_exchmaps.c174 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 Dxfs_attr_remote.c433 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 Dxfs_symlink_remote.c266 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 Dxfs_iext_tree.c58 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 Dxfs_bmap_btree.c87 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 Dxfs_types.h158 xfs_filblks_t br_blockcount; /* number of blocks */ member
/fs/xfs/scrub/
A Dbmap.c344 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 Dcow_repair.c131 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 Dreap.c973 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 Dquota_repair.c424 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 Dbmap_repair.c160 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 Ddqiterate.c62 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 Drtbitmap_repair.c439 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 Ddir.c844 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 Dsymlink_repair.c127 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 Dattr_repair.c900 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 Dxfs_reflink.c320 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 Dxfs_iomap.c509 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 Dxfs_bmap_util.c84 *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 Dxfs_zone_alloc.c225 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 Dxfs_bmap_item.c274 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 Dxfs_aops.c409 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 Dxfs_attr_inactive.c69 blkno += map.br_blockcount; in xfs_attr3_rmt_stale()
70 blkcnt -= map.br_blockcount; in xfs_attr3_rmt_stale()
A Dxfs_dir2_readdir.c303 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()

Completed in 62 milliseconds

12