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