Lines Matching refs:dq_dqb
74 struct mem_dqblk *m = &dquot->dq_dqb; in ocfs2_global_disk2memdqb()
99 struct mem_dqblk *m = &dquot->dq_dqb; in ocfs2_global_mem2diskdqb()
510 spacechange = dquot->dq_dqb.dqb_curspace - in __ocfs2_sync_dquot()
512 inodechange = dquot->dq_dqb.dqb_curinodes - in __ocfs2_sync_dquot()
514 olditime = dquot->dq_dqb.dqb_itime; in __ocfs2_sync_dquot()
515 oldbtime = dquot->dq_dqb.dqb_btime; in __ocfs2_sync_dquot()
518 dquot->dq_dqb.dqb_curspace, in __ocfs2_sync_dquot()
520 dquot->dq_dqb.dqb_curinodes, in __ocfs2_sync_dquot()
523 dquot->dq_dqb.dqb_curspace += spacechange; in __ocfs2_sync_dquot()
525 dquot->dq_dqb.dqb_curinodes += inodechange; in __ocfs2_sync_dquot()
527 if (dquot->dq_dqb.dqb_bsoftlimit && in __ocfs2_sync_dquot()
528 dquot->dq_dqb.dqb_curspace > dquot->dq_dqb.dqb_bsoftlimit) { in __ocfs2_sync_dquot()
531 if (dquot->dq_dqb.dqb_btime > 0) in __ocfs2_sync_dquot()
532 dquot->dq_dqb.dqb_btime = in __ocfs2_sync_dquot()
533 min(dquot->dq_dqb.dqb_btime, oldbtime); in __ocfs2_sync_dquot()
535 dquot->dq_dqb.dqb_btime = oldbtime; in __ocfs2_sync_dquot()
538 dquot->dq_dqb.dqb_btime = 0; in __ocfs2_sync_dquot()
542 if (dquot->dq_dqb.dqb_isoftlimit && in __ocfs2_sync_dquot()
543 dquot->dq_dqb.dqb_curinodes > dquot->dq_dqb.dqb_isoftlimit) { in __ocfs2_sync_dquot()
546 if (dquot->dq_dqb.dqb_itime > 0) in __ocfs2_sync_dquot()
547 dquot->dq_dqb.dqb_itime = in __ocfs2_sync_dquot()
548 min(dquot->dq_dqb.dqb_itime, olditime); in __ocfs2_sync_dquot()
550 dquot->dq_dqb.dqb_itime = olditime; in __ocfs2_sync_dquot()
553 dquot->dq_dqb.dqb_itime = 0; in __ocfs2_sync_dquot()
563 OCFS2_DQUOT(dquot)->dq_origspace = dquot->dq_dqb.dqb_curspace; in __ocfs2_sync_dquot()
564 OCFS2_DQUOT(dquot)->dq_originodes = dquot->dq_dqb.dqb_curinodes; in __ocfs2_sync_dquot()
827 OCFS2_DQUOT(dquot)->dq_origspace = dquot->dq_dqb.dqb_curspace; in ocfs2_acquire_dquot()
828 OCFS2_DQUOT(dquot)->dq_originodes = dquot->dq_dqb.dqb_curinodes; in ocfs2_acquire_dquot()