/linux-4.19.296/fs/xfs/scrub/ |
D | bmap.c | 133 offset = irec->br_startoff; in xchk_bmap_get_rmap() 168 irec->br_startoff); in xchk_bmap_get_rmap() 200 irec->br_startoff); in xchk_bmap_xref_rmap() 210 if (rmap.rm_offset > irec->br_startoff || in xchk_bmap_xref_rmap() 211 irec->br_startoff + irec->br_blockcount > rmap_end) in xchk_bmap_xref_rmap() 213 info->whichfork, irec->br_startoff); in xchk_bmap_xref_rmap() 218 irec->br_startoff); in xchk_bmap_xref_rmap() 231 irec->br_startoff); in xchk_bmap_xref_rmap() 236 irec->br_startoff); in xchk_bmap_xref_rmap() 239 irec->br_startoff); in xchk_bmap_xref_rmap() [all …]
|
D | dir.c | 670 (got.br_startoff > 0 || in xchk_directory_blocks() 673 got.br_startoff); in xchk_directory_blocks() 678 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks() 692 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks() 694 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 701 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 711 got.br_startoff == leaf_lblk && in xchk_directory_blocks() 735 lblk = got.br_startoff; in xchk_directory_blocks() 756 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks() 758 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() [all …]
|
D | quota.c | 223 irec.br_startoff > max_dqid_off || in xchk_quota_data_fork() 224 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xchk_quota_data_fork() 226 irec.br_startoff); in xchk_quota_data_fork()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_bmap.c | 116 cur->bc_rec.b.br_startoff = 0; in xfs_bmbt_lookup_first() 281 ASSERT(be64_to_cpu(prevp->br_startoff) < in xfs_check_block() 282 be64_to_cpu(keyp->br_startoff)); in xfs_check_block() 502 ASSERT(mval[i].br_startoff >= bno); in xfs_bmap_validate_ret() 504 ASSERT(mval[i].br_startoff + mval[i].br_blockcount <= in xfs_bmap_validate_ret() 507 ASSERT(mval[i].br_startoff < bno + len); in xfs_bmap_validate_ret() 508 ASSERT(mval[i].br_startoff + mval[i].br_blockcount > in xfs_bmap_validate_ret() 512 mval[i - 1].br_startoff + mval[i - 1].br_blockcount == in xfs_bmap_validate_ret() 513 mval[i].br_startoff); in xfs_bmap_validate_ret() 763 kp->br_startoff = cpu_to_be64(xfs_bmbt_disk_get_startoff(arp)); in xfs_bmap_extents_to_btree() [all …]
|
D | xfs_bmap_btree.c | 70 irec->br_startoff = (l0 & xfs_mask64lo(64 - BMBT_EXNTFLAG_BITLEN)) >> 9; in xfs_bmbt_disk_get_all() 111 ASSERT(!(s->br_startoff & xfs_mask64hi(64-BMBT_STARTOFF_BITLEN))); in xfs_bmbt_disk_set_all() 117 ((xfs_bmbt_rec_base_t)s->br_startoff << 9) | in xfs_bmbt_disk_set_all() 361 key->bmbt.br_startoff = in xfs_bmbt_init_key_from_rec() 370 key->bmbt.br_startoff = cpu_to_be64( in xfs_bmbt_init_high_key_from_rec() 396 return (int64_t)be64_to_cpu(key->bmbt.br_startoff) - in xfs_bmbt_key_diff() 397 cur->bc_rec.b.br_startoff; in xfs_bmbt_key_diff() 406 return (int64_t)be64_to_cpu(k1->bmbt.br_startoff) - in xfs_bmbt_diff_two_keys() 407 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_diff_two_keys() 496 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder() [all …]
|
D | xfs_iext_tree.c | 61 ASSERT((irec->br_startoff & ~XFS_IEXT_STARTOFF_MASK) == 0); in xfs_iext_set() 65 rec->lo = irec->br_startoff & XFS_IEXT_STARTOFF_MASK; in xfs_iext_set() 80 irec->br_startoff = rec->lo & XFS_IEXT_STARTOFF_MASK; in xfs_iext_get() 637 xfs_fileoff_t offset = irec->br_startoff; in xfs_iext_insert() 651 xfs_iext_rec_cmp(cur_rec(cur), irec->br_startoff) != 0); in xfs_iext_insert() 974 gotp->br_startoff <= *end - 1) in xfs_iext_lookup_extent_before() 978 *end = gotp->br_startoff + gotp->br_blockcount; in xfs_iext_lookup_extent_before() 997 if (new->br_startoff != old.br_startoff) { in xfs_iext_update_extent() 998 xfs_iext_update_node(ifp, old.br_startoff, in xfs_iext_update_extent() 999 new->br_startoff, 1, cur->leaf); in xfs_iext_update_extent()
|
D | xfs_types.h | 144 xfs_fileoff_t br_startoff; /* starting file offset */ member
|
D | xfs_da_btree.c | 2095 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int() 2108 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int() 2109 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int() 2433 if (off != mapp[i].br_startoff) { in xfs_da_map_covers_blocks() 2533 irecs->br_startoff = (xfs_fileoff_t)bno; in xfs_dabuf_map() 2551 (long long)irecs[i].br_startoff, in xfs_dabuf_map()
|
D | xfs_rmap.c | 2293 bmap->br_startoff, in __xfs_rmap_add() 2378 bmap.br_startoff = 0; in xfs_rmap_alloc_extent() 2400 bmap.br_startoff = 0; in xfs_rmap_free_extent()
|
D | xfs_format.h | 1571 __be64 br_startoff; /* starting file offset */ member
|
/linux-4.19.296/fs/xfs/ |
D | xfs_reflink.c | 271 if (!xfs_iext_lookup_extent(ip, ifp, imap->br_startoff, &icur, &got)) in xfs_reflink_reserve_cow() 273 if (!eof && got.br_startoff <= imap->br_startoff) { in xfs_reflink_reserve_cow() 275 xfs_trim_extent(imap, got.br_startoff, got.br_blockcount); in xfs_reflink_reserve_cow() 298 error = xfs_bmapi_reserve_delalloc(ip, XFS_COW_FORK, imap->br_startoff, in xfs_reflink_reserve_cow() 305 xfs_trim_extent(imap, got.br_startoff, got.br_blockcount); in xfs_reflink_reserve_cow() 327 return xfs_bmapi_write(NULL, ip, imap->br_startoff, imap->br_blockcount, in xfs_reflink_convert_cow_extent() 368 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent() 381 got.br_startoff > offset_fsb) in xfs_find_trim_cow_extent() 386 xfs_trim_extent(imap, got.br_startoff, got.br_blockcount); in xfs_find_trim_cow_extent() 406 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_allocate_cow() [all …]
|
D | xfs_dir2_readdir.c | 274 if (map.br_startoff >= last_da) in xfs_dir2_leaf_readbuf() 279 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff); in xfs_dir2_leaf_readbuf() 282 error = xfs_dir3_data_read(args->trans, dp, map.br_startoff, -1, &bp); in xfs_dir2_leaf_readbuf() 295 *ra_blk = map.br_startoff; in xfs_dir2_leaf_readbuf() 296 next_ra = map.br_startoff + geo->fsbcount; in xfs_dir2_leaf_readbuf() 302 if (map.br_startoff >= last_da) in xfs_dir2_leaf_readbuf() 309 next_ra = roundup((xfs_dablk_t)map.br_startoff, geo->fsbcount); in xfs_dir2_leaf_readbuf() 311 next_ra < map.br_startoff + map.br_blockcount) { in xfs_dir2_leaf_readbuf()
|
D | xfs_aops.c | 349 imap_valid = offset_fsb >= wpc->imap.br_startoff && in xfs_map_blocks() 350 offset_fsb < wpc->imap.br_startoff + wpc->imap.br_blockcount; in xfs_map_blocks() 381 cow_fsb = imap.br_startoff; in xfs_map_blocks() 419 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks() 422 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks() 424 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks() 425 imap.br_startoff = offset_fsb; in xfs_map_blocks() 436 cow_fsb < imap.br_startoff + imap.br_blockcount) in xfs_map_blocks() 437 imap.br_blockcount = cow_fsb - imap.br_startoff; in xfs_map_blocks() 461 imap.br_startoff + imap.br_blockcount <= cow_fsb); in xfs_map_blocks() [all …]
|
D | xfs_iomap.c | 59 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); in xfs_bmbt_to_iomap() 137 (unsigned long long)imap->br_startoff, in xfs_alert_fsblock_zero() 191 imap->br_startoff); in xfs_iomap_write_direct() 399 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size() 542 if (!eof && got.br_startoff <= offset_fsb) { in xfs_file_iomap_begin_delay() 680 map_start_fsb = imap->br_startoff; in xfs_iomap_write_allocate() 783 if ((offset_fsb >= imap->br_startoff) && in xfs_iomap_write_allocate() 784 (offset_fsb < (imap->br_startoff + in xfs_iomap_write_allocate() 795 map_start_fsb = imap->br_startoff + imap->br_blockcount; in xfs_iomap_write_allocate() 1073 end_fsb = imap.br_startoff + imap.br_blockcount; in xfs_file_iomap_begin()
|
D | xfs_bmap_util.c | 205 *eof = endoff >= rec.br_startoff + rec.br_blockcount; in xfs_bmap_eof() 426 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one() 442 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one() 486 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec() 491 rec->br_startoff += rec->br_blockcount; in xfs_getbmap_next_rec() 642 if (got.br_startoff > bno) { in xfs_getbmap() 644 got.br_startoff); in xfs_getbmap() 654 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap() 711 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range() 1575 error = xfs_bmapi_read(ip, tirec.br_startoff, in xfs_swap_extent_rmap() [all …]
|
D | xfs_trans_bmap.c | 158 map->me_startoff = bmap->bi_bmap.br_startoff; in xfs_bmap_update_log_item() 191 bmap->bi_bmap.br_startoff, in xfs_bmap_update_finish_item()
|
D | xfs_trans_rmap.c | 176 map->me_startoff = rmap->ri_bmap.br_startoff; in xfs_rmap_update_log_item() 207 rmap->ri_bmap.br_startoff, in xfs_rmap_update_finish_item()
|
D | xfs_rtalloc.c | 820 for (bno = map.br_startoff, fsbno = map.br_startblock; in xfs_growfs_rt_alloc() 821 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc() 857 oblocks = map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
|
D | xfs_dquot.c | 643 if (got.br_startoff < start) in xfs_dq_get_next_id() 644 got.br_startoff = start; in xfs_dq_get_next_id() 645 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
|
D | xfs_bmap_item.c | 487 irec.br_startoff = bmap->me_startoff; in xfs_bui_recover()
|
D | xfs_trace.h | 235 __entry->startoff = r.br_startoff; 1230 __entry->startoff = irec ? irec->br_startoff : 0; 3031 __entry->lblk = irec->br_startoff;
|
D | xfs_qm.c | 1016 firstid = (xfs_dqid_t) map[i].br_startoff * in xfs_qm_reset_dqcounts_buf()
|