Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_bmap.c415 cur->bc_rec.b.br_blockcount = len; in xfs_bmbt_lookup_eq()
429 cur->bc_rec.b.br_blockcount = len; in xfs_bmbt_lookup_ge()
608 new->br_startoff + new->br_blockcount) in xfs_bmap_add_extent()
610 new->br_blockcount; in xfs_bmap_add_extent()
648 new->br_startoff + new->br_blockcount > prev.br_startoff) { in xfs_bmap_add_extent()
790 new_endoff = new->br_startoff + new->br_blockcount; in xfs_bmap_add_extent_delay_real()
792 ASSERT(PREV.br_startoff + PREV.br_blockcount >= new_endoff); in xfs_bmap_add_extent_delay_real()
799 PREV.br_startoff + PREV.br_blockcount == new_endoff); in xfs_bmap_add_extent_delay_real()
810 LEFT.br_startoff + LEFT.br_blockcount == new->br_startoff && in xfs_bmap_add_extent_delay_real()
811 LEFT.br_startblock + LEFT.br_blockcount == new->br_startblock && in xfs_bmap_add_extent_delay_real()
[all …]
Dxfs_iomap.c110 (void *)((unsigned long)(imapp->br_blockcount)), in xfs_iomap_map_trace()
141 iomapp->iomap_bsize = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_imap_to_bmap()
384 (unsigned long long)imap->br_blockcount, in xfs_cmn_err_fsblock_zero()
436 ret_imap->br_blockcount + in xfs_iomap_write_direct()
588 start_fsb += imap[n].br_blockcount; in xfs_iomap_eof_want_preallocate()
589 count_fsb -= imap[n].br_blockcount; in xfs_iomap_eof_want_preallocate()
722 count_fsb = map->br_blockcount; in xfs_iomap_write_allocate()
830 imap.br_blockcount))) { in xfs_iomap_write_allocate()
841 count_fsb -= imap.br_blockcount; in xfs_iomap_write_allocate()
842 map_start_fsb = imap.br_startoff + imap.br_blockcount; in xfs_iomap_write_allocate()
[all …]
Dxfs_dir2_leaf.c838 j = MIN((int)map->br_blockcount, i); in xfs_dir2_leaf_getdents()
839 map->br_blockcount -= j; in xfs_dir2_leaf_getdents()
846 if (!map->br_blockcount && --map_valid) in xfs_dir2_leaf_getdents()
895 map[map_valid + nmap - 1].br_blockcount; in xfs_dir2_leaf_getdents()
916 map[i].br_blockcount; in xfs_dir2_leaf_getdents()
935 map->br_blockcount >= mp->m_dirblkfsbs ? in xfs_dir2_leaf_getdents()
962 map[ra_index].br_blockcount >= in xfs_dir2_leaf_getdents()
991 (int)(map[ra_index].br_blockcount - in xfs_dir2_leaf_getdents()
1000 map[ra_index].br_blockcount) { in xfs_dir2_leaf_getdents()
Dxfs_bmap_btree.c131 s->br_blockcount = (xfs_filblks_t)(l1 & xfs_mask64lo(21)); in __xfs_bmbt_get_all()
134 ASSERT(s->br_blockcount != 0); /* saved for DMIG */ in __xfs_bmbt_get_all()
291 s->br_blockcount, s->br_state); in xfs_bmbt_set_all()
354 s->br_blockcount, s->br_state); in xfs_bmbt_disk_set_all()
832 *l2 = irec.br_blockcount; in xfs_bmbt_trace_record()
Dxfs_attr.c2010 blkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get()
2023 lblkno += map[i].br_blockcount; in xfs_attr_rmtval_get()
2103 lblkno += map.br_blockcount; in xfs_attr_rmtval_set()
2104 blkcnt -= map.br_blockcount; in xfs_attr_rmtval_set()
2141 blkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set()
2159 lblkno += map.br_blockcount; in xfs_attr_rmtval_set()
2206 blkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_remove()
2220 valuelen -= map.br_blockcount; in xfs_attr_rmtval_remove()
2222 lblkno += map.br_blockcount; in xfs_attr_rmtval_remove()
Dxfs_dir2.c597 mapp[mapi - 1].br_blockcount; in xfs_dir2_grow_inode()
611 got += mapp[i].br_blockcount; in xfs_dir2_grow_inode()
616 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_dir2_grow_inode()
Dxfs_bmap_btree.h131 xfs_filblks_t br_blockcount; /* number of blocks */ member
Dxfs_da_btree.c1633 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode()
1643 got += mapp[i].br_blockcount; in xfs_da_grow_inode()
1645 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode()
1923 off += mapp[i].br_blockcount; in xfs_da_map_covers_blocks()
1981 map.br_blockcount = 1; in xfs_da_do_buf()
1997 map.br_blockcount = nfsb; in xfs_da_do_buf()
2015 (long long)mapp[i].br_blockcount, in xfs_da_do_buf()
2038 nmapped = (int)XFS_FSB_TO_BB(mp, mapp[i].br_blockcount); in xfs_da_do_buf()
Dxfs_vnodeops.c525 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_readlink_bmap()
877 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0); in xfs_inactive_symlink_rmt()
2508 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_symlink()
2886 allocated_fsb = imapp->br_blockcount; in xfs_alloc_file_space()
2970 ASSERT(imap.br_blockcount >= 1); in xfs_zero_remaining_bytes()
Dxfs_rtalloc.c151 bno < map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
190 oblocks = map.br_startoff + map.br_blockcount; in xfs_growfs_rt_alloc()
Dxfs_attr_leaf.c2956 map.br_blockcount); in xfs_attr_leaf_freextent()
2969 tblkno += map.br_blockcount; in xfs_attr_leaf_freextent()
2970 tblkcnt -= map.br_blockcount; in xfs_attr_leaf_freextent()
/fs/xfs/linux-2.6/
Dxfs_lrw.c521 start_zero_fsb = imap.br_startoff + imap.br_blockcount; in xfs_zero_eof()
534 zero_len = XFS_FSB_TO_B(mp, imap.br_blockcount); in xfs_zero_eof()
544 start_zero_fsb = imap.br_startoff + imap.br_blockcount; in xfs_zero_eof()
/fs/xfs/quota/
Dxfs_qm.c1557 ASSERT(map[i].br_blockcount); in xfs_qm_dqiterate()
1560 lblkno += map[i].br_blockcount; in xfs_qm_dqiterate()
1572 rablkcnt = map[i+1].br_blockcount; in xfs_qm_dqiterate()
1588 map[i].br_blockcount, in xfs_qm_dqiterate()
Dxfs_dquot.c462 ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_dqalloc()
580 ASSERT(map.br_blockcount == 1); in xfs_qm_dqtobp()