/fs/xfs/quota/ |
D | xfs_trans_dquot.c | 175 long delta) in xfs_trans_mod_dquot_byino() argument 191 (void) xfs_trans_mod_dquot(tp, ip->i_udquot, field, delta); in xfs_trans_mod_dquot_byino() 193 (void) xfs_trans_mod_dquot(tp, ip->i_gdquot, field, delta); in xfs_trans_mod_dquot_byino() 227 long delta) in xfs_trans_mod_dquot() argument 251 qtrx->qt_blk_res += (ulong)delta; in xfs_trans_mod_dquot() 258 qtrx->qt_ino_res += (ulong)delta; in xfs_trans_mod_dquot() 265 if (qtrx->qt_blk_res && delta > 0) { in xfs_trans_mod_dquot() 266 qtrx->qt_blk_res_used += (ulong)delta; in xfs_trans_mod_dquot() 269 qtrx->qt_bcount_delta += delta; in xfs_trans_mod_dquot() 273 qtrx->qt_delbcnt_delta += delta; in xfs_trans_mod_dquot() [all …]
|
/fs/xfs/ |
D | xfs_trans.c | 444 int64_t delta) in xfs_trans_mod_sb() argument 451 tp->t_icount_delta += delta; in xfs_trans_mod_sb() 456 tp->t_ifree_delta += delta; in xfs_trans_mod_sb() 466 if (delta < 0) { in xfs_trans_mod_sb() 467 tp->t_blk_res_used += (uint)-delta; in xfs_trans_mod_sb() 470 tp->t_fdblocks_delta += delta; in xfs_trans_mod_sb() 480 ASSERT(delta < 0); in xfs_trans_mod_sb() 481 tp->t_res_fdblocks_delta += delta; in xfs_trans_mod_sb() 491 if (delta < 0) { in xfs_trans_mod_sb() 492 tp->t_rtx_res_used += (uint)-delta; in xfs_trans_mod_sb() [all …]
|
D | xfs_mount.c | 1451 int64_t delta, in xfs_mod_incore_sb_unlocked() argument 1467 lcounter += delta; in xfs_mod_incore_sb_unlocked() 1476 lcounter += delta; in xfs_mod_incore_sb_unlocked() 1488 if (delta > 0) { /* Putting blocks back */ in xfs_mod_incore_sb_unlocked() 1489 if (res_used > delta) { in xfs_mod_incore_sb_unlocked() 1490 mp->m_resblks_avail += delta; in xfs_mod_incore_sb_unlocked() 1492 rem = delta - res_used; in xfs_mod_incore_sb_unlocked() 1498 lcounter += delta; in xfs_mod_incore_sb_unlocked() 1507 lcounter = (long long)mp->m_resblks_avail + delta; in xfs_mod_incore_sb_unlocked() 1523 lcounter += delta; in xfs_mod_incore_sb_unlocked() [all …]
|
D | xfs_bmap.c | 106 xfs_extdelta_t *delta, /* Change made to incore extents */ 124 xfs_extdelta_t *delta, /* Change made to incore extents */ 137 xfs_extdelta_t *delta, /* Change made to incore extents */ 151 xfs_extdelta_t *delta, /* Change made to incore extents */ 165 xfs_extdelta_t *delta); /* Change made to incore extents */ 202 xfs_extdelta_t *delta, /* Change made to incore extents */ 568 xfs_extdelta_t *delta, /* Change made to incore extents */ in xfs_bmap_add_extent() argument 604 if (delta) { in xfs_bmap_add_extent() 605 if (delta->xed_startoff > new->br_startoff) in xfs_bmap_add_extent() 606 delta->xed_startoff = new->br_startoff; in xfs_bmap_add_extent() [all …]
|
D | xfs_bmap.h | 292 xfs_extdelta_t *delta); /* o: change made to incore 327 xfs_extdelta_t *delta, /* o: change made to incore
|
D | xfs_fsops.c | 504 __int64_t lcounter, delta, fdblks_delta; in xfs_reserve_blocks() local 556 delta = request - mp->m_resblks; in xfs_reserve_blocks() 557 lcounter = free - delta; in xfs_reserve_blocks() 564 fdblks_delta = -delta; in xfs_reserve_blocks() 566 mp->m_resblks_avail += delta; in xfs_reserve_blocks()
|
D | xfs_filestream.c | 143 xfs_extlen_t delta, longest, need, free, minfree, maxfree = 0; in _xfs_filestream_pick_ag() local 190 delta = need > pag->pagf_flcount ? need - pag->pagf_flcount : 0; in _xfs_filestream_pick_ag() 191 longest = (pag->pagf_longest > delta) ? in _xfs_filestream_pick_ag() 192 (pag->pagf_longest - delta) : in _xfs_filestream_pick_ag()
|
D | xfs_quota.h | 342 #define XFS_TRANS_MOD_DQUOT_BYINO(mp, tp, ip, field, delta) \ argument 343 XFS_DQTRXOP_VOID(mp, tp, qo_mod_dquot_byino, ip, field, delta)
|
D | xfs_alloc.c | 1887 xfs_extlen_t delta; /* new blocks needed in freelist */ in xfs_alloc_fix_freelist() local 1927 delta = need > pag->pagf_flcount ? need - pag->pagf_flcount : 0; in xfs_alloc_fix_freelist() 1932 longest = (pag->pagf_longest > delta) ? in xfs_alloc_fix_freelist() 1933 (pag->pagf_longest - delta) : in xfs_alloc_fix_freelist() 1970 delta = need > be32_to_cpu(agf->agf_flcount) ? in xfs_alloc_fix_freelist() 1973 longest = (longest > delta) ? (longest - delta) : in xfs_alloc_fix_freelist()
|
D | xfs_rtalloc.c | 1791 int delta, /* change to make to summary info */ in xfs_rtmodify_summary() argument 1839 *sp += delta; in xfs_rtmodify_summary()
|
/fs/ntfs/ |
D | runlist.c | 384 signed delta; in ntfs_rl_replace() local 402 delta = ssize - 1 - left - right; in ntfs_rl_replace() 403 if (delta > 0) { in ntfs_rl_replace() 404 dst = ntfs_rl_realloc(dst, dsize, dsize + delta); in ntfs_rl_replace() 1158 s64 delta, length = rl->length; in ntfs_get_size_for_mapping_pairs() local 1173 delta = first_vcn - rl->vcn; in ntfs_get_size_for_mapping_pairs() 1175 rls += 1 + ntfs_get_nr_significant_bytes(length - delta); in ntfs_get_size_for_mapping_pairs() 1186 prev_lcn += delta; in ntfs_get_size_for_mapping_pairs() 1360 s64 delta, length = rl->length; in ntfs_mapping_pairs_build() local 1375 delta = first_vcn - rl->vcn; in ntfs_mapping_pairs_build() [all …]
|
D | lcnalloc.c | 852 s64 delta, to_free, total_freed, real_freed; in __ntfs_cluster_free() local 897 delta = start_vcn - rl->vcn; in __ntfs_cluster_free() 900 to_free = rl->length - delta; in __ntfs_cluster_free() 906 err = ntfs_bitmap_set_bits_in_run(lcnbmp_vi, rl->lcn + delta, in __ntfs_cluster_free() 1002 delta = __ntfs_cluster_free(ni, start_vcn, total_freed, ctx, true); in __ntfs_cluster_free() 1003 if (delta < 0) { in __ntfs_cluster_free() 1006 "chkdsk.", (int)delta); in __ntfs_cluster_free()
|
/fs/jfs/ |
D | jfs_extent.c | 217 s64 xaddr, xlen, nxaddr, delta, xoff; in extRealloc() local 265 delta = nxlen - xlen; in extRealloc() 286 nextend = delta; in extRealloc() 299 dbFree(ip, xaddr + xlen, delta); in extRealloc() 327 delta = nextend; in extRealloc()
|
D | jfs_types.h | 164 u8 delta; /* Alert Threshold delta (in percent) */ member
|
D | jfs_logmgr.c | 945 int delta; /* additional delta to write normally */ in lmLogSync() local 1001 delta = LOGSYNC_DELTA(logsize); in lmLogSync() 1002 more = min(free / 2, delta); in lmLogSync() 1027 log->nextsync = delta; in lmLogSync()
|
/fs/hugetlbfs/ |
D | inode.c | 902 int hugetlb_get_quota(struct address_space *mapping, long delta) in hugetlb_get_quota() argument 909 if (sbinfo->free_blocks - delta >= 0) in hugetlb_get_quota() 910 sbinfo->free_blocks -= delta; in hugetlb_get_quota() 919 void hugetlb_put_quota(struct address_space *mapping, long delta) in hugetlb_put_quota() argument 925 sbinfo->free_blocks += delta; in hugetlb_put_quota()
|
/fs/nfsd/ |
D | vfs.c | 313 time_t delta = iap->ia_atime.tv_sec - get_seconds(); in nfsd_setattr() local 314 if (delta < 0) in nfsd_setattr() 315 delta = -delta; in nfsd_setattr() 316 if (delta < MAX_TOUCH_TIME_ERROR && in nfsd_setattr()
|
/fs/ocfs2/ |
D | xattr.c | 3724 int delta, middle = count / 2; in ocfs2_xattr_find_divide_pos() local 3732 for (delta = 0; delta < middle; delta++) { in ocfs2_xattr_find_divide_pos() 3734 if (cmp_xe(&entries[middle - delta - 1], in ocfs2_xattr_find_divide_pos() 3735 &entries[middle - delta])) in ocfs2_xattr_find_divide_pos() 3736 return middle - delta; in ocfs2_xattr_find_divide_pos() 3739 if ((middle + delta + 1) == count) in ocfs2_xattr_find_divide_pos() 3743 if (cmp_xe(&entries[middle + delta], in ocfs2_xattr_find_divide_pos() 3744 &entries[middle + delta + 1])) in ocfs2_xattr_find_divide_pos() 3745 return middle + delta + 1; in ocfs2_xattr_find_divide_pos()
|