Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_dfrag.c283 tmp = (__uint64_t)ip->i_d.di_nblocks; in xfs_swap_extents()
284 ip->i_d.di_nblocks = tip->i_d.di_nblocks - taforkblks + aforkblks; in xfs_swap_extents()
285 tip->i_d.di_nblocks = tmp + taforkblks - aforkblks; in xfs_swap_extents()
Dxfs_dinode.h59 __be64 di_nblocks; /* # of direct & btree blocks used */ member
Dxfs_inode.c324 be64_to_cpu(dip->di_nblocks))) { in xfs_iformat()
331 be64_to_cpu(dip->di_nblocks)); in xfs_iformat()
620 || XFS_IFORK_NEXTENTS(ip, whichfork) > ip->i_d.di_nblocks)) { in xfs_iformat_btree()
668 to->di_nblocks = be64_to_cpu(from->di_nblocks); in xfs_dinode_from_disk()
703 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_dinode_to_disk()
1075 ASSERT(ip->i_d.di_nblocks == 0); in xfs_ialloc()
2148 ASSERT(ip->i_d.di_nblocks == 0); in xfs_ifree()
3101 ip->i_d.di_nblocks, mp, XFS_ERRTAG_IFLUSH_5, in xfs_iflush_int()
3107 ip->i_d.di_nblocks, in xfs_iflush_int()
Dxfs_dir2.c534 nblks = dp->i_d.di_nblocks; in xfs_dir2_grow_inode()
629 args->total -= dp->i_d.di_nblocks - nblks; in xfs_dir2_grow_inode()
Dxfs_itable.c116 buf->bs_blocks = dic->di_nblocks + ip->i_delayed_blks; in xfs_bulkstat_one_iget()
186 buf->bs_blocks = be64_to_cpu(dic->di_nblocks); in xfs_bulkstat_one_dinode()
Dxfs_bmap_btree.c591 cur->bc_private.b.ip->i_d.di_nblocks++; in xfs_bmbt_alloc_block()
618 ip->i_d.di_nblocks--; in xfs_bmbt_free_block()
Dxfs_inode.h143 xfs_drfsbno_t di_nblocks; /* # of direct & btree blocks used */ member
Dxfs_bmap.c2686 ap->ip->i_d.di_nblocks += ralen; in xfs_bmap_rtalloc()
2998 ap->ip->i_d.di_nblocks += args.len; in xfs_bmap_btalloc()
3076 ip->i_d.di_nblocks--; in xfs_bmap_btree_to_extents()
3392 ip->i_d.di_nblocks -= nblks; in xfs_bmap_del_extent()
3533 ip->i_d.di_nblocks++; in xfs_bmap_extents_to_btree()
3676 ip->i_d.di_nblocks = 1; in xfs_bmap_local_to_extents()
Dxfs_da_btree.c1575 nblks = dp->i_d.di_nblocks; in xfs_da_grow_inode()
1654 args->total -= dp->i_d.di_nblocks - nblks; in xfs_da_grow_inode()
Dxfs_log_recover.c2390 if (unlikely(dicp->di_nextents + dicp->di_anextents > dicp->di_nblocks)){ in xlog_recover_do_inode_trans()
2398 dicp->di_nblocks); in xlog_recover_do_inode_trans()
/fs/jfs/
Djfs_dinode.h50 __le64 di_nblocks; /* 8: number of blocks allocated */ member
Djfs_imap.c3106 ip->i_blocks = LBLK2PBLK(ip->i_sb, le64_to_cpu(dip->di_nblocks)); in copy_from_dinode()
3155 dip->di_nblocks = cpu_to_le64(PBLK2LBLK(ip->i_sb, ip->i_blocks)); in copy_to_dinode()
/fs/xfs/quota/
Dxfs_qm.c1530 if (qip->i_d.di_nblocks == 0) in xfs_qm_dqiterate()
1727 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks; in xfs_qm_dqusage_adjust()
1741 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks - rtblks; in xfs_qm_dqusage_adjust()
2541 xfs_trans_mod_dquot(tp, prevdq, bfield, -(ip->i_d.di_nblocks)); in xfs_qm_vop_chown()
2545 xfs_trans_mod_dquot(tp, newdq, bfield, ip->i_d.di_nblocks); in xfs_qm_vop_chown()
2616 delblksudq, delblksgdq, ip->i_d.di_nblocks, 1, in xfs_qm_vop_chown_reserve()
Dxfs_qm_syscalls.c560 out->qs_uquota.qfs_nblks = uip->i_d.di_nblocks; in xfs_qm_scall_getqstat()
566 out->qs_gquota.qfs_nblks = gip->i_d.di_nblocks; in xfs_qm_scall_getqstat()
1333 d->d_bcount += (xfs_qcnt_t)ip->i_d.di_nblocks; in xfs_qm_internalqcheck_dqadjust()
/fs/xfs/linux-2.6/
Dxfs_iops.c565 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()