Searched refs:dquot (Results 1 – 4 of 4) sorted by relevance
/include/linux/ |
D | dqblk_qtree.h | 18 struct dquot; 23 …void (*mem2disk_dqblk)(void *disk, struct dquot *dquot); /* Convert given entry from in memory for… 24 …void (*disk2mem_dqblk)(struct dquot *dquot, void *disk); /* Convert given entry from disk format t… 25 int (*is_id)(void *disk, struct dquot *dquot); /* Is this structure for given id? */ 42 int qtree_write_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot); 43 int qtree_read_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot); 44 int qtree_delete_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot); 45 int qtree_release_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot);
|
D | quotaops.h | 48 struct dquot *dqget(struct super_block *sb, struct kqid qid); 49 static inline struct dquot *dqgrab(struct dquot *dquot) in dqgrab() argument 52 WARN_ON_ONCE(!atomic_read(&dquot->dq_count)); in dqgrab() 53 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab() 54 atomic_inc(&dquot->dq_count); in dqgrab() 55 return dquot; in dqgrab() 58 static inline bool dquot_is_busy(struct dquot *dquot) in dquot_is_busy() argument 60 if (test_bit(DQ_MOD_B, &dquot->dq_flags)) in dquot_is_busy() 62 if (atomic_read(&dquot->dq_count) > 1) in dquot_is_busy() 67 void dqput(struct dquot *dquot); [all …]
|
D | quota.h | 294 struct dquot { struct 315 int (*read_dqblk)(struct dquot *dquot); /* Read structure for one user */ argument 316 int (*commit_dqblk)(struct dquot *dquot); /* Write structure for one user */ 317 …int (*release_dqblk)(struct dquot *dquot); /* Called when last reference to dquot is being dropped… 323 int (*write_dquot) (struct dquot *); /* Ordinary dquot write */ 324 struct dquot *(*alloc_dquot)(struct super_block *, int); /* Allocate memory for new dquot */ 325 void (*destroy_dquot)(struct dquot *); /* Free memory for dquot */ 326 int (*acquire_dquot) (struct dquot *); /* Quota is going to be created on disk */ 327 int (*release_dquot) (struct dquot *); /* Quota is going to be deleted from disk */ 328 int (*mark_dirty) (struct dquot *); /* Dquot is marked dirty */
|
D | fs.h | 1985 struct dquot **(*get_dquots)(struct inode *);
|