Home
last modified time | relevance | path

Searched refs:quota_file (Results 1 – 11 of 11) sorted by relevance

/external/f2fs-tools/fsck/
Dquotaio.c82 static unsigned int quota_write_nomount(struct quota_file *qf, in quota_write_nomount()
96 static unsigned int quota_read_nomount(struct quota_file *qf, long offset, in quota_read_nomount()
121 if (qctx->quota_file[qtype]) { in quota_file_open()
122 h = qctx->quota_file[qtype]; in quota_file_open()
157 qctx->quota_file[qtype] = h; in quota_file_open()
212 if (qctx->quota_file[h->qh_type] == h) in quota_file_close()
213 quota_free_mem(&qctx->quota_file[h->qh_type]); in quota_file_close()
Dquotaio.h71 struct quota_handle *quota_file[MAXQUOTAS]; member
116 struct quota_file { struct
128 struct quota_file qh_qf; argument
129 unsigned int (*read)(struct quota_file *qf, long offset,
131 unsigned int (*write)(struct quota_file *qf, long offset,
Dfsck.h282 struct quota_file;
283 u64 f2fs_quota_size(struct quota_file *);
Dmkquota.c164 ctx->quota_file[qtype] = NULL; in quota_init_context()
Dquotaio_v2.c178 struct quota_file *qf = &h->qh_qf; in v2_init_io()
Dsegment.c138 u64 f2fs_quota_size(struct quota_file *qf) in f2fs_quota_size()
/external/e2fsprogs/lib/support/
Dquotaio.h68 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,
Dquotaio.c138 static unsigned int quota_write_nomount(struct quota_file *qf, in quota_write_nomount()
162 static unsigned int quota_read_nomount(struct quota_file *qf, in quota_read_nomount()
218 if (qctx->quota_file[qtype]) { in quota_file_open()
219 h = qctx->quota_file[qtype]; in quota_file_open()
261 qctx->quota_file[qtype] = h; in quota_file_open()
393 if (qctx->quota_file[h->qh_type] == h) in quota_file_close()
394 ext2fs_free_mem(&qctx->quota_file[h->qh_type]); in quota_file_close()
Dmkquota.c307 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/
Dquota.c127 qh = current_qctx->quota_file[type]; in do_list_quota()
163 qh = current_qctx->quota_file[type]; in do_get_quota()
/external/rust/crates/nix/src/sys/
Dquota.rs243 pub fn quotactl_on<P: ?Sized + NixPath>(which: QuotaType, special: &P, format: QuotaFmt, quota_file in quotactl_on()
244 quota_file.with_nix_path(|path| { in quotactl_on()