/third_party/e2fsprogs/lib/support/ |
D | quotaio.h | 68 struct quota_handle *quota_file[MAXQUOTAS]; 119 struct quota_handle { struct 153 struct quota_handle *dq_h; /* Handle of quotafile for this dquot */ argument 162 int (*check_file) (struct quota_handle *h, int type, int fmt); 164 int (*init_io) (struct quota_handle *h); 166 int (*new_io) (struct quota_handle *h); 168 int (*end_io) (struct quota_handle *h); 170 int (*write_info) (struct quota_handle *h); 172 struct dquot *(*read_dquot) (struct quota_handle *h, qid_t id); 176 int (*scan_dquots) (struct quota_handle *h, [all …]
|
D | quotaio_v2.c | 21 static int v2_check_file(struct quota_handle *h, int type, int fmt); 22 static int v2_init_io(struct quota_handle *h); 23 static int v2_new_io(struct quota_handle *h); 24 static int v2_write_info(struct quota_handle *h); 25 static struct dquot *v2_read_dquot(struct quota_handle *h, qid_t id); 27 static int v2_scan_dquots(struct quota_handle *h, 31 static int v2_report(struct quota_handle *h, int verbose); 138 static int v2_read_header(struct quota_handle *h, struct v2_disk_dqheader *dqh) in v2_read_header() 150 static int v2_check_file(struct quota_handle *h, int type, int fmt) in v2_check_file() 175 static int v2_init_io(struct quota_handle *h) in v2_init_io() [all …]
|
D | quotaio_tree.c | 56 static inline void mark_quotafile_info_dirty(struct quota_handle *h) in mark_quotafile_info_dirty() 62 static void read_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in read_blk() 75 static int write_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in write_blk() 89 static int get_free_dqblk(struct quota_handle *h) in get_free_dqblk() 120 static void put_free_dqblk(struct quota_handle *h, dqbuf_t buf, in put_free_dqblk() 135 static void remove_free_dqentry(struct quota_handle *h, dqbuf_t buf, in remove_free_dqentry() 169 static void insert_free_dqentry(struct quota_handle *h, dqbuf_t buf, in insert_free_dqentry() 194 static unsigned int find_free_dqentry(struct quota_handle *h, in find_free_dqentry() 252 static int do_insert_tree(struct quota_handle *h, struct dquot *dquot, in do_insert_tree() 305 static void dq_insert_tree(struct quota_handle *h, struct dquot *dquot) in dq_insert_tree() [all …]
|
D | quotaio_tree.h | 33 struct quota_handle; 56 struct dquot *qtree_read_dquot(struct quota_handle *h, qid_t id); 59 int qtree_scan_dquots(struct quota_handle *h,
|
D | mkquota.c | 147 static void write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots() 169 struct quota_handle *h = NULL; in quota_write_inode() 176 retval = ext2fs_get_mem(sizeof(struct quota_handle), &h); in quota_write_inode() 577 static errcode_t quota_read_all_dquots(struct quota_handle *qh, in quota_read_all_dquots() 595 static errcode_t quota_write_all_dquots(struct quota_handle *qh, 617 struct quota_handle *qh; in quota_update_limits() 623 err = ext2fs_get_mem(sizeof(struct quota_handle), &qh); in quota_update_limits() 657 struct quota_handle qh; in quota_compare_and_update()
|
D | quotaio.c | 188 errcode_t quota_file_open(quota_ctx_t qctx, struct quota_handle *h, in quota_file_open() 227 err = ext2fs_get_mem(sizeof(struct quota_handle), &h); in quota_file_open() 309 errcode_t quota_file_create(struct quota_handle *h, ext2_filsys fs, in quota_file_create() 381 errcode_t quota_file_close(quota_ctx_t qctx, struct quota_handle *h) in quota_file_close()
|
/third_party/f2fs-tools/fsck/ |
D | quotaio.h | 71 struct quota_handle *quota_file[MAXQUOTAS]; 123 struct quota_handle { struct 157 struct quota_handle *dq_h; /* Handle of quotafile for this dquot */ argument 166 int (*check_file) (struct quota_handle *h, int type); 168 int (*init_io) (struct quota_handle *h, enum quota_type qtype); 170 int (*new_io) (struct quota_handle *h); 172 int (*end_io) (struct quota_handle *h); 174 int (*write_info) (struct quota_handle *h); 176 struct dquot *(*read_dquot) (struct quota_handle *h, qid_t id); 180 int (*scan_dquots) (struct quota_handle *h, [all …]
|
D | quotaio_v2.c | 22 static int v2_check_file(struct quota_handle *h, int type); 23 static int v2_init_io(struct quota_handle *h, enum quota_type qtype); 24 static int v2_new_io(struct quota_handle *h); 25 static int v2_write_info(struct quota_handle *h); 26 static struct dquot *v2_read_dquot(struct quota_handle *h, qid_t id); 28 static int v2_scan_dquots(struct quota_handle *h, 32 static int v2_report(struct quota_handle *h, int verbose); 139 static int v2_read_header(struct quota_handle *h, struct v2_disk_dqheader *dqh) in v2_read_header() 151 static int v2_check_file(struct quota_handle *h, int type) in v2_check_file() 173 static int v2_init_io(struct quota_handle *h, enum quota_type qtype) in v2_init_io() [all …]
|
D | quotaio_tree.c | 57 static inline void mark_quotafile_info_dirty(struct quota_handle *h) in mark_quotafile_info_dirty() 63 static void read_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in read_blk() 76 static int write_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in write_blk() 90 static int get_free_dqblk(struct quota_handle *h) in get_free_dqblk() 121 static void put_free_dqblk(struct quota_handle *h, dqbuf_t buf, in put_free_dqblk() 136 static void remove_free_dqentry(struct quota_handle *h, dqbuf_t buf, in remove_free_dqentry() 169 static void insert_free_dqentry(struct quota_handle *h, dqbuf_t buf, in insert_free_dqentry() 194 static unsigned int find_free_dqentry(struct quota_handle *h, in find_free_dqentry() 252 static int do_insert_tree(struct quota_handle *h, struct dquot *dquot, in do_insert_tree() 307 static int dq_insert_tree(struct quota_handle *h, struct dquot *dquot) in dq_insert_tree() [all …]
|
D | quotaio_tree.h | 39 struct quota_handle; 62 struct dquot *qtree_read_dquot(struct quota_handle *h, qid_t id); 65 int qtree_scan_dquots(struct quota_handle *h,
|
D | quotaio.c | 105 errcode_t quota_file_open(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_open() 125 err = quota_get_mem(sizeof(struct quota_handle), &h); in quota_file_open() 165 errcode_t quota_file_create(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_create() 196 errcode_t quota_file_close(struct f2fs_sb_info *sbi, struct quota_handle *h, in quota_file_close()
|
D | mkquota.c | 45 static int write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots() 71 struct quota_handle *h = NULL; in quota_write_inode() 78 retval = quota_get_mem(sizeof(struct quota_handle), &h); in quota_write_inode() 368 struct quota_handle qh; in quota_compare_and_update()
|
/third_party/e2fsprogs/debugfs/ |
D | quota.c | 110 struct quota_handle *qh; in do_list_quota() 139 struct quota_handle *qh; in do_get_quota()
|