Lines Matching defs:newctxp
249 agpgart_ctx_t *newctxp;
269 newctxp = kmem_zalloc(sizeof (agpgart_ctx_t), KM_SLEEP);
270 newctxp->actx_off = offset;
271 newctxp->actx_sc = softstate;
272 *new_devprivate = newctxp;
282 agpgart_ctx_t *newctxp, *ctxp;
291 newctxp = kmem_zalloc(sizeof (agpgart_ctx_t), KM_SLEEP);
292 newctxp->actx_off = ctxp->actx_off;
293 newctxp->actx_sc = ctxp->actx_sc;
294 softstate = (agpgart_softstate_t *)newctxp->actx_sc;
298 AGP_BYTES2PAGES(newctxp->actx_off));
302 *new_devprivate = newctxp;