Lines Matching refs:qtree_mem_dqinfo
26 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth)
36 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth)
44 static int qtree_dqstr_in_blk(struct qtree_mem_dqinfo *info)
50 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf)
59 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf)
86 static int check_dquot_block_header(struct qtree_mem_dqinfo *info,
109 static int get_free_dqblk(struct qtree_mem_dqinfo *info)
143 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk)
160 static int remove_free_dqentry(struct qtree_mem_dqinfo *info, char *buf,
207 static int insert_free_dqentry(struct qtree_mem_dqinfo *info, char *buf,
241 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk)
253 static uint find_free_dqentry(struct qtree_mem_dqinfo *info,
329 static int do_insert_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot,
390 static inline int dq_insert_tree(struct qtree_mem_dqinfo *info,
408 int qtree_write_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot)
448 static int free_dqentry(struct qtree_mem_dqinfo *info, struct dquot *dquot,
513 static int remove_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot,
566 int qtree_delete_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot)
577 static loff_t find_block_dqentry(struct qtree_mem_dqinfo *info,
615 static loff_t find_tree_dqentry(struct qtree_mem_dqinfo *info,
649 static inline loff_t find_dqentry(struct qtree_mem_dqinfo *info,
655 int qtree_read_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot)
719 int qtree_release_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot)
728 static int find_next_id(struct qtree_mem_dqinfo *info, qid_t *id,
778 int qtree_get_next_id(struct qtree_mem_dqinfo *info, struct kqid *qid)