Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_inode_buf.c248 to->di_nblocks = be64_to_cpu(from->di_nblocks); in xfs_inode_from_disk()
299 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_inode_to_disk()
350 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_log_dinode_to_disk()
487 be64_to_cpu(dip->di_nblocks)) in xfs_dinode_verify()
Dxfs_inode_buf.h27 xfs_rfsblock_t di_nblocks; /* # of direct & btree blocks used */ member
Dxfs_bmap_btree.c266 cur->bc_private.b.ip->i_d.di_nblocks++; in xfs_bmbt_alloc_block()
293 ip->i_d.di_nblocks--; in xfs_bmbt_free_block()
Dxfs_log_format.h397 xfs_rfsblock_t di_nblocks; /* # of direct & btree blocks used */ member
Dxfs_inode_fork.c296 XFS_IFORK_NEXTENTS(ip, whichfork) > ip->i_d.di_nblocks) || in xfs_iformat_btree()
Dxfs_bmap.c629 ip->i_d.di_nblocks--; in xfs_bmap_btree_to_extents()
731 ip->i_d.di_nblocks++; in xfs_bmap_extents_to_btree()
907 ip->i_d.di_nblocks = 1; in xfs_bmap_local_to_extents()
3371 ap->ip->i_d.di_nblocks += args->len; in xfs_bmap_btalloc_accounting()
4535 ip->i_d.di_nblocks += len; in xfs_bmapi_remap()
5103 ip->i_d.di_nblocks -= nblks; in xfs_bmap_del_extent_real()
Dxfs_format.h870 __be64 di_nblocks; /* # of direct & btree blocks used */ member
Dxfs_da_btree.c2050 xfs_rfsblock_t nblks = dp->i_d.di_nblocks; in xfs_da_grow_inode_int()
2116 args->total -= dp->i_d.di_nblocks - nblks; in xfs_da_grow_inode_int()
/linux-4.19.296/fs/xfs/scrub/
Dinode.c353 if (be64_to_cpu(dip->di_nblocks) >= in xchk_dinode()
357 if (be64_to_cpu(dip->di_nblocks) >= mp->m_sb.sb_dblocks) in xchk_dinode()
500 if (count + acount != be64_to_cpu(dip->di_nblocks)) in xchk_inode_xref_bmap()
/linux-4.19.296/fs/jfs/
Djfs_dinode.h50 __le64 di_nblocks; /* 8: number of blocks allocated */ member
Djfs_imap.c3085 ip->i_blocks = LBLK2PBLK(ip->i_sb, le64_to_cpu(dip->di_nblocks)); in copy_from_dinode()
3134 dip->di_nblocks = cpu_to_le64(PBLK2LBLK(ip->i_sb, ip->i_blocks)); in copy_to_dinode()
/linux-4.19.296/fs/xfs/
Dxfs_qm.c982 if (qip->i_d.di_nblocks == 0) in xfs_qm_reset_dqcounts_buf()
1168 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks - rtblks; in xfs_qm_dqusage_adjust()
1786 xfs_trans_mod_dquot(tp, prevdq, bfield, -(ip->i_d.di_nblocks)); in xfs_qm_vop_chown()
1790 xfs_trans_mod_dquot(tp, newdq, bfield, ip->i_d.di_nblocks); in xfs_qm_vop_chown()
1866 ip->i_d.di_nblocks, 1, in xfs_qm_vop_chown_reserve()
Dxfs_bmap_util.c161 ap->ip->i_d.di_nblocks += ralen; in xfs_bmap_rtalloc()
1692 tmp = (uint64_t)ip->i_d.di_nblocks; in xfs_swap_extent_forks()
1693 ip->i_d.di_nblocks = tip->i_d.di_nblocks - taforkblks + aforkblks; in xfs_swap_extent_forks()
1694 tip->i_d.di_nblocks = tmp + taforkblks - aforkblks; in xfs_swap_extent_forks()
Dxfs_quotaops.c39 tstate->blocks = ip->i_d.di_nblocks; in xfs_qm_fill_state()
Dxfs_inode_item.c328 to->di_nblocks = from->di_nblocks; in xfs_inode_to_log_dinode()
Dxfs_inode.c838 ASSERT(ip->i_d.di_nblocks == 0); in xfs_ialloc()
2429 ASSERT(ip->i_d.di_nblocks == 0); in xfs_ifree()
3502 ip->i_d.di_nblocks, mp, XFS_ERRTAG_IFLUSH_5)) { in xfs_iflush_int()
3508 ip->i_d.di_nblocks, ip); in xfs_iflush_int()
Dxfs_itable.c113 buf->bs_blocks = dic->di_nblocks + ip->i_delayed_blks; in xfs_bulkstat_one_int()
Dxfs_iops.c524 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
Dxfs_icache.c324 if (ip->i_d.di_nblocks != 0) { in xfs_iget_check_free_state()
Dxfs_log_recover.c3140 if (unlikely(ldip->di_nextents + ldip->di_anextents > ldip->di_nblocks)){ in xlog_recover_inode_pass2()
3149 ldip->di_nblocks); in xlog_recover_inode_pass2()