Home
last modified time | relevance | path

Searched refs:i_nblocks (Results 1 – 22 of 22) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_metafile.c185 ip->i_nblocks += args->len; in xfs_metafile_resv_alloc_space()
203 ip->i_nblocks -= len; in xfs_metafile_resv_free_space()
287 used += rtg_rmap(rtg)->i_nblocks; in xfs_metafile_resv_init()
291 used += rtg_refcount(rtg)->i_nblocks; in xfs_metafile_resv_init()
H A Dxfs_bmap_btree.c260 cur->bc_ino.ip->i_nblocks++; in xfs_bmbt_alloc_block()
289 ip->i_nblocks--; in xfs_bmbt_free_block()
H A Dxfs_inode_buf.c241 ip->i_nblocks = be64_to_cpu(from->di_nblocks); in xfs_inode_from_disk()
348 to->di_nblocks = cpu_to_be64(ip->i_nblocks); in xfs_inode_to_disk()
H A Dxfs_inode_util.c307 ASSERT(ip->i_nblocks == 0); in xfs_inode_init()
H A Dxfs_inode_fork.c205 ifp->if_nextents > ip->i_nblocks) || in xfs_iformat_btree()
H A Dxfs_bmap.c611 ip->i_nblocks--; in xfs_bmap_btree_to_extents()
698 ip->i_nblocks++; in xfs_bmap_extents_to_btree()
871 ip->i_nblocks = 1; in xfs_bmap_local_to_extents()
3275 ap->ip->i_nblocks += ap->length; in xfs_bmap_alloc_account()
4557 ip->i_nblocks += len; in xfs_bmapi_remap()
5154 ip->i_nblocks -= nblks; in xfs_bmap_del_extent_real()
H A Dxfs_da_btree.c2331 xfs_rfsblock_t nblks = dp->i_nblocks; in xfs_da_grow_inode_int()
2388 args->total -= dp->i_nblocks - nblks; in xfs_da_grow_inode_int()
/linux/fs/xfs/scrub/
H A Dtempfile.c281 sc->tempip->i_nblocks); in xrep_tempfile_remove_metadir()
694 req->ip1_bcount = sc->tempip->i_nblocks; in xrep_tempexch_estimate()
710 req->ip2_bcount = sc->ip->i_nblocks; in xrep_tempexch_estimate()
H A Drepair.c1348 new_blocks - sc->ip->i_nblocks; in xrep_inode_set_nblocks()
1350 sc->ip->i_nblocks = new_blocks; in xrep_inode_set_nblocks()
H A Dbmap_repair.c633 sc->ip->i_nblocks = rb->nblocks + delta; in xrep_bmap_reset_counters()
H A Drmap_repair.c537 if (ip->i_nblocks) { in xrep_rmap_scan_meta_btree()
H A Dinode_repair.c1712 sc->ip->i_nblocks = count + acount; in xrep_inode_blockcounts()
H A Dtrace.h2528 __entry->nblocks = sc->ip->i_nblocks;
/linux/fs/xfs/
H A Dxfs_bmap_util.c1422 tmp = (uint64_t)ip->i_nblocks; in xfs_swap_extent_forks()
1423 ip->i_nblocks = tip->i_nblocks - taforkblks + aforkblks; in xfs_swap_extent_forks()
1424 tip->i_nblocks = tmp + taforkblks - aforkblks; in xfs_swap_extent_forks()
H A Dxfs_quotaops.c39 tstate->blocks = ip->i_nblocks; in xfs_qm_fill_state()
H A Dxfs_inode.c1803 ASSERT(ip->i_nblocks == 0); in xfs_ifree()
2429 ip->i_nblocks || XFS_TEST_ERROR(mp, XFS_ERRTAG_IFLUSH_5)) { in xfs_iflush()
2435 ip->i_nblocks, ip); in xfs_iflush()
2998 *dblocks = ip->i_nblocks - *rblocks; in xfs_inode_count_blocks()
H A Dxfs_itable.c188 buf->bs_blocks = ip->i_nblocks + ip->i_delayed_blks; in xfs_bulkstat_one_int()
H A Dxfs_inode.h59 xfs_rfsblock_t i_nblocks; /* # of direct & btree blocks */ member
H A Dxfs_icache.c124 ip->i_nblocks = 0; in xfs_inode_alloc()
436 if (ip->i_nblocks != 0) { in xfs_iget_check_free_state()
H A Dxfs_inode_item.c573 to->di_nblocks = ip->i_nblocks; in xfs_inode_to_log_dinode()
H A Dxfs_iops.c711 stat->blocks = XFS_FSB_TO_BB(mp, ip->i_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
H A Dxfs_qm.c1170 if (qip->i_nblocks == 0) in xfs_qm_reset_dqcounts_buf()