Lines Matching refs:ctx
152 quota_ctx_t ctx;
155 err = quota_get_mem(sizeof(struct quota_ctx), &ctx);
161 memset(ctx, 0, sizeof(struct quota_ctx));
162 dict_init(&ctx->linked_inode_dict, DICTCOUNT_T_MAX, dict_uint_cmp);
164 ctx->quota_file[qtype] = NULL;
170 quota_release_context(&ctx);
173 ctx->quota_dict[qtype] = dict;
177 ctx->sbi = sbi;
178 fsck->qctx = ctx;
186 quota_ctx_t ctx;
191 ctx = *qctx;
193 dict = ctx->quota_dict[qtype];
194 ctx->quota_dict[qtype] = 0;
200 dict_free_nodes(&ctx->linked_inode_dict);
202 free(ctx);