Lines Matching refs:dquot
46 struct dquot *dqget(struct super_block *sb, struct kqid qid);
47 static inline struct dquot *dqgrab(struct dquot *dquot) in dqgrab() argument
50 WARN_ON_ONCE(!atomic_read(&dquot->dq_count)); in dqgrab()
51 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab()
52 atomic_inc(&dquot->dq_count); in dqgrab()
53 return dquot; in dqgrab()
56 static inline bool dquot_is_busy(struct dquot *dquot) in dquot_is_busy() argument
58 if (test_bit(DQ_MOD_B, &dquot->dq_flags)) in dquot_is_busy()
60 if (atomic_read(&dquot->dq_count) > 1) in dquot_is_busy()
65 void dqput(struct dquot *dquot);
67 int (*fn)(struct dquot *dquot, unsigned long priv),
69 struct dquot *dquot_alloc(struct super_block *sb, int type);
70 void dquot_destroy(struct dquot *dquot);
89 int dquot_commit(struct dquot *dquot);
90 int dquot_acquire(struct dquot *dquot);
91 int dquot_release(struct dquot *dquot);
94 int dquot_mark_dquot_dirty(struct dquot *dquot);
118 int __dquot_transfer(struct inode *inode, struct dquot **transfer_to);