Searched refs:di_nblocks (Results 1 – 20 of 20) sorted by relevance
| /Linux-v5.4/fs/xfs/libxfs/ |
| D | xfs_inode_buf.c | 246 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()
|
| D | xfs_inode_buf.h | 27 xfs_rfsblock_t di_nblocks; /* # of direct & btree blocks used */ member
|
| D | xfs_bmap_btree.c | 263 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()
|
| D | xfs_log_format.h | 397 xfs_rfsblock_t di_nblocks; /* # of direct & btree blocks used */ member
|
| D | xfs_inode_fork.c | 294 XFS_IFORK_NEXTENTS(ip, whichfork) > ip->i_d.di_nblocks) || in xfs_iformat_btree()
|
| D | xfs_bmap.c | 626 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()
|
| D | xfs_format.h | 866 __be64 di_nblocks; /* # of direct & btree blocks used */ member
|
| D | xfs_da_btree.c | 2068 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/ |
| D | inode.c | 344 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/ |
| D | jfs_dinode.h | 37 __le64 di_nblocks; /* 8: number of blocks allocated */ member
|
| D | jfs_imap.c | 3071 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/ |
| D | xfs_bmap_util.c | 156 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()
|
| D | xfs_qm.c | 978 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()
|
| D | xfs_quotaops.c | 38 tstate->blocks = ip->i_d.di_nblocks; in xfs_qm_fill_state()
|
| D | xfs_inode_item.c | 328 to->di_nblocks = from->di_nblocks; in xfs_inode_to_log_dinode()
|
| D | xfs_itable.c | 133 buf->bs_blocks = dic->di_nblocks + ip->i_delayed_blks; in xfs_bulkstat_one_int()
|
| D | xfs_inode.c | 832 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()
|
| D | xfs_iops.c | 514 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
|
| D | xfs_icache.c | 327 if (ip->i_d.di_nblocks != 0) { in xfs_iget_check_free_state()
|
| D | xfs_log_recover.c | 3064 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()
|