Lines Matching defs:ctx
40 byteorder_destroy(struct byteorder_ctx *ctx)
42 if (ctx != NULL)
43 (void) free((char *)ctx);
47 byteorder_banner(struct byteorder_ctx *ctx, FILE *filep)
49 if ((! ctx->initialized) || (filep == NULL))
52 if (ctx->Bcvt)
109 checksum(struct byteorder_ctx *ctx, int *b, int size)
113 if (! ctx->initialized)
125 if (!ctx->Bcvt) {
147 * ctx is the context for this package
158 normspcl(struct byteorder_ctx *ctx, struct s_spcl *sp, int *cs,
163 if ((! ctx->initialized) && (sp->c_magic != magic)) {
166 ctx->Bcvt = 1;
168 ctx->initialized = 1;
170 if (checksum(ctx, cs, css))
182 if (ctx->Bcvt) {
232 * if (ctx->Bcvt) {
243 if (ctx->Bcvt) {
255 normdirect(ctx, d)
256 struct byteorder_ctx *ctx;
259 assert(ctx->initialized);
261 if (ctx->Bcvt)
266 normacls(struct byteorder_ctx *ctx, ufs_acl_t *acl, int n)
272 assert(ctx->initialized);
274 if (! ctx->Bcvt)