/fs/xfs/libxfs/ |
D | xfs_bmap.c | 120 cur->bc_rec.b.br_startoff = off; in xfs_bmbt_lookup_eq() 134 cur->bc_rec.b.br_startoff = off; in xfs_bmbt_lookup_ge() 304 ASSERT(be64_to_cpu(prevp->br_startoff) < in xfs_check_block() 305 be64_to_cpu(keyp->br_startoff)); in xfs_check_block() 548 ASSERT(mval[i].br_startoff >= bno); in xfs_bmap_validate_ret() 550 ASSERT(mval[i].br_startoff + mval[i].br_blockcount <= in xfs_bmap_validate_ret() 553 ASSERT(mval[i].br_startoff < bno + len); in xfs_bmap_validate_ret() 554 ASSERT(mval[i].br_startoff + mval[i].br_blockcount > in xfs_bmap_validate_ret() 558 mval[i - 1].br_startoff + mval[i - 1].br_blockcount == in xfs_bmap_validate_ret() 559 mval[i].br_startoff); in xfs_bmap_validate_ret() [all …]
|
D | xfs_bmap_btree.c | 105 s->br_startoff = ((xfs_fileoff_t)l0 & in __xfs_bmbt_get_all() 227 xfs_bmbt_set_allf(r, s->br_startoff, s->br_startblock, in xfs_bmbt_set_all() 268 xfs_bmbt_disk_set_allf(r, s->br_startoff, s->br_startblock, in xfs_bmbt_disk_set_all() 571 key->bmbt.br_startoff = in xfs_bmbt_init_key_from_rec() 580 key->bmbt.br_startoff = cpu_to_be64( in xfs_bmbt_init_high_key_from_rec() 606 return (int64_t)be64_to_cpu(key->bmbt.br_startoff) - in xfs_bmbt_key_diff() 607 cur->bc_rec.b.br_startoff; in xfs_bmbt_key_diff() 616 return (int64_t)be64_to_cpu(k1->bmbt.br_startoff) - in xfs_bmbt_diff_two_keys() 617 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_diff_two_keys() 716 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder() [all …]
|
D | xfs_da_btree.c | 2061 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int() 2074 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int() 2075 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int() 2400 if (off != mapp[i].br_startoff) { in xfs_da_map_covers_blocks() 2500 irecs->br_startoff = (xfs_fileoff_t)bno; in xfs_dabuf_map() 2518 (long long)irecs[i].br_startoff, in xfs_dabuf_map()
|
D | xfs_format.h | 1580 xfs_fileoff_t br_startoff; /* starting file offset */ member 1590 __be64 br_startoff; /* starting file offset */ member
|
D | xfs_rmap.c | 2195 bmap->br_startoff, in __xfs_rmap_add() 2278 bmap.br_startoff = 0; in xfs_rmap_alloc_extent() 2302 bmap.br_startoff = 0; in xfs_rmap_free_extent()
|
/fs/xfs/ |
D | xfs_reflink.c | 287 if (!xfs_iext_lookup_extent(ip, ifp, imap->br_startoff, &idx, &got)) in xfs_reflink_reserve_cow() 289 if (!eof && got.br_startoff <= imap->br_startoff) { in xfs_reflink_reserve_cow() 291 xfs_trim_extent(imap, got.br_startoff, got.br_blockcount); in xfs_reflink_reserve_cow() 314 error = xfs_bmapi_reserve_delalloc(ip, XFS_COW_FORK, imap->br_startoff, in xfs_reflink_reserve_cow() 344 return xfs_bmapi_write(NULL, ip, imap->br_startoff, imap->br_blockcount, in xfs_reflink_convert_cow_extent() 370 found && got.br_startoff < end_fsb; in xfs_reflink_convert_cow() 392 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_allocate_cow() 413 got.br_startoff <= offset_fsb) { in xfs_reflink_allocate_cow() 423 xfs_trim_extent(imap, got.br_startoff, got.br_blockcount); in xfs_reflink_allocate_cow() 431 resaligned = xfs_aligned_fsb_count(imap->br_startoff, in xfs_reflink_allocate_cow() [all …]
|
D | xfs_dir2_readdir.c | 288 if (map.br_startoff >= last_da) in xfs_dir2_leaf_readbuf() 293 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff); in xfs_dir2_leaf_readbuf() 296 error = xfs_dir3_data_read(args->trans, dp, map.br_startoff, -1, &bp); in xfs_dir2_leaf_readbuf() 309 *ra_blk = map.br_startoff; in xfs_dir2_leaf_readbuf() 310 next_ra = map.br_startoff + geo->fsbcount; in xfs_dir2_leaf_readbuf() 316 if (map.br_startoff >= last_da) in xfs_dir2_leaf_readbuf() 323 next_ra = roundup((xfs_dablk_t)map.br_startoff, geo->fsbcount); in xfs_dir2_leaf_readbuf() 325 next_ra < map.br_startoff + map.br_blockcount) { in xfs_dir2_leaf_readbuf()
|
D | xfs_iomap.c | 69 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); in xfs_bmbt_to_iomap() 147 (unsigned long long)imap->br_startoff, in xfs_alert_fsblock_zero() 203 imap->br_startoff); in xfs_iomap_write_direct() 418 prev.br_startoff + prev.br_blockcount < offset_fsb) in xfs_iomap_prealloc_size() 561 if (!eof && got.br_startoff <= offset_fsb) { in xfs_file_iomap_begin_delay() 697 map_start_fsb = imap->br_startoff; in xfs_iomap_write_allocate() 805 if ((offset_fsb >= imap->br_startoff) && in xfs_iomap_write_allocate() 806 (offset_fsb < (imap->br_startoff + in xfs_iomap_write_allocate() 817 map_start_fsb = imap->br_startoff + imap->br_blockcount; in xfs_iomap_write_allocate() 1045 end_fsb = imap.br_startoff + imap.br_blockcount; in xfs_file_iomap_begin()
|
D | xfs_bmap_util.c | 215 *eof = endoff >= rec.br_startoff + rec.br_blockcount; in xfs_bmap_eof() 473 next_map->br_startoff = NULLFILEOFF; in xfs_getbmap_adjust_shared() 504 next_map->br_startoff += elen; in xfs_getbmap_adjust_shared() 521 next_map->br_startoff += nlen; in xfs_getbmap_adjust_shared() 729 XFS_FSB_TO_BB(mp, map[i].br_startoff); in xfs_getbmap() 745 map[i].br_startoff < XFS_B_TO_FSB(mp, XFS_ISIZE(ip))) in xfs_getbmap() 1754 error = xfs_bmapi_read(ip, tirec.br_startoff, in xfs_swap_extent_rmap() 1760 ASSERT(tirec.br_startoff == irec.br_startoff); in xfs_swap_extent_rmap() 1799 tirec.br_startoff += rlen; in xfs_swap_extent_rmap()
|
D | xfs_trans_bmap.c | 173 map->me_startoff = bmap->bi_bmap.br_startoff; in xfs_bmap_update_log_item() 207 bmap->bi_bmap.br_startoff, in xfs_bmap_update_finish_item()
|
D | xfs_trans_rmap.c | 190 map->me_startoff = rmap->ri_bmap.br_startoff; in xfs_rmap_update_log_item() 222 rmap->ri_bmap.br_startoff, in xfs_rmap_update_finish_item()
|
D | xfs_dquot.c | 538 xfs_dqid_t firstid = (xfs_dqid_t)map.br_startoff * in xfs_qm_dqtobp() 732 if (got.br_startoff < start) in xfs_dq_get_next_id() 733 got.br_startoff = start; in xfs_dq_get_next_id() 734 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
|
D | xfs_aops.c | 462 return offset >= imap->br_startoff && in xfs_imap_valid() 463 offset < imap->br_startoff + imap->br_blockcount; in xfs_imap_valid() 669 xfs_off_t iomap_offset = XFS_FSB_TO_B(m, imap->br_startoff); in xfs_map_buffer() 1261 mapping_size = imap->br_startoff + imap->br_blockcount - iblock; in xfs_map_trim_size()
|
D | xfs_rtalloc.c | 823 for (bno = map.br_startoff, fsbno = map.br_startblock; in xfs_growfs_rt_alloc() 824 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc() 860 oblocks = map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
|
D | xfs_bmap_item.c | 495 irec.br_startoff = bmap->me_startoff; in xfs_bui_recover()
|
D | xfs_trace.h | 240 __entry->startoff = r->br_startoff; 284 __entry->startoff = r.br_startoff; 1293 __entry->startoff = irec ? irec->br_startoff : 0; 3103 __entry->lblk = irec->br_startoff;
|
D | xfs_qm.c | 1022 firstid = (xfs_dqid_t) map[i].br_startoff * in xfs_qm_dqiterate()
|