Home
last modified time | relevance | path

Searched refs:res_used (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_mount.c1212 long long res_used; in xfs_mod_fdblocks() local
1226 res_used = (long long)(mp->m_resblks - mp->m_resblks_avail); in xfs_mod_fdblocks()
1228 if (res_used > delta) { in xfs_mod_fdblocks()
1231 delta -= res_used; in xfs_mod_fdblocks()
H A Dxfs_trans_dquot.c310 int64_t res_used, in xfs_apply_quota_reservation_deltas()
315 * Subtle math here: If reserved > res_used (the normal case), in xfs_apply_quota_reservation_deltas()
319 * If, however, res_used > reserved, then we have allocated in xfs_apply_quota_reservation_deltas()
325 res->reserved -= abs(reserved - res_used); in xfs_apply_quota_reservation_deltas()
307 xfs_apply_quota_reservation_deltas( struct xfs_dquot_res *res, uint64_t reserved, int64_t res_used, int64_t count_delta) xfs_apply_quota_reservation_deltas() argument
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_mount.c1145 long long res_used; in xfs_mod_freecounter() local
1167 res_used = (long long)(mp->m_resblks - mp->m_resblks_avail); in xfs_mod_freecounter()
1169 if (res_used > delta) { in xfs_mod_freecounter()
1172 delta -= res_used; in xfs_mod_freecounter()
H A Dxfs_trans_dquot.c297 int64_t res_used, in xfs_apply_quota_reservation_deltas()
302 * Subtle math here: If reserved > res_used (the normal case), in xfs_apply_quota_reservation_deltas()
306 * If, however, res_used > reserved, then we have allocated in xfs_apply_quota_reservation_deltas()
312 res->reserved -= abs(reserved - res_used); in xfs_apply_quota_reservation_deltas()
294 xfs_apply_quota_reservation_deltas( struct xfs_dquot_res *res, uint64_t reserved, int64_t res_used, int64_t count_delta) xfs_apply_quota_reservation_deltas() argument
/kernel/linux/linux-5.10/drivers/scsi/
H A Dsg.c125 char res_used; /* 1 -> using reserve buffer, 0 -> not ... */ member
1854 "sg_finish_rem_req: res_used=%d\n", in sg_finish_rem_req()
1855 (int) srp->res_used)); in sg_finish_rem_req()
1864 if (srp->res_used) in sg_finish_rem_req()
2048 srp->res_used = 1; in sg_link_reserve()
2085 srp->res_used = 0; in sg_unlink_reserve()
2572 if (srp->res_used) { in sg_proc_debug_helper()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dsg.c130 char res_used; /* 1 -> using reserve buffer, 0 -> not ... */ member
1840 "sg_finish_rem_req: res_used=%d\n", in sg_finish_rem_req()
1841 (int) srp->res_used)); in sg_finish_rem_req()
1848 if (srp->res_used) in sg_finish_rem_req()
2028 srp->res_used = 1; in sg_link_reserve()
2065 srp->res_used = 0; in sg_unlink_reserve()
2551 if (srp->res_used) { in sg_proc_debug_helper()

Completed in 11 milliseconds