Lines Matching defs:dquots

22  *		invalidate_dquots() now writes modified dquots.
33 * Invalidation of referenced dquots is no longer possible
99 * Operation accessing dquots via inode pointers are protected by dquot_srcu.
102 * inode and before dropping dquot references to avoid use of dquots after
106 * inode is a quota file). Functions adding pointers from inode to dquots have
110 * then drops all pointers to dquots from an inode.
112 * Each dquot has its dq_lock mutex. Locked dquots might not be referenced
118 * operations on dquots don't hold dq_lock as they copy data under dq_data_lock
227 * All dquots are placed to the end of inuse_list when first created, and this
230 * Unused dquots (dq_count == 0) are added to the free_dquots list when freed,
233 * dqstats.free_dquots gives the number of dquots on the list. When
360 /* Dirtify all the dquots - this can block when journalling */
507 /* Invalidate all dquots on the list. Note that this function is called after
861 /* all dquots go on the inuse_list */
962 * Remove references to dquots from inode and add dquot to list for freeing
992 * Free list of dquots
1598 struct dquot **dquots = inode->i_dquot;
1612 if (!dquots[cnt])
1614 ret = check_bdq(dquots[cnt], number,
1622 if (!dquots[cnt])
1625 dquot_resv_space(dquots[cnt], number);
1627 dquot_incr_space(dquots[cnt], number);
1634 mark_all_dquot_dirty(dquots);
1650 struct dquot * const *dquots = inode->i_dquot;
1660 if (!dquots[cnt])
1662 ret = check_idq(dquots[cnt], 1, &warn[cnt]);
1668 if (!dquots[cnt])
1670 dquot_incr_inodes(dquots[cnt], 1);
1676 mark_all_dquot_dirty(dquots);
1748 struct dquot **dquots = inode->i_dquot;
1762 if (!dquots[cnt])
1764 wtype = info_bdq_free(dquots[cnt], number);
1766 prepare_warning(&warn[cnt], dquots[cnt], wtype);
1768 dquot_free_reserved_space(dquots[cnt], number);
1770 dquot_decr_space(dquots[cnt], number);
1777 mark_all_dquot_dirty(dquots);
1791 struct dquot * const *dquots = inode->i_dquot;
1803 if (!dquots[cnt])
1805 wtype = info_idq_free(dquots[cnt], 1);
1807 prepare_warning(&warn[cnt], dquots[cnt], wtype);
1808 dquot_decr_inodes(dquots[cnt], 1);
1811 mark_all_dquot_dirty(dquots);
1820 * to original dquots that need to be released are placed there. On failure,
2055 * Now all dquots should be invalidated, all writes done so we