Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/libxfs/
H A Dxfs_metafile.c180 ip->i_nblocks += args->len; in xfs_metafile_resv_alloc_space()
198 ip->i_nblocks -= len; in xfs_metafile_resv_free_space()
282 used += rtg_rmap(rtg)->i_nblocks; in xfs_metafile_resv_init()
286 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()
344 to->di_nblocks = cpu_to_be64(ip->i_nblocks); in xfs_inode_to_disk()
H A Dxfs_inode_util.c318 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()
3283 ap->ip->i_nblocks += ap->length; in xfs_bmap_alloc_account()
4561 ip->i_nblocks += len; in xfs_bmapi_remap()
5158 ip->i_nblocks -= nblks; in xfs_bmap_del_extent_real()
H A Dxfs_da_btree.c2300 xfs_rfsblock_t nblks = dp->i_nblocks; in xfs_da_grow_inode_int()
2357 args->total -= dp->i_nblocks - nblks; in xfs_da_grow_inode_int()
/linux-6.15/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.c1381 new_blocks - sc->ip->i_nblocks; in xrep_inode_set_nblocks()
1383 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.c540 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.h2491 __entry->nblocks = sc->ip->i_nblocks;
/linux-6.15/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_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_inode.c1792 ASSERT(ip->i_nblocks == 0); in xfs_ifree()
2419 ip->i_nblocks, mp, XFS_ERRTAG_IFLUSH_5)) { in xfs_iflush()
2425 ip->i_nblocks, ip); in xfs_iflush()
2989 *dblocks = ip->i_nblocks - *rblocks; in xfs_inode_count_blocks()
H A Dxfs_icache.c124 ip->i_nblocks = 0; in xfs_inode_alloc()
448 if (ip->i_nblocks != 0) { in xfs_iget_check_free_state()
H A Dxfs_inode_item.c583 to->di_nblocks = ip->i_nblocks; in xfs_inode_to_log_dinode()
H A Dxfs_iops.c646 stat->blocks = XFS_FSB_TO_BB(mp, ip->i_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
H A Dxfs_qm.c1242 if (qip->i_nblocks == 0) in xfs_qm_reset_dqcounts_buf()