Searched refs:dq_dqb (Results 1 – 4 of 4) sorted by relevance
763 dquot->dq_dqb.dqb_curinodes += number; in dquot_incr_inodes()769 dquot->dq_dqb.dqb_curspace += number; in dquot_incr_space()775 if (dquot->dq_dqb.dqb_curinodes > number) in dquot_decr_inodes()776 dquot->dq_dqb.dqb_curinodes -= number; in dquot_decr_inodes()778 dquot->dq_dqb.dqb_curinodes = 0; in dquot_decr_inodes()779 if (dquot->dq_dqb.dqb_curinodes < dquot->dq_dqb.dqb_isoftlimit) in dquot_decr_inodes()780 dquot->dq_dqb.dqb_itime = (time_t) 0; in dquot_decr_inodes()787 if (dquot->dq_dqb.dqb_curspace > number) in dquot_decr_space()788 dquot->dq_dqb.dqb_curspace -= number; in dquot_decr_space()790 dquot->dq_dqb.dqb_curspace = 0; in dquot_decr_space()[all …]
57 v1_disk2mem_dqblk(&dquot->dq_dqb, &dqblk); in v1_read_dqblk()58 if (dquot->dq_dqb.dqb_bhardlimit == 0 && dquot->dq_dqb.dqb_bsoftlimit == 0 && in v1_read_dqblk()59 dquot->dq_dqb.dqb_ihardlimit == 0 && dquot->dq_dqb.dqb_isoftlimit == 0) in v1_read_dqblk()83 v1_mem2disk_dqblk(&dqblk, &dquot->dq_dqb); in v1_commit_dqblk()
425 mem2diskdqb(&ddquot, &dquot->dq_dqb, dquot->dq_id); in v2_write_dquot()633 memset(&dquot->dq_dqb, 0, sizeof(struct mem_dqblk)); in v2_read_dquot()649 disk2memdqb(&dquot->dq_dqb, &ddquot); in v2_read_dquot()660 if (dquot->dq_flags & DQ_FAKE && !(dquot->dq_dqb.dqb_curinodes | dquot->dq_dqb.dqb_curspace)) in v2_commit_dquot()
225 struct mem_dqblk dq_dqb; /* Diskquota usage */ member