Lines Matching refs:ctx
87 struct ccmp_ctx *ctx;
89 ctx = kmem_zalloc(sizeof (struct ccmp_ctx), KM_SLEEP);
90 if (ctx == NULL)
93 ctx->cc_ic = ic;
94 return (ctx);
100 struct ccmp_ctx *ctx = k->wk_private;
102 if (ctx != NULL)
103 kmem_free(ctx, sizeof (struct ccmp_ctx));
121 struct ccmp_ctx *ctx = k->wk_private;
125 hdrlen = ieee80211_hdrspace(ctx->cc_ic, mp->b_rptr);