Home | History | Annotate | Download | only in linux

Lines Matching refs:dquot

206 #define DQ_MOD_B	0	/* dquot modified since read */
210 #define DQ_READ_B 4 /* dquot was read into memory */
211 #define DQ_ACTIVE_B 5 /* dquot is active (dquot_release not called) */
213 struct dquot {
218 struct mutex dq_lock; /* dquot IO lock */
220 wait_queue_head_t dq_wait_unused; /* Wait queue for dquot to become unused */
223 loff_t dq_off; /* Offset of dquot on disk */
229 #define NODQUOT (struct dquot *)NULL
240 int (*read_dqblk)(struct dquot *dquot); /* Read structure for one user */
241 int (*commit_dqblk)(struct dquot *dquot); /* Write structure for one user */
242 int (*release_dqblk)(struct dquot *dquot); /* Called when last reference to dquot is being dropped */
254 int (*write_dquot) (struct dquot *); /* Ordinary dquot write */
255 int (*acquire_dquot) (struct dquot *); /* Quota is going to be created on disk */
256 int (*release_dquot) (struct dquot *); /* Quota is going to be deleted from disk */
257 int (*mark_dirty) (struct dquot *); /* Dquot is marked dirty */
297 int mark_dquot_dirty(struct dquot *dquot);
299 #define dquot_dirty(dquot) test_bit(DQ_MOD_B, &(dquot)->dq_flags)