Lines Matching refs:gseg
475 static void gru_prefetch_context(void *gseg, void *cb, void *cbe,
480 prefetch_data(gseg + GRU_DS_BASE, length / GRU_CACHE_LINE_BYTES,
495 void *gseg, *cb, *cbe;
499 gseg = grubase + ctxnum * GRU_GSEG_STRIDE;
500 cb = gseg + GRU_CB_BASE;
503 gru_prefetch_context(gseg, cb, cbe, cbrmap, length);
522 memcpy(gseg + GRU_DS_BASE, save, length);
524 memset(gseg + GRU_DS_BASE, 0, length);
530 void *gseg, *cb, *cbe;
534 gseg = grubase + ctxnum * GRU_GSEG_STRIDE;
535 cb = gseg + GRU_CB_BASE;
544 gru_prefetch_context(gseg, cb, cbe, cbrmap, length);
551 memcpy(save, gseg + GRU_DS_BASE, length);
909 "gseg %p, gts %p, gid %d, ctx %d, cbr %d, dsr %d\n",