/fs/xfs/libxfs/ |
D | xfs_log_rlimit.c | 28 int nblks; in xfs_log_calc_max_attrsetm_res() local 32 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res() 33 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res() 34 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res() 37 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res()
|
D | xfs_attr.c | 291 int nblks; in xfs_attr_calc_size() local 298 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size() 302 nblks *= 2; in xfs_attr_calc_size() 310 nblks += dblocks; in xfs_attr_calc_size() 311 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size() 314 return nblks; in xfs_attr_calc_size()
|
D | xfs_bmap.c | 5015 xfs_filblks_t nblks; /* quota/sb block count */ in xfs_bmap_del_extent_real() local 5072 nblks = len * mp->m_sb.sb_rextsize; in xfs_bmap_del_extent_real() 5076 nblks = del->br_blockcount; in xfs_bmap_del_extent_real() 5240 if (nblks) in xfs_bmap_del_extent_real() 5241 ip->i_nblocks -= nblks; in xfs_bmap_del_extent_real() 5246 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); in xfs_bmap_del_extent_real()
|
D | xfs_da_btree.c | 2160 xfs_rfsblock_t nblks = dp->i_nblocks; in xfs_da_grow_inode_int() local 2226 args->total -= dp->i_nblocks - nblks; in xfs_da_grow_inode_int()
|
/fs/xfs/ |
D | xfs_trans_dquot.c | 622 int64_t nblks, in xfs_trans_dqresv() argument 652 quota_nl = xfs_dqresv_check(blkres, qlim, nblks, &fatal); in xfs_trans_dqresv() 676 blkres->reserved += (xfs_qcnt_t)nblks; in xfs_trans_dqresv() 689 nblks); in xfs_trans_dqresv() 732 int64_t nblks, in xfs_trans_reserve_quota_bydquots() argument 744 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 750 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 756 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 769 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots() 773 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
|
D | xfs_qm.c | 1068 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust() argument 1095 if (nblks) { in xfs_qm_quotacheck_dqadjust() 1096 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust() 1097 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust() 1132 xfs_qcnt_t nblks; in xfs_qm_dqusage_adjust() local 1167 nblks = (xfs_qcnt_t)ip->i_nblocks - rtblks; in xfs_qm_dqusage_adjust() 1182 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks, in xfs_qm_dqusage_adjust() 1189 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks, in xfs_qm_dqusage_adjust() 1196 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_PROJ, nblks, in xfs_qm_dqusage_adjust()
|
D | xfs_quota.h | 142 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots() argument
|
D | xfs_trace.h | 416 __field(int, nblks) 427 __entry->nblks = bp->b_length; 439 __entry->nblks,
|
/fs/jfs/ |
D | jfs_extent.c | 303 s64 nb, nblks, daddr, max; in extBalloc() local 321 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc() 323 nb = nblks = *nblocks; in extBalloc() 334 nb = min(nblks, extRoundDown(nb)); in extBalloc()
|
D | jfs_dmap.c | 452 int nblks, dbitno, wbitno, rbits; in dbUpdatePMap() local 482 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap() 504 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap() 513 for (rbits = nblks; rbits > 0; in dbUpdatePMap()
|
/fs/erofs/ |
D | inode.c | 19 erofs_blk_t blkaddr, nblks = 0; in erofs_read_inode() local 118 nblks = le32_to_cpu(die->i_u.compressed_blocks); in erofs_read_inode() 159 nblks = le32_to_cpu(dic->i_u.compressed_blocks); in erofs_read_inode() 193 if (!nblks) in erofs_read_inode() 197 inode->i_blocks = nblks << (sb->s_blocksize_bits - 9); in erofs_read_inode()
|
/fs/ext4/ |
D | fast_commit.c | 1179 u64 commit_time, int nblks, tid_t commit_tid) in ext4_fc_update_stats() argument 1187 stats->fc_numblks += nblks; in ext4_fc_update_stats() 1202 trace_ext4_fc_commit_stop(sb, nblks, status, commit_tid); in ext4_fc_update_stats() 1215 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit() local 1262 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; in ext4_fc_commit() 1263 ret = jbd2_fc_wait_bufs(journal, nblks); in ext4_fc_commit() 1275 ext4_fc_update_stats(sb, status, commit_time, nblks, commit_tid); in ext4_fc_commit()
|