Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_inode_buf.c246 to->di_nblocks = be64_to_cpu(from->di_nblocks); in xfs_inode_from_disk()
297 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_inode_to_disk()
348 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_log_dinode_to_disk()
485 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.c263 cur->bc_private.b.ip->i_d.di_nblocks++; in xfs_bmbt_alloc_block()
290 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.c294 XFS_IFORK_NEXTENTS(ip, whichfork) > ip->i_d.di_nblocks) || in xfs_iformat_btree()
Dxfs_bmap.c626 ip->i_d.di_nblocks--; in xfs_bmap_btree_to_extents()
728 ip->i_d.di_nblocks++; in xfs_bmap_extents_to_btree()
906 ip->i_d.di_nblocks = 1; in xfs_bmap_local_to_extents()
3368 ap->ip->i_d.di_nblocks += args->len; in xfs_bmap_btalloc_accounting()
4604 ip->i_d.di_nblocks += len; in xfs_bmapi_remap()
5159 ip->i_d.di_nblocks -= nblks; in xfs_bmap_del_extent_real()
Dxfs_format.h866 __be64 di_nblocks; /* # of direct & btree blocks used */ member
Dxfs_da_btree.c2068 xfs_rfsblock_t nblks = dp->i_d.di_nblocks; in xfs_da_grow_inode_int()
2134 args->total -= dp->i_d.di_nblocks - nblks; in xfs_da_grow_inode_int()
/Linux-v5.4/fs/xfs/scrub/
Dinode.c344 if (be64_to_cpu(dip->di_nblocks) >= in xchk_dinode()
348 if (be64_to_cpu(dip->di_nblocks) >= mp->m_sb.sb_dblocks) in xchk_dinode()
491 if (count + acount != be64_to_cpu(dip->di_nblocks)) in xchk_inode_xref_bmap()
/Linux-v5.4/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()
/Linux-v5.4/fs/xfs/
Dxfs_bmap_util.c156 ap->ip->i_d.di_nblocks += ralen; in xfs_bmap_rtalloc()
1629 tmp = (uint64_t)ip->i_d.di_nblocks; in xfs_swap_extent_forks()
1630 ip->i_d.di_nblocks = tip->i_d.di_nblocks - taforkblks + aforkblks; in xfs_swap_extent_forks()
1631 tip->i_d.di_nblocks = tmp + taforkblks - aforkblks; in xfs_swap_extent_forks()
Dxfs_qm.c978 if (qip->i_d.di_nblocks == 0) in xfs_qm_reset_dqcounts_buf()
1160 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks - rtblks; in xfs_qm_dqusage_adjust()
1760 xfs_trans_mod_dquot(tp, prevdq, bfield, -(ip->i_d.di_nblocks)); in xfs_qm_vop_chown()
1764 xfs_trans_mod_dquot(tp, newdq, bfield, ip->i_d.di_nblocks); in xfs_qm_vop_chown()
1841 ip->i_d.di_nblocks, 1, in xfs_qm_vop_chown_reserve()
Dxfs_quotaops.c38 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_itable.c133 buf->bs_blocks = dic->di_nblocks + ip->i_delayed_blks; in xfs_bulkstat_one_int()
Dxfs_inode.c832 ASSERT(ip->i_d.di_nblocks == 0); in xfs_ialloc()
2747 ASSERT(ip->i_d.di_nblocks == 0); in xfs_ifree()
3816 ip->i_d.di_nblocks, mp, XFS_ERRTAG_IFLUSH_5)) { in xfs_iflush_int()
3822 ip->i_d.di_nblocks, ip); in xfs_iflush_int()
Dxfs_iops.c514 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
Dxfs_icache.c327 if (ip->i_d.di_nblocks != 0) { in xfs_iget_check_free_state()
Dxfs_log_recover.c3064 if (unlikely(ldip->di_nextents + ldip->di_anextents > ldip->di_nblocks)){ in xlog_recover_inode_pass2()
3073 ldip->di_nblocks); in xlog_recover_inode_pass2()