Lines Matching refs:tregion
37 REGION *rp, tregion;
210 memset(&tregion, 0, sizeof(tregion));
211 tregion.size = (roff_t)size;
212 tregion.segid = segid;
213 if ((ret = __env_sys_attach(env, infop, &tregion)) != 0)
342 memset(&tregion, 0, sizeof(tregion));
350 tregion.size = size;
351 tregion.segid = INVALID_REGION_SEGID;
352 if ((ret = __env_sys_attach(env, infop, &tregion)) != 0)
367 (void)__env_faultmem(env, infop->addr, tregion.size, 1);
389 __env_alloc_init(infop, tregion.size - sizeof(REGENV));
448 rp->size = tregion.size;
449 rp->segid = tregion.segid;
464 if (tregion.segid != INVALID_REGION_SEGID) {
465 ref.size = tregion.size;
466 ref.segid = tregion.segid;
508 infop->rp = &tregion;