Home
last modified time | relevance | path

Searched refs:di_nblocks (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_inode_item_recover.c167 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_log_dinode_to_disk()
335 if (unlikely(ldip->di_nextents + ldip->di_anextents > ldip->di_nblocks)){ in xlog_recover_inode_commit_pass2()
344 ldip->di_nblocks); in xlog_recover_inode_commit_pass2()
Dxfs_bmap_util.c157 ap->ip->i_d.di_nblocks += ralen; in xfs_bmap_rtalloc()
1480 tmp = (uint64_t)ip->i_d.di_nblocks; in xfs_swap_extent_forks()
1481 ip->i_d.di_nblocks = tip->i_d.di_nblocks - taforkblks + aforkblks; in xfs_swap_extent_forks()
1482 tip->i_d.di_nblocks = tmp + taforkblks - aforkblks; in xfs_swap_extent_forks()
Dxfs_qm.c994 if (qip->i_d.di_nblocks == 0) in xfs_qm_reset_dqcounts_buf()
1176 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks - rtblks; in xfs_qm_dqusage_adjust()
1781 xfs_trans_mod_dquot(tp, prevdq, bfield, -(ip->i_d.di_nblocks)); in xfs_qm_vop_chown()
1785 xfs_trans_mod_dquot(tp, newdq, bfield, ip->i_d.di_nblocks); in xfs_qm_vop_chown()
1861 ip->i_d.di_nblocks, 1, flags | blkflags); in xfs_qm_vop_chown_reserve()
Dxfs_quotaops.c38 tstate->blocks = ip->i_d.di_nblocks; in xfs_qm_fill_state()
Dxfs_inode_item.c346 to->di_nblocks = from->di_nblocks; in xfs_inode_to_log_dinode()
Dxfs_itable.c133 buf->bs_blocks = dic->di_nblocks + ip->i_delayed_blks; in xfs_bulkstat_one_int()
Dxfs_inode.c875 ASSERT(ip->i_d.di_nblocks == 0); in xfs_ialloc()
2694 ASSERT(ip->i_d.di_nblocks == 0); in xfs_ifree()
3490 ip->i_d.di_nblocks, mp, XFS_ERRTAG_IFLUSH_5)) { in xfs_iflush()
3496 ip->i_d.di_nblocks, ip); in xfs_iflush()
Dxfs_icache.c310 if (ip->i_d.di_nblocks != 0) { in xfs_iget_check_free_state()
Dxfs_iops.c559 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_inode_buf.c249 to->di_nblocks = be64_to_cpu(from->di_nblocks); in xfs_inode_from_disk()
327 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_inode_to_disk()
464 be64_to_cpu(dip->di_nblocks)) in xfs_dinode_verify()
Dxfs_inode_buf.h22 xfs_rfsblock_t di_nblocks; /* # of direct & btree blocks used */ member
Dxfs_bmap_btree.c263 cur->bc_ino.ip->i_d.di_nblocks++; in xfs_bmbt_alloc_block()
290 ip->i_d.di_nblocks--; in xfs_bmbt_free_block()
Dxfs_log_format.h400 xfs_rfsblock_t di_nblocks; /* # of direct & btree blocks used */ member
Dxfs_inode_fork.c195 ifp->if_nextents > ip->i_d.di_nblocks) || in xfs_iformat_btree()
Dxfs_bmap.c627 ip->i_d.di_nblocks--; in xfs_bmap_btree_to_extents()
729 ip->i_d.di_nblocks++; in xfs_bmap_extents_to_btree()
911 ip->i_d.di_nblocks = 1; in xfs_bmap_local_to_extents()
3455 ap->ip->i_d.di_nblocks += args->len; in xfs_bmap_btalloc_accounting()
4666 ip->i_d.di_nblocks += len; in xfs_bmapi_remap()
5237 ip->i_d.di_nblocks -= nblks; in xfs_bmap_del_extent_real()
Dxfs_format.h976 __be64 di_nblocks; /* # of direct & btree blocks used */ member
Dxfs_da_btree.c2148 xfs_rfsblock_t nblks = dp->i_d.di_nblocks; in xfs_da_grow_inode_int()
2214 args->total -= dp->i_d.di_nblocks - nblks; in xfs_da_grow_inode_int()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dinode.c359 if (be64_to_cpu(dip->di_nblocks) >= in xchk_dinode()
363 if (be64_to_cpu(dip->di_nblocks) >= mp->m_sb.sb_dblocks) in xchk_dinode()
505 if (count + acount != be64_to_cpu(dip->di_nblocks)) in xchk_inode_xref_bmap()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_dinode.h37 __le64 di_nblocks; /* 8: number of blocks allocated */ member
Djfs_imap.c3071 ip->i_blocks = LBLK2PBLK(ip->i_sb, le64_to_cpu(dip->di_nblocks)); in copy_from_dinode()
3120 dip->di_nblocks = cpu_to_le64(PBLK2LBLK(ip->i_sb, ip->i_blocks)); in copy_to_dinode()