/linux/fs/xfs/scrub/ |
A D | bmap.c | 161 irec->br_startoff); in xchk_bmap_get_rmap() 193 irec->br_startoff); in xchk_bmap_xref_rmap() 211 irec->br_startoff); in xchk_bmap_xref_rmap() 224 irec->br_startoff); in xchk_bmap_xref_rmap() 229 irec->br_startoff); in xchk_bmap_xref_rmap() 232 irec->br_startoff); in xchk_bmap_xref_rmap() 308 irec->br_startoff); in xchk_bmap_dirattr_extent() 331 irec->br_startoff); in xchk_bmap_iextent() 335 irec->br_startoff); in xchk_bmap_iextent() 428 irec.br_startoff != iext_irec.br_startoff || in xchk_bmapbt_rec() [all …]
|
A D | dir.c | 697 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks() 711 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks() 713 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 720 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 730 got.br_startoff == leaf_lblk && in xchk_directory_blocks() 754 lblk = got.br_startoff; in xchk_directory_blocks() 775 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks() 777 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 784 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
|
A D | quota.c | 197 irec.br_startoff > max_dqid_off || in xchk_quota_data_fork() 198 irec.br_startoff + irec.br_blockcount - 1 > max_dqid_off) { in xchk_quota_data_fork() 200 irec.br_startoff); in xchk_quota_data_fork()
|
/linux/fs/xfs/libxfs/ |
A D | xfs_bmap.c | 1426 ASSERT(PREV.br_startoff <= new->br_startoff); in xfs_bmap_add_extent_delay_real() 1436 if (PREV.br_startoff == new->br_startoff) in xfs_bmap_add_extent_delay_real() 1719 RIGHT.br_startoff = new->br_startoff; in xfs_bmap_add_extent_delay_real() 1977 ASSERT(PREV.br_startoff <= new->br_startoff); in xfs_bmap_add_extent_unwritten_real() 1984 if (PREV.br_startoff == new->br_startoff) in xfs_bmap_add_extent_unwritten_real() 2283 RIGHT.br_startoff = new->br_startoff; in xfs_bmap_add_extent_unwritten_real() 2580 right.br_startoff = new->br_startoff; in xfs_bmap_add_extent_hole_delay() 2763 right.br_startoff = new->br_startoff; in xfs_bmap_add_extent_hole_real() 4838 if (got->br_startoff == del->br_startoff) in xfs_bmap_del_extent_delay() 4941 if (got->br_startoff == del->br_startoff) in xfs_bmap_del_extent_cow() [all …]
|
A D | xfs_bmap_btree.c | 69 irec->br_startoff = (l0 & xfs_mask64lo(64 - BMBT_EXNTFLAG_BITLEN)) >> 9; in xfs_bmbt_disk_get_all() 110 ASSERT(!(s->br_startoff & xfs_mask64hi(64-BMBT_STARTOFF_BITLEN))); in xfs_bmbt_disk_set_all() 116 ((xfs_bmbt_rec_base_t)s->br_startoff << 9) | in xfs_bmbt_disk_set_all() 360 key->bmbt.br_startoff = in xfs_bmbt_init_key_from_rec() 369 key->bmbt.br_startoff = cpu_to_be64( in xfs_bmbt_init_high_key_from_rec() 395 return (int64_t)be64_to_cpu(key->bmbt.br_startoff) - in xfs_bmbt_key_diff() 396 cur->bc_rec.b.br_startoff; in xfs_bmbt_key_diff() 405 uint64_t a = be64_to_cpu(k1->bmbt.br_startoff); in xfs_bmbt_diff_two_keys() 406 uint64_t b = be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_diff_two_keys() 506 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder() [all …]
|
A D | xfs_iext_tree.c | 57 ASSERT((irec->br_startoff & ~XFS_IEXT_STARTOFF_MASK) == 0); in xfs_iext_set() 61 rec->lo = irec->br_startoff & XFS_IEXT_STARTOFF_MASK; in xfs_iext_set() 76 irec->br_startoff = rec->lo & XFS_IEXT_STARTOFF_MASK; in xfs_iext_get() 632 xfs_fileoff_t offset = irec->br_startoff; in xfs_iext_insert() 646 xfs_iext_rec_cmp(cur_rec(cur), irec->br_startoff) != 0); in xfs_iext_insert() 969 gotp->br_startoff <= *end - 1) in xfs_iext_lookup_extent_before() 973 *end = gotp->br_startoff + gotp->br_blockcount; in xfs_iext_lookup_extent_before() 992 if (new->br_startoff != old.br_startoff) { in xfs_iext_update_extent() 993 xfs_iext_update_node(ifp, old.br_startoff, in xfs_iext_update_extent() 994 new->br_startoff, 1, cur->leaf); in xfs_iext_update_extent()
|
A D | xfs_types.h | 170 xfs_fileoff_t br_startoff; /* starting file offset */ member
|
A D | xfs_da_btree.c | 2190 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int() 2203 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int() 2204 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int() 2538 if (off != irecs[i].br_startoff) in xfs_dabuf_map() 2566 i, irecs[i].br_startoff, in xfs_dabuf_map()
|
A D | xfs_rmap.c | 2486 bmap->br_startoff, in __xfs_rmap_add() 2579 bmap.br_startoff = 0; in xfs_rmap_alloc_extent() 2601 bmap.br_startoff = 0; in xfs_rmap_free_extent()
|
A D | xfs_attr.c | 97 return imap.br_startoff == 0 && imap.br_blockcount == 1; in xfs_attr_is_leaf()
|
A D | xfs_format.h | 1640 __be64 br_startoff; /* starting file offset */ member
|
/linux/fs/xfs/ |
A D | xfs_reflink.c | 257 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked() 313 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_find_trim_cow_extent() 324 cmap->br_startoff = offset_fsb + count_fsb; in xfs_find_trim_cow_extent() 325 if (cmap->br_startoff > offset_fsb) { in xfs_find_trim_cow_extent() 326 xfs_trim_extent(imap, imap->br_startoff, in xfs_find_trim_cow_extent() 327 cmap->br_startoff - imap->br_startoff); in xfs_find_trim_cow_extent() 354 xfs_fileoff_t offset_fsb = imap->br_startoff; in xfs_reflink_allocate_cow() 651 *end_fsb = del.br_startoff; in xfs_reflink_end_cow_extent() 684 *end_fsb = del.br_startoff; in xfs_reflink_end_cow_extent() 1046 ASSERT(nimaps == 1 && smap.br_startoff == dmap->br_startoff); in xfs_reflink_remap_extent() [all …]
|
A D | xfs_iomap.c | 46 (unsigned long long)imap->br_startoff, in xfs_alert_fsblock_zero() 79 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); in xfs_bmbt_to_iomap() 400 got.br_startoff + got.br_blockcount != prev.br_startoff || in xfs_iomap_prealloc_size() 709 if (imap->br_startoff > offset_fsb) in imap_spans_range() 769 end_fsb = imap.br_startoff + imap.br_blockcount; in xfs_direct_write_iomap_begin() 938 if (imap.br_startoff <= offset_fsb) { in xfs_buffered_write_iomap_begin() 1063 if (imap.br_startoff <= offset_fsb) { in xfs_buffered_write_iomap_begin() 1218 if (imap.br_startoff <= offset_fsb) in xfs_seek_iomap_begin() 1220 data_fsb = imap.br_startoff; in xfs_seek_iomap_begin() 1234 cow_fsb = cmap.br_startoff; in xfs_seek_iomap_begin() [all …]
|
A 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, 0, &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()
|
A D | xfs_aops.c | 311 cow_fsb = imap.br_startoff; in xfs_map_blocks() 335 imap.br_startoff = end_fsb; /* fake a hole past EOF */ in xfs_map_blocks() 340 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks() 341 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks() 342 imap.br_startoff = offset_fsb; in xfs_map_blocks() 354 cow_fsb < imap.br_startoff + imap.br_blockcount) in xfs_map_blocks() 355 imap.br_blockcount = cow_fsb - imap.br_startoff; in xfs_map_blocks()
|
A D | xfs_bmap_util.c | 324 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one() 340 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one() 384 xfs_fileoff_t end = rec->br_startoff + rec->br_blockcount; in xfs_getbmap_next_rec() 389 rec->br_startoff += rec->br_blockcount; in xfs_getbmap_next_rec() 538 if (got.br_startoff > bno) { in xfs_getbmap() 540 got.br_startoff); in xfs_getbmap() 550 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap() 607 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range() 1409 error = xfs_bmapi_read(ip, tirec.br_startoff, in xfs_swap_extent_rmap() 1415 ASSERT(tirec.br_startoff == irec.br_startoff); in xfs_swap_extent_rmap() [all …]
|
A D | xfs_bmap_item.c | 324 map->me_startoff = bmap->bi_bmap.br_startoff; in xfs_bmap_update_log_item() 378 bmap->bi_bmap.br_startoff, in xfs_bmap_update_finish_item() 526 irec.br_startoff = bmap->me_startoff; in xfs_bui_item_recover()
|
A D | xfs_rmap_item.c | 376 map->me_startoff = rmap->ri_bmap.br_startoff; in xfs_rmap_update_log_item() 427 rmap->ri_bmap.br_startoff, rmap->ri_bmap.br_startblock, in xfs_rmap_update_finish_item()
|
A D | xfs_rtalloc.c | 832 for (bno = map.br_startoff, fsbno = map.br_startblock; in xfs_growfs_rt_alloc() 833 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc() 870 oblocks = map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
|
A D | xfs_pnfs.c | 153 end_fsb = min(end_fsb, imap.br_startoff + in xfs_fs_map_blocks()
|
A D | xfs_dquot.c | 757 if (got.br_startoff < start) in xfs_dq_get_next_id() 758 got.br_startoff = start; in xfs_dq_get_next_id() 759 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
|
A D | xfs_icache.c | 1778 got.br_startoff, got.br_blockcount); in xfs_check_delalloc()
|
A D | xfs_qm.c | 1029 firstid = (xfs_dqid_t) map[i].br_startoff * in xfs_qm_reset_dqcounts_buf()
|
A D | xfs_trace.h | 376 __entry->startoff = r.br_startoff; 1470 __entry->startoff = irec ? irec->br_startoff : 0; 3316 __entry->lblk = irec->br_startoff;
|