Searched refs:quota_file (Results 1 – 7 of 7) sorted by relevance
/external/f2fs-tools/fsck/ |
D | quotaio.c | 74 static unsigned int quota_write_nomount(struct quota_file *qf, in quota_write_nomount() 88 static unsigned int quota_read_nomount(struct quota_file *qf, long offset, in quota_read_nomount() 113 if (qctx->quota_file[qtype]) { in quota_file_open() 114 h = qctx->quota_file[qtype]; in quota_file_open() 149 qctx->quota_file[qtype] = h; in quota_file_open() 204 if (qctx->quota_file[h->qh_type] == h) in quota_file_close() 205 quota_free_mem(&qctx->quota_file[h->qh_type]); in quota_file_close()
|
D | quotaio.h | 60 struct quota_handle *quota_file[MAXQUOTAS]; member 105 struct quota_file { struct 117 struct quota_file qh_qf; argument 118 unsigned int (*read)(struct quota_file *qf, long offset, 120 unsigned int (*write)(struct quota_file *qf, long offset,
|
D | mkquota.c | 160 ctx->quota_file[qtype] = NULL; in quota_init_context()
|
/external/e2fsprogs/lib/support/ |
D | quotaio.h | 68 struct quota_handle *quota_file[MAXQUOTAS]; member 112 struct quota_file { struct 124 struct quota_file qh_qf; argument 125 unsigned int (*e2fs_read)(struct quota_file *qf, ext2_loff_t offset, 127 unsigned int (*e2fs_write)(struct quota_file *qf, ext2_loff_t offset,
|
D | quotaio.c | 163 static unsigned int quota_write_nomount(struct quota_file *qf, in quota_write_nomount() 187 static unsigned int quota_read_nomount(struct quota_file *qf, in quota_read_nomount() 243 if (qctx->quota_file[qtype]) { in quota_file_open() 244 h = qctx->quota_file[qtype]; in quota_file_open() 286 qctx->quota_file[qtype] = h; in quota_file_open() 427 if (qctx->quota_file[h->qh_type] == h) in quota_file_close() 428 ext2fs_free_mem(&qctx->quota_file[h->qh_type]); in quota_file_close()
|
D | mkquota.c | 307 ctx->quota_file[qtype] = NULL; in quota_init_context() 349 if (ctx->quota_file[qtype]) { in quota_release_context() 350 err = quota_file_close(ctx, ctx->quota_file[qtype]); in quota_release_context() 354 ext2fs_free_mem(&ctx->quota_file[qtype]); in quota_release_context()
|
/external/e2fsprogs/debugfs/ |
D | quota.c | 127 qh = current_qctx->quota_file[type]; in do_list_quota() 163 qh = current_qctx->quota_file[type]; in do_get_quota()
|